Searched refs:key_material (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | hkdf.c | 26 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() argument 35 crypto_mac(&key, key_material, km_len, out_buf, SHA512_DIGEST_LENGTH); in hkdf_sha512_extract() 82 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument 89 ret = hkdf_sha512_extract(salt, salt_len, key_material, km_len, in hkdf_sha512()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | hkdf.c | 25 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() argument 46 input_cd.cd_raw.iov_base = (char *)key_material; in hkdf_sha512_extract() 151 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument 158 ret = hkdf_sha512_extract(salt, salt_len, key_material, km_len, in hkdf_sha512()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_crypto.c | 778 uint8_t *key_material, uint64_t salt, in derive_key() argument 790 memcpy(key, key_material, WRAPPING_KEY_LEN); in derive_key() 793 ret = hex_key_to_raw((char *)key_material, in derive_key() 858 uint8_t *key_material = NULL; in populate_create_encryption_params_nvlists() local 924 free(key_material); in populate_create_encryption_params_nvlists() 931 if (key_material != NULL) in populate_create_encryption_params_nvlists() 932 free(key_material); in populate_create_encryption_params_nvlists() 1420 free(key_material); in zfs_crypto_load_key() 1427 if (key_material != NULL) { in zfs_crypto_load_key() 1428 free(key_material); in zfs_crypto_load_key() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | hkdf.h | 25 int hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt,
|
/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_common.h | 230 size_t key_material; member
|
H A D | tlsv1_record.c | 59 rl->key_material_len = data->key_material; in tlsv1_record_set_cipher_suite()
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 3050 static char *key_material = NULL; variable 3066 if (!isxdigit(key_material[i]) || in zdb_derive_key() 3067 !isxdigit(key_material[i+1])) in zdb_derive_key() 3069 if (sscanf(&key_material[i], "%02hhx", &c) != 1) in zdb_derive_key() 3083 if (PKCS5_PBKDF2_HMAC_SHA1(key_material, strlen(key_material), in zdb_derive_key() 9064 key_material = strdup(optarg); in main()
|