Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c986 CK_ULONG der_len; in soft_rsa_digest_sign_common() local
1042 der_len = get_rsa_sha1_prefix(&(session_p->digest.mech), 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()
1046 der_data_len = der_len + hash_len; in soft_rsa_digest_sign_common()
1099 CK_ULONG der_len; in soft_rsa_digest_verify_common() local
1130 der_len = get_rsa_sha1_prefix(&(session_p->digest.mech), in soft_rsa_digest_verify_common()
1132 (void) memcpy(der_data, der_prefix, der_len); in soft_rsa_digest_verify_common()
1133 (void) memcpy(der_data + der_len, hash, hash_len); in soft_rsa_digest_verify_common()
1134 der_data_len = der_len + hash_len; in soft_rsa_digest_verify_common()