Searched refs:derive_key (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 6332 STRUCT_DECL(crypto_derive_key, derive_key); in object_derive_key() 6355 STRUCT_INIT(derive_key, mode); in object_derive_key() 6362 if (copyin(arg, STRUCT_BUF(derive_key), STRUCT_SIZE(derive_key)) != 0) { in object_derive_key() 6369 session_id = STRUCT_FGET(derive_key, dk_session); in object_derive_key() 6375 bcopy(STRUCT_FADDR(derive_key, dk_mechanism), &mech.cm_type, in object_derive_key() 6379 if (!copyin_key(mode, sp, STRUCT_FADDR(derive_key, dk_base_key), in object_derive_key() 6391 STRUCT_FADDR(derive_key, dk_mechanism), &mech, mode, &error); in object_derive_key() 6396 STRUCT_FADDR(derive_key, dk_mechanism), in object_derive_key() 6405 count = STRUCT_FGET(derive_key, dk_count); in object_derive_key() 6407 attributes = STRUCT_FGETP(derive_key, dk_attributes); in object_derive_key() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_crypto.c | 624 derive_key(libzfs_handle_t *hdl, zfs_keyformat_t format, uint64_t iters, in derive_key() function 773 ret = derive_key(hdl, (zfs_keyformat_t)keyformat, iters, key_material, in populate_create_encryption_params_nvlists() 1220 ret = derive_key(zhp->zfs_hdl, keyformat, iters, key_material, in zfs_crypto_load_key()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cryptmod.c | 809 derive_key(struct cipher_data_t *cdata, uchar_t *constdata, in derive_key() function 952 rv = derive_key(cdata, constdata, sizeof (constdata), in create_derived_keys() 964 rv = derive_key(cdata, constdata, sizeof (constdata), in create_derived_keys()
|