Searched refs:zk_hmac_key (Results 1 – 3 of 3) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 264 key->zk_hmac_key.ck_format = CRYPTO_KEY_RAW; in zio_crypt_key_init() 265 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init() 266 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init() 279 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_init() 621 key->zk_hmac_key.ck_format = CRYPTO_KEY_RAW; in zio_crypt_key_unwrap() 622 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap() 623 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap() 636 ret = crypto_create_ctx_template(&mech, &key->zk_hmac_key, in zio_crypt_key_unwrap() 700 ret = crypto_mac(&mech, &in_data, &key->zk_hmac_key, key->zk_hmac_tmpl, in zio_crypt_do_hmac() 1145 ret = crypto_mac_init(&mech, &key->zk_hmac_key, NULL, &ctx, NULL); in zio_crypt_do_objset_hmacs() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 283 key->zk_hmac_key.ck_format = CRYPTO_KEY_RAW; in zio_crypt_key_init() 284 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init() 285 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init() 596 key->zk_hmac_key.ck_format = CRYPTO_KEY_RAW; in zio_crypt_key_unwrap() 597 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap() 598 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap() 642 crypto_mac(&key->zk_hmac_key, data, datalen, in zio_crypt_do_hmac() 1046 crypto_mac_init(ctx, &key->zk_hmac_key); in zio_crypt_do_objset_hmacs() 1103 crypto_mac_init(ctx, &key->zk_hmac_key); in zio_crypt_do_objset_hmacs()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zio_crypt.h | 113 crypto_key_t zk_hmac_key; member
|