Biswatosh wrote:
No, the only place that can access mpi is freebl (not even softoken has access to mpi). That would make any mpi printing routines useless for anything but mpi debugging.So, when you say that I should put one in nss/cmd/lib, can it accessmpi functions from there?
Correct. Just implement SECItem versions. Everything any application would see in NSS are secitems (including things that get turned into mpi values deep inside freebl).Or, is it that I should not attempt any such function where both of these(mpi and SECItems are used)?
If you want mpi versions for freebl debugging, Those should go into freebl/mpi (and probably conditionally compiled).
bob
Or you have any other suggestions? Thanks Biswatosh
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto