Lines Matching refs:out_key
2391 crypto_key_t *out_key, size_t *out_rctl_bytes, in copyin_key() argument
2405 out_key->ck_format = STRUCT_FGET(key, ck_format); in copyin_key()
2406 switch (out_key->ck_format) { in copyin_key()
2427 out_key->ck_data = kmem_alloc(key_bytes, KM_SLEEP); in copyin_key()
2430 out_key->ck_data, key_bytes) != 0) { in copyin_key()
2431 kmem_free(out_key->ck_data, key_bytes); in copyin_key()
2432 out_key->ck_data = NULL; in copyin_key()
2433 out_key->ck_length = 0; in copyin_key()
2438 out_key->ck_length = (ulong_t)key_bits; in copyin_key()
2447 out_key->ck_count = count; in copyin_key()
2448 out_key->ck_attrs = k_attrs; in copyin_key()
2451 out_key->ck_count = 0; in copyin_key()
2452 out_key->ck_attrs = NULL; in copyin_key()
2457 out_key->ck_obj_id = STRUCT_FGET(key, ck_obj_id); in copyin_key()