Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
HDhkdf.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-stable/sys/contrib/openzfs/module/zfs/
HDhkdf.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-stable/sys/contrib/openzfs/lib/libzfs/
HDlibzfs_crypto.c768 uint8_t *key_material, size_t key_material_len, uint64_t salt, in derive_key() argument
782 bcopy(key_material, key, WRAPPING_KEY_LEN); in derive_key()
785 ret = hex_key_to_raw((char *)key_material, in derive_key()
796 ret = PKCS5_PBKDF2_HMAC_SHA1((char *)key_material, in derive_key()
797 strlen((char *)key_material), ((uint8_t *)&salt), in derive_key()
849 uint8_t *key_material = NULL; in populate_create_encryption_params_nvlists() local
856 fsname, &key_material, &key_material_len, NULL); in populate_create_encryption_params_nvlists()
911 ret = derive_key(hdl, keyformat, iters, key_material, key_material_len, in populate_create_encryption_params_nvlists()
916 free(key_material); in populate_create_encryption_params_nvlists()
923 if (key_material != NULL) in populate_create_encryption_params_nvlists()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/include/sys/
HDhkdf.h25 int hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt,
/freebsd-13-stable/contrib/wpa/src/tls/
HDtlsv1_common.h230 size_t key_material; member
HDtlsv1_record.c59 rl->key_material_len = data->key_material; in tlsv1_record_set_cipher_suite()