Home
last modified time | relevance | path

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

/optee_os/core/tee/
H A Dtee_svc_cryp.c2911 struct tee_cryp_state *cs_dst = NULL; in syscall_cryp_state_copy() local
2914 res = tee_svc_cryp_get_state(sess, uref_to_vaddr(dst), &cs_dst); in syscall_cryp_state_copy()
2921 if (cs_dst->algo != cs_src->algo || cs_dst->mode != cs_src->mode) in syscall_cryp_state_copy()
2926 crypto_cipher_copy_state(cs_dst->ctx, cs_src->ctx); in syscall_cryp_state_copy()
2929 crypto_authenc_copy_state(cs_dst->ctx, cs_src->ctx); in syscall_cryp_state_copy()
2932 crypto_hash_copy_state(cs_dst->ctx, cs_src->ctx); in syscall_cryp_state_copy()
2935 crypto_mac_copy_state(cs_dst->ctx, cs_src->ctx); in syscall_cryp_state_copy()
2941 cs_dst->state = cs_src->state; in syscall_cryp_state_copy()
2942 cs_dst->ctx_finalize = cs_src->ctx_finalize; in syscall_cryp_state_copy()