Home
last modified time | relevance | path

Searched refs:key_material (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dhkdf.c26 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() argument
36 crypto_mac(&key, key_material, km_len, out_buf, SHA512_DIGEST_LENGTH); in hkdf_sha512_extract()
84 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument
91 ret = hkdf_sha512_extract(salt, salt_len, key_material, km_len, in hkdf_sha512()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dhkdf.c25 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() argument
47 input_cd.cd_raw.iov_base = (char *)key_material; in hkdf_sha512_extract()
153 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument
160 ret = hkdf_sha512_extract(salt, salt_len, key_material, km_len, in hkdf_sha512()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c599 bcopy(key_material, key, WRAPPING_KEY_LEN); in derive_key()
602 ret = hex_key_to_raw((char *)key_material, in derive_key()
666 uint8_t *key_material = NULL; in populate_create_encryption_params_nvlists() local
733 free(key_material); in populate_create_encryption_params_nvlists()
740 if (key_material != NULL) in populate_create_encryption_params_nvlists()
741 free(key_material); in populate_create_encryption_params_nvlists()
1094 uint8_t *key_material = NULL, *key_data = NULL; in zfs_crypto_load_key() local
1222 free(key_material); in zfs_crypto_load_key()
1229 if (key_material != NULL) { in zfs_crypto_load_key()
1230 free(key_material); in zfs_crypto_load_key()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dhkdf.h25 int hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt,