Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c383 (digest_len != SHA512_DIGEST_LENGTH))) { in sha2_digest_final_uio()
407 uchar_t digest_tmp[SHA512_DIGEST_LENGTH]; in sha2_digest_final_uio()
526 (digest_len != SHA512_DIGEST_LENGTH))) { in sha2_digest_final_mblk()
544 uchar_t digest_tmp[SHA512_DIGEST_LENGTH]; in sha2_digest_final_mblk()
594 sha_digest_len = SHA512_DIGEST_LENGTH; in sha2_digest()
723 sha_digest_len = SHA512_DIGEST_LENGTH; in sha2_digest_final()
817 sha_digest_len = SHA512_DIGEST_LENGTH; in sha2_digest_atomic()
937 sha_digest_len = SHA512_DIGEST_LENGTH; in sha2_mac_init()
960 uchar_t digested_key[SHA512_DIGEST_LENGTH]; in sha2_mac_init()
1040 uchar_t digest[SHA512_DIGEST_LENGTH]; in sha2_mac_final()
[all …]
H A Drsa.c940 uchar_t digest[SHA512_DIGEST_LENGTH]; in rsa_digest_svrfy_common()
942 uchar_t der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; in rsa_digest_svrfy_common()
1029 SHA512_DIGEST_LENGTH); in rsa_digest_svrfy_common()
1030 der_data_len = SHA2_DER_PREFIX_Len + SHA512_DIGEST_LENGTH; in rsa_digest_svrfy_common()
H A Ddprov.c5832 char digest[SHA512_DIGEST_LENGTH]; in emulate_verify_with_mac()
5836 tmpd.cd_length = SHA512_DIGEST_LENGTH; in emulate_verify_with_mac()
5838 tmpd.cd_raw.iov_len = SHA512_DIGEST_LENGTH; in emulate_verify_with_mac()
8086 hash_size = SHA512_DIGEST_LENGTH; in dprov_key_task()
/titanic_44/usr/src/lib/libsum/common/
H A Dsum-sha2.c173 #define SHA512_DIGEST_LENGTH 64 macro
835 sha2_byte digest[SHA512_DIGEST_LENGTH];
836 sha2_byte digest_sum[SHA512_DIGEST_LENGTH];
1064 MEMCPY_BCOPY(sha->state, sha512_initial_hash_value, SHA512_DIGEST_LENGTH); in sha512_init()
1140 MEMCPY_BCOPY(sha->digest, sha->state, SHA512_DIGEST_LENGTH); in sha512_done()
1144 for (i = 0; i < SHA512_DIGEST_LENGTH; i++) in sha512_done()
1162 e = d + SHA512_DIGEST_LENGTH; in sha512_print()
1173 data->size = SHA512_DIGEST_LENGTH; in sha512_data()
1202 MEMCPY_BCOPY(sha->state, sha384_initial_hash_value, SHA512_DIGEST_LENGTH); in sha384_init()
/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSoftCommon.c170 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */ in do_soft_hmac_sign()
198 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */ in do_soft_hmac_verify()
/titanic_44/usr/src/uts/common/sys/
H A Dsha2.h40 #define SHA512_DIGEST_LENGTH 64 /* SHA512 digest length in bytes */ macro
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftVerifyUtil.c154 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */ in soft_verify()
345 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; in soft_verify_final()
H A DsoftRSA.c977 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space enough for all mechs */ in soft_rsa_digest_sign_common()
978 CK_ULONG hash_len = SHA512_DIGEST_LENGTH; in soft_rsa_digest_sign_common()
980 CK_BYTE der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; in soft_rsa_digest_sign_common()
1093 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space for all mechs */ in soft_rsa_digest_verify_common()
1094 CK_ULONG hash_len = SHA512_DIGEST_LENGTH; in soft_rsa_digest_verify_common()
1095 CK_BYTE der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len]; in soft_rsa_digest_verify_common()
H A DsoftSignUtil.c152 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */ in soft_sign()
333 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */ in soft_sign_final()
H A DsoftMAC.c104 hmac_ctx->hmac_len = SHA512_DIGEST_LENGTH; in soft_hmac_sign_verify_init_common()
150 SHA512_DIGEST_LENGTH)) { in soft_hmac_sign_verify_init_common()
414 CK_ULONG hash_len = SHA512_DIGEST_LENGTH; in mac_init_ctx()
H A DsoftKeysUtil.c857 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space enough for all mechs */ in soft_derivekey()
858 CK_ULONG hash_len = SHA512_DIGEST_LENGTH; in soft_derivekey()
948 hash_size = SHA512_DIGEST_LENGTH; in soft_derivekey()
/titanic_44/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c86 #define DIGEST_LEN SHA512_DIGEST_LENGTH