Home
last modified time | relevance | path

Searched refs:out_key (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/drivers/crypto/caam/
H A Dcaam_key.c278 struct caamkey *out_key) in caam_key_operation_blob() argument
287 assert(in_key && out_key); in caam_key_operation_blob()
295 if (in_key->is_blob == out_key->is_blob) { in caam_key_operation_blob()
301 if (out_key->key_type == CAAM_KEY_PLAIN_TEXT || in caam_key_operation_blob()
308 if (out_key->key_type != in_key->key_type) { in caam_key_operation_blob()
314 if (out_key->is_blob) in caam_key_operation_blob()
320 switch (out_key->key_type) { in caam_key_operation_blob()
338 status = caam_key_alloc(out_key); in caam_key_operation_blob()
345 if (out_key->is_blob) { in caam_key_operation_blob()
352 output_buffer_size = out_key->buf.length; in caam_key_operation_blob()
[all …]
/optee_os/core/tee/
H A Dtee_fs_key_manager.c40 static TEE_Result do_hmac(void *out_key, size_t out_key_size, in do_hmac() argument
47 if (!out_key || !in_key || !message) in do_hmac()
62 res = crypto_mac_final(ctx, out_key, out_key_size); in do_hmac()
75 uint8_t *out_key) in tee_fs_fek_crypt() argument
82 if (!in_key || !out_key) in tee_fs_fek_crypt()
123 memcpy(out_key, dst_key, sizeof(dst_key)); in tee_fs_fek_crypt()
/optee_os/core/include/tee/
H A Dtee_fs_key_manager.h28 uint8_t *out_key);
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_key.h79 struct caamkey *out_key);
/optee_os/ta/trusted_keys/
H A Dentry.c178 goto out_key; in huk_crypt()
182 goto out_key; in huk_crypt()
196 out_key: in huk_crypt()