Searched refs:SHA1_HASH_SIZE (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.h42 #define SHA1_HASH_SIZE 20 macro
/illumos-gate/usr/src/common/crypto/sha1/
H A Dsha1_impl.h35 #define SHA1_HASH_SIZE 20 /* SHA_1 digest length in bytes */ macro
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c112 uchar_t sha1_digest[SHA1_HASH_SIZE];
126 MD5Update(&md5_ctx, sha1_digest, SHA1_HASH_SIZE);
147 uchar_t sha1_digested_key[SHA1_HASH_SIZE];
180 L_S2 = SHA1_HASH_SIZE;
300 uchar_t sha1_hmac[SHA1_HASH_SIZE];
301 uchar_t A[SHA1_HASH_SIZE];
339 SOFT_MAC_UPDATE(SHA1, &sha1_hmac_ctx, A, SHA1_HASH_SIZE);
344 if (left > SHA1_HASH_SIZE) {
347 for (i = 0; i < SHA1_HASH_SIZE; i++) {
352 res += SHA1_HASH_SIZE;
[all...]
H A DsoftDSA.c225 CK_BYTE hash[SHA1_HASH_SIZE]; /* space enough for SHA1 and MD5 */
226 CK_ULONG hash_len = SHA1_HASH_SIZE;
370 CK_BYTE hash[SHA1_HASH_SIZE]; /* space enough for SHA1 and MD5 */
371 CK_ULONG hash_len = SHA1_HASH_SIZE;
H A DsoftMAC.h44 #define SHA1_HASH_SIZE 20 /* SHA_1 digest length in bytes */ macro
H A DsoftEC.c429 CK_BYTE hash[SHA1_HASH_SIZE];
430 CK_ULONG hash_len = SHA1_HASH_SIZE;
599 CK_BYTE hash[SHA1_HASH_SIZE];
600 CK_ULONG hash_len = SHA1_HASH_SIZE;
H A DsoftMAC.c92 hmac_ctx->hmac_len = SHA1_HASH_SIZE;
125 SHA1_HASH_SIZE)) {
292 CK_ULONG hash_len = SHA1_HASH_SIZE;
H A DsoftKeysUtil.c636 hashSize = SHA1_HASH_SIZE;
928 hash_size = SHA1_HASH_SIZE;
1176 CK_BYTE buffer[2][SHA1_HASH_SIZE];
1177 CK_ULONG hmac_outlen = SHA1_HASH_SIZE;
1302 CK_ULONG hLen = SHA1_HASH_SIZE;

Completed in 78 milliseconds