Home
last modified time | relevance | path

Searched refs:zk_hmac_key (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_crypt.c269 key->zk_hmac_key.ck_format = CRYPTO_KEY_RAW; in zio_crypt_key_init()
270 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init()
271 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()
284 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_init()
634 key->zk_hmac_key.ck_format = CRYPTO_KEY_RAW; in zio_crypt_key_unwrap()
635 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap()
636 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()
649 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_unwrap()
713 ret = crypto_mac(&mech, &in_data, &key->zk_hmac_key, key->zk_hmac_tmpl, in zio_crypt_do_hmac()
1158 ret = crypto_mac_init(&mech, &key->zk_hmac_key, NULL, &ctx, NULL); in zio_crypt_do_objset_hmacs()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzio_crypt.h101 crypto_key_t zk_hmac_key; member