Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c639 bcopy(key_material, key, WRAPPING_KEY_LEN); in derive_key()
642 ret = hex_key_to_raw((char *)key_material, in derive_key()
652 ret = pbkdf2(key_material, strlen((char *)key_material), in derive_key()
704 uint8_t *key_material = NULL; in populate_create_encryption_params_nvlists() local
778 free(key_material); in populate_create_encryption_params_nvlists()
785 if (key_material != NULL) in populate_create_encryption_params_nvlists()
786 free(key_material); in populate_create_encryption_params_nvlists()
1254 free(key_material); in zfs_crypto_load_key()
1261 if (key_material != NULL) { in zfs_crypto_load_key()
1262 free(key_material); in zfs_crypto_load_key()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dhkdf.c27 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() argument
49 input_cd.cd_raw.iov_base = (char *)key_material; in hkdf_sha512_extract()
155 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument
162 ret = hkdf_sha512_extract(salt, salt_len, key_material, km_len, in hkdf_sha512()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dhkdf.h25 int hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt,