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

/illumos-gate/usr/src/uts/common/sys/
H A Dsha2.h41 #define SHA512_DIGEST_LENGTH 64 /* SHA512 digest length in bytes */ macro
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c383 (digest_len != SHA512_DIGEST_LENGTH))) {
407 uchar_t digest_tmp[SHA512_DIGEST_LENGTH];
526 (digest_len != SHA512_DIGEST_LENGTH))) {
544 uchar_t digest_tmp[SHA512_DIGEST_LENGTH];
594 sha_digest_len = SHA512_DIGEST_LENGTH;
723 sha_digest_len = SHA512_DIGEST_LENGTH;
817 sha_digest_len = SHA512_DIGEST_LENGTH;
937 sha_digest_len = SHA512_DIGEST_LENGTH;
960 uchar_t digested_key[SHA512_DIGEST_LENGTH];
1040 uchar_t digest[SHA512_DIGEST_LENGTH];
[all...]
H A Drsa.c940 uchar_t digest[SHA512_DIGEST_LENGTH];
942 uchar_t der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len];
1029 SHA512_DIGEST_LENGTH);
1030 der_data_len = SHA2_DER_PREFIX_Len + SHA512_DIGEST_LENGTH;
H A Ddprov.c5832 char digest[SHA512_DIGEST_LENGTH];
5836 tmpd.cd_length = SHA512_DIGEST_LENGTH;
5838 tmpd.cd_raw.iov_len = SHA512_DIGEST_LENGTH;
8086 hash_size = SHA512_DIGEST_LENGTH;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSoftCommon.c170 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */
198 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftVerifyUtil.c154 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */
345 CK_BYTE hmac[SHA512_DIGEST_LENGTH];
H A DsoftSignUtil.c152 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */
333 CK_BYTE hmac[SHA512_DIGEST_LENGTH]; /* use the maximum size */
H A DsoftRSA.c977 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space enough for all mechs */
978 CK_ULONG hash_len = SHA512_DIGEST_LENGTH;
980 CK_BYTE der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len];
1093 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space for all mechs */
1094 CK_ULONG hash_len = SHA512_DIGEST_LENGTH;
1095 CK_BYTE der_data[SHA512_DIGEST_LENGTH + SHA2_DER_PREFIX_Len];
H A DsoftMAC.c104 hmac_ctx->hmac_len = SHA512_DIGEST_LENGTH;
150 SHA512_DIGEST_LENGTH)) {
414 CK_ULONG hash_len = SHA512_DIGEST_LENGTH;
H A DsoftKeysUtil.c857 CK_BYTE hash[SHA512_DIGEST_LENGTH]; /* space enough for all mechs */
858 CK_ULONG hash_len = SHA512_DIGEST_LENGTH;
948 hash_size = SHA512_DIGEST_LENGTH;
/illumos-gate/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);
1140 MEMCPY_BCOPY(sha->digest, sha->state, SHA512_DIGEST_LENGTH);
1144 for (i = 0; i < SHA512_DIGEST_LENGTH; i++)
1162 e = d + SHA512_DIGEST_LENGTH;
1173 data->size = SHA512_DIGEST_LENGTH;
1202 MEMCPY_BCOPY(sha->state, sha384_initial_hash_value, SHA512_DIGEST_LENGTH);
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c86 #define DIGEST_LEN SHA512_DIGEST_LENGTH

Completed in 95 milliseconds