Searched refs:SHA2_DER_PREFIX_Len (Results 1 - 5 of 5) sorted by relevance
/opensolaris-onvv-gate/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.h | 71 #define SHA2_DER_PREFIX_Len 19 macro 77 extern const CK_BYTE SHA256_DER_PREFIX[SHA2_DER_PREFIX_Len]; 78 extern const CK_BYTE SHA384_DER_PREFIX[SHA2_DER_PREFIX_Len]; 79 extern const CK_BYTE SHA512_DER_PREFIX[SHA2_DER_PREFIX_Len];
|
H A D | rsa_impl.c | 68 const CK_BYTE SHA256_DER_PREFIX[SHA2_DER_PREFIX_Len] = {0x30, 0x31, 0x30, 0x0d, 72 const CK_BYTE SHA384_DER_PREFIX[SHA2_DER_PREFIX_Len] = {0x30, 0x41, 0x30, 0x0d, 76 const CK_BYTE SHA512_DER_PREFIX[SHA2_DER_PREFIX_Len] = {0x30, 0x51, 0x30, 0x0d,
|
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softRSA.c | 988 CK_BYTE der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; 1058 SHA2_DER_PREFIX_Len); 1059 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); 1060 der_data_len = SHA2_DER_PREFIX_Len + hash_len; 1064 SHA2_DER_PREFIX_Len); 1065 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); 1066 der_data_len = SHA2_DER_PREFIX_Len + hash_len; 1070 SHA2_DER_PREFIX_Len); 1071 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); 1072 der_data_len = SHA2_DER_PREFIX_Len [all...] |
/opensolaris-onvv-gate/usr/src/common/crypto/fips/ |
H A D | fips_rsa_util.c | 156 SHA2_DER_PREFIX_Len); 157 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); 158 der_data_len = SHA2_DER_PREFIX_Len + hash_len; 182 SHA2_DER_PREFIX_Len); 183 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); 184 der_data_len = SHA2_DER_PREFIX_Len + hash_len; 208 SHA2_DER_PREFIX_Len); 209 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); 210 der_data_len = SHA2_DER_PREFIX_Len + hash_len; 502 CK_BYTE der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/crypto/io/ |
H A D | rsa.c | 975 uchar_t der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; 1046 bcopy(SHA256_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); 1047 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, 1049 der_data_len = SHA2_DER_PREFIX_Len + SHA256_DIGEST_LENGTH; 1053 bcopy(SHA384_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); 1054 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, 1056 der_data_len = SHA2_DER_PREFIX_Len + SHA384_DIGEST_LENGTH; 1060 bcopy(SHA512_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); 1061 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, 1063 der_data_len = SHA2_DER_PREFIX_Len [all...] |
Completed in 104 milliseconds