Home
last modified time | relevance | path

Searched refs:der_data (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c980 CK_BYTE der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; in soft_rsa_digest_sign_common() local
1037 (void) memcpy(der_data, MD5_DER_PREFIX, MD5_DER_PREFIX_Len); in soft_rsa_digest_sign_common()
1038 (void) memcpy(der_data + MD5_DER_PREFIX_Len, hash, hash_len); in soft_rsa_digest_sign_common()
1044 (void) memcpy(der_data, der_prefix, der_len); in soft_rsa_digest_sign_common()
1045 (void) memcpy(der_data + der_len, hash, hash_len); in soft_rsa_digest_sign_common()
1049 (void) memcpy(der_data, SHA256_DER_PREFIX, in soft_rsa_digest_sign_common()
1051 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); in soft_rsa_digest_sign_common()
1055 (void) memcpy(der_data, SHA384_DER_PREFIX, in soft_rsa_digest_sign_common()
1057 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len); in soft_rsa_digest_sign_common()
1061 (void) memcpy(der_data, SHA512_DER_PREFIX, in soft_rsa_digest_sign_common()
[all …]
/titanic_41/usr/src/uts/common/crypto/io/
H A Drsa.c942 uchar_t der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; in rsa_digest_svrfy_common() local
1000 bcopy(MD5_DER_PREFIX, der_data, MD5_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1001 bcopy(digest, der_data + MD5_DER_PREFIX_Len, MD5_DIGEST_SIZE); in rsa_digest_svrfy_common()
1006 bcopy(SHA1_DER_PREFIX, der_data, SHA1_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1007 bcopy(digest, der_data + SHA1_DER_PREFIX_Len, in rsa_digest_svrfy_common()
1013 bcopy(SHA256_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1014 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, in rsa_digest_svrfy_common()
1020 bcopy(SHA384_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1021 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, in rsa_digest_svrfy_common()
1027 bcopy(SHA512_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); in rsa_digest_svrfy_common()
[all …]
/titanic_41/usr/src/lib/libelfsign/common/
H A Delfcertlib.c503 uchar_t der_data[sizeof (MD5_DER_PREFIX) + MD5_DIGEST_LENGTH]; in elfcertlib_sign() local
518 MD5Final(&der_data[sizeof (MD5_DER_PREFIX)], &ctx); in elfcertlib_sign()
523 (void) memcpy(der_data, MD5_DER_PREFIX, in elfcertlib_sign()
528 tobesigned.Data = (uchar_t *)der_data; in elfcertlib_sign()