Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_sgt.c96 sgt->sgt_type = (sgt->number > 1) ? true : false; in caam_sgt_derive()
107 if (sgt->sgt_type) { in caam_sgt_derive()
132 if (data->sgt_type) in caam_sgtbuf_free()
148 if (data->sgt_type) { in caam_sgtbuf_alloc()
159 if (!data->buf || (!data->sgt && data->sgt_type)) { in caam_sgtbuf_alloc()
H A Dutils_dmaobj.c314 if (obj->sgtbuf.sgt_type) in dmaobj_cache_operation()
937 obj->sgtbuf.sgt_type); in caam_dmaobj_copy_ltrim_to_orig()
1006 obj->sgtbuf.sgt_type = (priv->nb_sgtbuf > 1) ? true : false; in caam_dmaobj_free()
1337 obj->sgtbuf.sgt_type = (priv->nb_sgtbuf > 1); in caam_dmaobj_sgtbuf_build()
1345 obj->sgtbuf.sgt_type = (nb_sgt > 1) ? true : false; in caam_dmaobj_sgtbuf_build()
1365 obj->sgtbuf.sgt_type = (nb_sgt > 1) ? true : false; in caam_dmaobj_sgtbuf_build()
1401 if (obj->sgtbuf.sgt_type) { in caam_dmaobj_sgtbuf_build()
/optee_os/core/drivers/crypto/caam/mp/
H A Dcaam_mp.c134 if (reskey.sgtbuf.sgt_type) in caam_mp_export_publickey()
249 if (sign_c.sgtbuf.sgt_type) in caam_mp_sign()
258 if (sign_d.sgtbuf.sgt_type) in caam_mp_sign()
265 if (msg_input.sgtbuf.sgt_type) in caam_mp_sign()
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_ecc.c498 if (msg.sgtbuf.sgt_type) in do_sign()
518 if (sign_c.sgtbuf.sgt_type) in do_sign()
527 if (sign_d.sgtbuf.sgt_type) in do_sign()
679 if (msg.sgtbuf.sgt_type) in do_verify()
694 if (sign_c.sgtbuf.sgt_type) in do_verify()
703 if (sign_d.sgtbuf.sgt_type) in do_verify()
830 if (secret.sgtbuf.sgt_type) in do_shared_secret()
H A Dcaam_dsa.c538 if (msg.sgtbuf.sgt_type) in do_sign()
560 if (sign_c.sgtbuf.sgt_type) in do_sign()
569 if (sign_d.sgtbuf.sgt_type) in do_sign()
691 if (msg.sgtbuf.sgt_type) in do_verify()
706 if (sign_c.sgtbuf.sgt_type) in do_verify()
715 if (sign_d.sgtbuf.sgt_type) in do_verify()
H A Dcaam_rsa.c1266 if (cipher.sgtbuf.sgt_type) in do_caam_encrypt()
1277 if (msg.sgtbuf.sgt_type) in do_caam_encrypt()
1397 if (msg.sgtbuf.sgt_type) in do_caam_decrypt()
1415 if (cipher.sgtbuf.sgt_type) in do_caam_decrypt()
H A Dcaam_dh.c425 if (secret.sgtbuf.sgt_type) in do_shared_secret()
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_utils_sgt.h66 bool sgt_type; /* Define the data format */ member
/optee_os/core/drivers/crypto/caam/
H A Dcaam_desc.c120 if (data->sgtbuf.sgt_type) in caam_desc_add_dmaobj()