Searched refs:key_material (Results 1 – 7 of 7) sorted by relevance
| /src/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | hkdf.c | 27 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() 83 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument 90 ret = hkdf_sha512_extract(salt, salt_len, key_material, km_len, in hkdf_sha512()
|
| /src/sys/contrib/openzfs/module/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 47 input_cd.cd_raw.iov_base = (char *)key_material; in hkdf_sha512_extract() 152 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument 159 ret = hkdf_sha512_extract(salt, salt_len, key_material, km_len, in hkdf_sha512()
|
| /src/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_crypto.c | 780 uint8_t *key_material, uint64_t salt, in derive_key() argument 792 memcpy(key, key_material, WRAPPING_KEY_LEN); in derive_key() 795 ret = hex_key_to_raw((char *)key_material, in derive_key() 806 ret = PKCS5_PBKDF2_HMAC_SHA1((char *)key_material, in derive_key() 807 strlen((char *)key_material), ((uint8_t *)&salt), in derive_key() 860 uint8_t *key_material = NULL; in populate_create_encryption_params_nvlists() local 867 fsname, &key_material, &key_material_len, NULL); in populate_create_encryption_params_nvlists() 922 ret = derive_key(hdl, keyformat, iters, key_material, salt, &key_data); in populate_create_encryption_params_nvlists() 926 free(key_material); in populate_create_encryption_params_nvlists() 933 if (key_material != NULL) in populate_create_encryption_params_nvlists() [all …]
|
| /src/sys/contrib/openzfs/include/sys/ |
| H A D | hkdf.h | 26 int hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt,
|
| /src/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()
|
| /src/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 3323 static char *key_material = NULL; variable 3340 if (!isxdigit(key_material[i]) || in zdb_derive_key() 3341 !isxdigit(key_material[i+1])) in zdb_derive_key() 3343 if (sscanf(&key_material[i], "%02hhx", &c) != 1) in zdb_derive_key() 3357 if (PKCS5_PBKDF2_HMAC_SHA1(key_material, strlen(key_material), in zdb_derive_key() 3365 if ((f = fopen(key_material, "r")) == NULL) in zdb_derive_key() 9629 key_material = strdup(optarg); in main()
|