Searched refs:SHA512_HMAC_KEYLEN (Results 1 – 3 of 3) sorted by relevance
41 #define SHA512_HMAC_KEYLEN 64 macro83 uint8_t zk_hmac_keydata[SHA512_HMAC_KEYLEN];
249 ret = random_get_bytes(key->zk_hmac_keydata, SHA512_HMAC_KEYLEN); in zio_crypt_key_init()271 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()516 plain_iovecs[1].iov_len = SHA512_HMAC_KEYLEN; in zio_crypt_key_wrap()521 cipher_iovecs[1].iov_len = SHA512_HMAC_KEYLEN; in zio_crypt_key_wrap()541 enc_len = zio_crypt_table[crypt].ci_keylen + SHA512_HMAC_KEYLEN; in zio_crypt_key_wrap()583 plain_iovecs[1].iov_len = SHA512_HMAC_KEYLEN; in zio_crypt_key_unwrap()588 cipher_iovecs[1].iov_len = SHA512_HMAC_KEYLEN; in zio_crypt_key_unwrap()603 enc_len = keydata_len + SHA512_HMAC_KEYLEN; in zio_crypt_key_unwrap()636 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()
555 uint8_t raw_hmac_keydata[SHA512_HMAC_KEYLEN]; in dsl_crypto_key_open()581 SHA512_HMAC_KEYLEN, raw_hmac_keydata); in dsl_crypto_key_open()1192 SHA512_HMAC_KEYLEN, hmac_keydata, tx)); in dsl_crypto_key_sync_impl()1207 uint8_t hmac_keydata[SHA512_HMAC_KEYLEN]; in dsl_crypto_key_sync()2205 if (ret != 0 || len != SHA512_HMAC_KEYLEN) in dsl_crypto_recv_raw_key_check()2420 uint8_t raw_hmac_keydata[SHA512_HMAC_KEYLEN]; in dsl_crypto_populate_key_nvlist()2449 SHA512_HMAC_KEYLEN, raw_hmac_keydata); in dsl_crypto_populate_key_nvlist()2523 raw_hmac_keydata, SHA512_HMAC_KEYLEN)); in dsl_crypto_populate_key_nvlist()