Home
last modified time | relevance | path

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

/titanic_44/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.c849 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha1_mac_init() local
870 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_init()
880 key->ck_data, keylen_in_bytes, digested_key); in sha1_mac_init()
885 key->ck_data, keylen_in_bytes); in sha1_mac_init()
1060 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha1_mac_atomic() local
1075 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_atomic()
1082 key->ck_data, keylen_in_bytes, digest); in sha1_mac_atomic()
1087 keylen_in_bytes); in sha1_mac_atomic()
1180 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha1_mac_verify_atomic() local
1195 if (keylen_in_bytes > SHA1_HMAC_BLOCK_SIZE) { in sha1_mac_verify_atomic()
[all …]
H A Dsha2_mod.c920 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_init() local
959 if (keylen_in_bytes > sha_hmac_block_size) { in sha2_mac_init()
970 key->ck_data, keylen_in_bytes, digested_key); in sha2_mac_init()
975 key->ck_data, keylen_in_bytes); in sha2_mac_init()
1166 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_atomic() local
1199 if (keylen_in_bytes > sha_hmac_block_size) { in sha2_mac_atomic()
1207 key->ck_data, keylen_in_bytes, digest); in sha2_mac_atomic()
1212 keylen_in_bytes); in sha2_mac_atomic()
1308 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_verify_atomic() local
1341 if (keylen_in_bytes > sha_hmac_block_size) { in sha2_mac_verify_atomic()
[all …]