Biswatosh wrote:

So, when you say that I should put one in nss/cmd/lib, can it access
mpi functions from there?
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.
Or, is it that I should not attempt any such
function where both of these(mpi and SECItems are used)?
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).

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




Attachment: 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

Reply via email to