Home
last modified time | relevance | path

Searched refs:keylen_in_bytes (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dmd5_mod.c906 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in md5_mac_init() local
927 if (keylen_in_bytes > MD5_HMAC_BLOCK_SIZE) { in md5_mac_init()
937 key->ck_data, keylen_in_bytes, digested_key); in md5_mac_init()
942 key->ck_data, keylen_in_bytes); in md5_mac_init()
1118 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in md5_mac_atomic() local
1133 if (keylen_in_bytes > MD5_HMAC_BLOCK_SIZE) { in md5_mac_atomic()
1140 key->ck_data, keylen_in_bytes, digest); in md5_mac_atomic()
1145 keylen_in_bytes); in md5_mac_atomic()
1238 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in md5_mac_verify_atomic() local
1253 if (keylen_in_bytes > MD5_HMAC_BLOCK_SIZE) { in md5_mac_verify_atomic()
[all …]
H A Dsha1_mod.c852 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha1_mac_init() local
873 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_init()
883 key->ck_data, keylen_in_bytes, digested_key); in sha1_mac_init()
888 key->ck_data, keylen_in_bytes); in sha1_mac_init()
1160 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha1_mac_atomic() local
1175 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_atomic()
1182 key->ck_data, keylen_in_bytes, digest); in sha1_mac_atomic()
1187 keylen_in_bytes); in sha1_mac_atomic()
1280 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha1_mac_verify_atomic() local
1295 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_verify_atomic()
[all …]
H A Dsha2_mod.c953 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_init() local
992 if (keylen_in_bytes > sha_hmac_block_size) { in sha2_mac_init()
1003 key->ck_data, keylen_in_bytes, digested_key); in sha2_mac_init()
1008 key->ck_data, keylen_in_bytes); in sha2_mac_init()
1199 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_atomic() local
1232 if (keylen_in_bytes > sha_hmac_block_size) { in sha2_mac_atomic()
1240 key->ck_data, keylen_in_bytes, digest); in sha2_mac_atomic()
1245 keylen_in_bytes); in sha2_mac_atomic()
1341 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_verify_atomic() local
1374 if (keylen_in_bytes > sha_hmac_block_size) { in sha2_mac_verify_atomic()
[all …]