Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c282 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init()
283 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()
296 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_init()
629 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap()
630 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()
643 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_unwrap()
707 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); in zio_crypt_do_objset_hmacs()
1245 ret = crypto_mac_init(&mech, &key->zk_hmac_key, NULL, &ctx); in zio_crypt_do_objset_hmacs()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c277 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init()
278 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()
587 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap()
588 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()
632 crypto_mac(&key->zk_hmac_key, data, datalen, in zio_crypt_do_hmac()
1035 crypto_mac_init(ctx, &key->zk_hmac_key); in zio_crypt_do_objset_hmacs()
1093 crypto_mac_init(ctx, &key->zk_hmac_key); in zio_crypt_do_objset_hmacs()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzio_crypt.h114 crypto_key_t zk_hmac_key; member