Home
last modified time | relevance | path

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

/freebsd-13.1/sys/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()
/freebsd-13.1/sys/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()
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c782 bcopy(key_material, key, WRAPPING_KEY_LEN); in derive_key()
785 ret = hex_key_to_raw((char *)key_material, in derive_key()
849 uint8_t *key_material = NULL; in populate_create_encryption_params_nvlists() local
916 free(key_material); in populate_create_encryption_params_nvlists()
923 if (key_material != NULL) in populate_create_encryption_params_nvlists()
924 free(key_material); in populate_create_encryption_params_nvlists()
1277 uint8_t *key_material = NULL, *key_data = NULL; in zfs_crypto_load_key() local
1405 free(key_material); in zfs_crypto_load_key()
1412 if (key_material != NULL) { in zfs_crypto_load_key()
1413 free(key_material); in zfs_crypto_load_key()
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dhkdf.h25 int hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt,
/freebsd-13.1/contrib/wpa/src/tls/
H A Dtlsv1_common.h230 size_t key_material; member
H A Dtlsv1_record.c59 rl->key_material_len = data->key_material; in tlsv1_record_set_cipher_suite()