Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/ae/
H A Dcaam_ae_ccm.c184 struct drvcrypt_mod_op mod_op = { }; in caam_ae_final_ccm() local
209 mod_op.n.length = caam_ctx->tag_length; in caam_ae_final_ccm()
210 mod_op.a.data = encrypted_tag; in caam_ae_final_ccm()
211 mod_op.a.length = caam_ctx->tag_length; in caam_ae_final_ccm()
212 mod_op.b.data = encrypted_tag + in caam_ae_final_ccm()
214 mod_op.b.length = caam_ctx->tag_length; in caam_ae_final_ccm()
215 mod_op.result.data = encrypted_tag; in caam_ae_final_ccm()
216 mod_op.result.length = caam_ctx->tag_length; in caam_ae_final_ccm()
218 ret = drvcrypt_xor_mod_n(&mod_op); in caam_ae_final_ccm()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsassa.c336 struct drvcrypt_mod_op mod_op = { }; in emsa_pss_encode() local
468 mod_op.n.length = dbMask.length; in emsa_pss_encode()
469 mod_op.a.data = DB.data; in emsa_pss_encode()
470 mod_op.a.length = DB.length; in emsa_pss_encode()
471 mod_op.b.data = dbMask.data; in emsa_pss_encode()
472 mod_op.b.length = dbMask.length; in emsa_pss_encode()
473 mod_op.result.data = dbMask.data; in emsa_pss_encode()
474 mod_op.result.length = dbMask.length; in emsa_pss_encode()
476 ret = drvcrypt_xor_mod_n(&mod_op); in emsa_pss_encode()
527 struct drvcrypt_mod_op mod_op = { }; in emsa_pss_verify() local
[all …]
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_rsa.c785 struct drvcrypt_mod_op mod_op = { }; in do_oaep_decoding() local
910 mod_op.n.length = seed.length; in do_oaep_decoding()
911 mod_op.a.data = maskedSeed.data; in do_oaep_decoding()
912 mod_op.a.length = maskedSeed.length; in do_oaep_decoding()
913 mod_op.b.data = seed.data; in do_oaep_decoding()
914 mod_op.b.length = seed.length; in do_oaep_decoding()
915 mod_op.result.data = seed.data; in do_oaep_decoding()
916 mod_op.result.length = seed.length; in do_oaep_decoding()
918 retstatus = drvcrypt_xor_mod_n(&mod_op); in do_oaep_decoding()
944 mod_op.n.length = DB.length; in do_oaep_decoding()
[all …]