On 08/04/2014 05:43 AM, Andrey Askerko wrote:
I want to add  support of local cryptography algorithm into firefox. And I want 
to ask some questions:
1) I must modify only NSS module, or some firefox functions/definitions too?
2) Where I can find some manual, how I can add algorithm into NSS and which 
files I must modify?

regards.  Andrey.
How do you want to use the cryptographic algorithms?

NSS can accept new algorithms through a PKCS #11 module (no need to modify the built-in softoken) dynamically, but we have not put in any features to allow, say, new SSL ciphers without modifying NSS itself. However if you are trying to access the algorithms through the new webcrypto interface, it may be possible to access without modifications. I don't know how the webcrypto interface is implemented in PSM. The big question is how is the webcrypto cipher specification mapped to PKCS #11 mechanism.

For access using CMS/Smime, you simply need to dynamically add a new oid, but since you are talking about firefox, I presume you aren't interested in CMS.

bob

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