Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/crypto/sha1/
H A Dsha1_impl.h37 #define SHA1_HMAC_BLOCK_SIZE 64 /* SHA1-HMAC block size */ macro
40 #define SHA1_HMAC_INTS_PER_BLOCK (SHA1_HMAC_BLOCK_SIZE/sizeof (uint32_t))
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.h47 #define SHA1_HMAC_BLOCK_SIZE 64 /* SHA1-HMAC block size */ macro
48 #define SHA1_HMAC_INTS_PER_BLOCK (SHA1_HMAC_BLOCK_SIZE/sizeof (uint32_t))
H A DsoftMAC.c264 if (OBJ_SEC(key)->sk_value_len > SHA1_HMAC_BLOCK_SIZE) { in mac_init_ctx()
294 bzero(sha1_ipad, SHA1_HMAC_BLOCK_SIZE); in mac_init_ctx()
295 bzero(sha1_opad, SHA1_HMAC_BLOCK_SIZE); in mac_init_ctx()
297 if (OBJ_SEC(key)->sk_value_len > SHA1_HMAC_BLOCK_SIZE) { in mac_init_ctx()
665 (const uchar_t *)opad, SHA1_HMAC_BLOCK_SIZE); in sha1_hmac_ctx_init()
H A DsoftSSL.c308 bzero(sha1_ipad, SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
309 bzero(sha1_opad, SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
338 SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
370 SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dsha1_mod.c820 bzero(ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
821 bzero(opad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
834 SHA1Update(&ctx->hc_icontext, (uint8_t *)ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
838 SHA1Update(&ctx->hc_ocontext, (uint8_t *)opad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
870 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_init()
1075 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_atomic()
1195 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_verify_atomic()
1390 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_create_ctx_template()
H A Ddprov.c275 #define SHA1_HMAC_BLOCK_SIZE 64 /* SHA1-HMAC block size */ macro
/titanic_41/usr/src/uts/common/sys/crypto/
H A Ddca.h91 #define SHA1_HMAC_BLOCK_SIZE 64 /* SHA1-HMAC block size */ macro