Home
last modified time | relevance | path

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

/illumos-gate/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))
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.h45 #define SHA1_HMAC_BLOCK_SIZE 64 /* SHA1-HMAC block size */ macro
46 #define SHA1_HMAC_INTS_PER_BLOCK (SHA1_HMAC_BLOCK_SIZE/sizeof (uint32_t))
H A DsoftMAC.c263 if (OBJ_SEC(key)->sk_value_len > SHA1_HMAC_BLOCK_SIZE) { in mac_init_ctx()
293 bzero(sha1_ipad, SHA1_HMAC_BLOCK_SIZE); in mac_init_ctx()
294 bzero(sha1_opad, SHA1_HMAC_BLOCK_SIZE); in mac_init_ctx()
296 if (OBJ_SEC(key)->sk_value_len > SHA1_HMAC_BLOCK_SIZE) { in mac_init_ctx()
662 (const uchar_t *)opad, SHA1_HMAC_BLOCK_SIZE); in sha1_hmac_ctx_init()
H A DsoftSSL.c310 bzero(sha1_ipad, SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
311 bzero(sha1_opad, SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
340 SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
372 SHA1_HMAC_BLOCK_SIZE); in P_SHA1()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha1_mod.c823 bzero(ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
824 bzero(opad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
837 SHA1Update(&ctx->hc_icontext, (uint8_t *)ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
841 SHA1Update(&ctx->hc_ocontext, (uint8_t *)opad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
873 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_init()
1175 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_atomic()
1295 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_verify_atomic()
1490 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_create_ctx_template()
H A Ddprov.c280 #define SHA1_HMAC_BLOCK_SIZE 64 /* SHA1-HMAC block size */ macro
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Ddca.h91 #define SHA1_HMAC_BLOCK_SIZE 64 /* SHA1-HMAC block size */ macro