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.c281 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init()
282 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()
295 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_init()
628 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap()
629 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()
642 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_unwrap()
706 ret = crypto_mac(&mech, &in_data, &key->zk_hmac_key, key->zk_hmac_tmpl, in zio_crypt_do_hmac()
1157 ret = crypto_mac_init(&mech, &key->zk_hmac_key, NULL, &ctx); in zio_crypt_do_objset_hmacs()
1244 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.c276 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init()
277 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()
586 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap()
587 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()
631 crypto_mac(&key->zk_hmac_key, data, datalen, in zio_crypt_do_hmac()
1034 crypto_mac_init(ctx, &key->zk_hmac_key); in zio_crypt_do_objset_hmacs()
1092 crypto_mac_init(ctx, &key->zk_hmac_key); in zio_crypt_do_objset_hmacs()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzio_crypt.h113 crypto_key_t zk_hmac_key; member