Lines Matching defs:hash
980 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space enough for all mechs */
1020 rv = soft_digest_final(session_p, hash, &hash_len);
1022 rv = soft_digest(session_p, pData, ulDataLen, hash, &hash_len);
1041 (void) memcpy(der_data + MD5_DER_PREFIX_Len, hash, hash_len);
1048 (void) memcpy(der_data + der_len, hash, hash_len);
1054 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);
1060 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);
1066 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);
1072 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);
1102 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space for all mechs */
1112 rv = soft_digest_final(session_p, hash, &hash_len);
1114 rv = soft_digest(session_p, pData, ulDataLen, hash, &hash_len);
1135 (void) memcpy(der_data + MD5_DER_PREFIX_Len, hash, hash_len);
1142 (void) memcpy(der_data + der_len, hash, hash_len);
1148 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);
1154 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);
1160 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);
1166 (void) memcpy(der_data + SHA2_DER_PREFIX_Len, hash, hash_len);