diff options
author | nelsonb%netscape.com <devnull@localhost> | 2002-11-16 03:25:01 +0000 |
---|---|---|
committer | nelsonb%netscape.com <devnull@localhost> | 2002-11-16 03:25:01 +0000 |
commit | d36f91db0e583613b4ad50956298029d12d7c6ff (patch) | |
tree | 11d89b8368a9e3f980b649a428f4bd47c8c0f8ad | |
parent | dc62e5367f17abc625aaf23e8637e468a3be3293 (diff) | |
download | nss-hg-d36f91db0e583613b4ad50956298029d12d7c6ff.tar.gz |
Declare new vendor-defined mechanisms for SHA256, SHA384 and SHA512.
-rw-r--r-- | security/nss/lib/softoken/pkcs11n.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/security/nss/lib/softoken/pkcs11n.h b/security/nss/lib/softoken/pkcs11n.h index c2b57acab..5c6624bb5 100644 --- a/security/nss/lib/softoken/pkcs11n.h +++ b/security/nss/lib/softoken/pkcs11n.h @@ -165,6 +165,16 @@ static const char CKT_CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$ $Name$"; #define CKM_TLS_PRF_GENERAL 0x80000373L +/* These new SHAxxx mechanisms will be defined as vendor-defined until +** they are given standard mechanism numbers. +*/ +#define CKM_SHA256 0x80000401L +#define CKM_SHA384 0x80000402L +#define CKM_SHA512 0x80000403L + +#define CKM_SHA256_RSA_PKCS 0x80000411L +#define CKM_SHA384_RSA_PKCS 0x80000412L +#define CKM_SHA512_RSA_PKCS 0x80000413L /* * Netscape-defined return values |