зеркало из https://github.com/mozilla/gecko-dev.git
Declare new vendor-defined mechanisms for SHA256, SHA384 and SHA512.
This commit is contained in:
Родитель
eeb4bc7c50
Коммит
0575c4bc91
|
@ -36,7 +36,7 @@
|
|||
#define _PKCS11N_H_
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CKT_CVS_ID[] = "@(#) $RCSfile: pkcs11n.h,v $ $Revision: 1.4 $ $Date: 2002/04/05 09:17:51 $ $Name: $";
|
||||
static const char CKT_CVS_ID[] = "@(#) $RCSfile: pkcs11n.h,v $ $Revision: 1.5 $ $Date: 2002/11/16 03:25:01 $ $Name: $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*
|
||||
|
@ -165,6 +165,16 @@ static const char CKT_CVS_ID[] = "@(#) $RCSfile: pkcs11n.h,v $ $Revision: 1.4 $
|
|||
|
||||
#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
|
||||
|
|
Загрузка…
Ссылка в новой задаче