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 | 23 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() argument 32 crypto_mac(&key, key_material, km_len, out_buf, SHA512_DIGEST_LENGTH); in hkdf_sha512_extract() 79 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument 86 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 | 22 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() argument 43 input_cd.cd_raw.iov_base = (char *)key_material; in hkdf_sha512_extract() 148 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() argument 155 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 | 763 uint8_t *key_material, uint64_t salt, in derive_key() argument 775 memcpy(key, key_material, WRAPPING_KEY_LEN); in derive_key() 778 ret = hex_key_to_raw((char *)key_material, in derive_key() 789 ret = PKCS5_PBKDF2_HMAC_SHA1((char *)key_material, in derive_key() 790 strlen((char *)key_material), ((uint8_t *)&salt), in derive_key() 843 uint8_t *key_material = NULL; in populate_create_encryption_params_nvlists() local 850 fsname, &key_material, &key_material_len, NULL); in populate_create_encryption_params_nvlists() 905 ret = derive_key(hdl, keyformat, iters, key_material, salt, &key_data); in populate_create_encryption_params_nvlists() 909 free(key_material); in populate_create_encryption_params_nvlists() 916 if (key_material != NULL) in populate_create_encryption_params_nvlists() [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | hkdf.h | 22 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 | 226 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 | 3758 static char *key_material = NULL; variable 3775 if (!isxdigit(key_material[i]) || in zdb_derive_key() 3776 !isxdigit(key_material[i+1])) in zdb_derive_key() 3778 if (sscanf(&key_material[i], "%02hhx", &c) != 1) in zdb_derive_key() 3792 if (PKCS5_PBKDF2_HMAC_SHA1(key_material, strlen(key_material), in zdb_derive_key() 3800 if ((f = fopen(key_material, "r")) == NULL) in zdb_derive_key() 10253 key_material = strdup(optarg); in main()
|