Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_dsa.c566 caam_desc_add_ptr(desc, dsakey.p.paddr); in do_sign()
568 caam_desc_add_ptr(desc, dsakey.q.paddr); in do_sign()
570 caam_desc_add_ptr(desc, dsakey.g.paddr); in do_sign()
572 caam_desc_add_ptr(desc, dsakey.x.paddr); in do_sign()
574 caam_desc_add_ptr(desc, msg.sgtbuf.paddr); in do_sign()
706 caam_desc_add_ptr(desc, dsakey.p.paddr); in do_verify()
708 caam_desc_add_ptr(desc, dsakey.q.paddr); in do_verify()
710 caam_desc_add_ptr(desc, dsakey.g.paddr); in do_verify()
712 caam_desc_add_ptr(desc, dsakey.y.paddr); in do_verify()
714 caam_desc_add_ptr(desc, msg.sgtbuf.paddr); in do_verify()
[all …]
A Dcaam_prime_dsa.c102 caam_desc_add_ptr(desc, seed->paddr); in do_desc_prime_q()
244 caam_desc_add_ptr(desc, x->paddr); in do_desc_gen_x()
253 caam_desc_add_ptr(desc, mod_n->paddr); in do_desc_gen_x()
266 caam_desc_add_ptr(desc, seed->paddr); in do_desc_gen_x()
269 caam_desc_add_ptr(desc, seed->paddr); in do_desc_gen_x()
349 caam_desc_add_ptr(desc, desc_p); in do_desc_gen_x()
377 caam_desc_add_ptr(desc, mod_n->paddr); in do_desc_prime_p()
395 caam_desc_add_ptr(desc, x->paddr); in do_desc_prime_p()
410 caam_desc_add_ptr(desc, 1); in do_desc_prime_p()
414 caam_desc_add_ptr(desc, x->paddr); in do_desc_prime_p()
[all …]
A Dcaam_rsa.c1222 caam_desc_add_ptr(desc, key.n.paddr); in do_caam_encrypt()
1223 caam_desc_add_ptr(desc, key.e.paddr); in do_caam_encrypt()
1371 caam_desc_add_ptr(desc, key.n.paddr); in do_caam_decrypt()
1372 caam_desc_add_ptr(desc, key.d.paddr); in do_caam_decrypt()
1383 caam_desc_add_ptr(desc, key.d.paddr); in do_caam_decrypt()
1384 caam_desc_add_ptr(desc, key.p.paddr); in do_caam_decrypt()
1385 caam_desc_add_ptr(desc, key.q.paddr); in do_caam_decrypt()
1386 caam_desc_add_ptr(desc, tmp.paddr); in do_caam_decrypt()
1399 caam_desc_add_ptr(desc, key.p.paddr); in do_caam_decrypt()
1400 caam_desc_add_ptr(desc, key.q.paddr); in do_caam_decrypt()
[all …]
A Dcaam_ecc.c277 caam_desc_add_ptr(desc, d.paddr); in do_gen_keypair()
278 caam_desc_add_ptr(desc, xy.paddr); in do_gen_keypair()
413 caam_desc_add_ptr(desc, ecckey.d.paddr); in do_sign()
415 caam_desc_add_ptr(desc, msg.sgtbuf.paddr); in do_sign()
417 caam_desc_add_ptr(desc, sign_c.sgtbuf.paddr); in do_sign()
419 caam_desc_add_ptr(desc, sign_d.sgtbuf.paddr); in do_sign()
547 caam_desc_add_ptr(desc, ecckey.xy.paddr); in do_verify()
549 caam_desc_add_ptr(desc, msg.sgtbuf.paddr); in do_verify()
555 caam_desc_add_ptr(desc, tmp.paddr); in do_verify()
658 caam_desc_add_ptr(desc, ecckey.xy.paddr); in do_shared_secret()
[all …]
A Dcaam_dh.c301 caam_desc_add_ptr(desc, caam_dh_key.p.paddr); in do_gen_keypair()
302 caam_desc_add_ptr(desc, dh_r.paddr); in do_gen_keypair()
303 caam_desc_add_ptr(desc, caam_dh_key.g.paddr); in do_gen_keypair()
304 caam_desc_add_ptr(desc, caam_dh_key.x.paddr); in do_gen_keypair()
305 caam_desc_add_ptr(desc, caam_dh_key.y.paddr); in do_gen_keypair()
437 caam_desc_add_ptr(desc, caam_dh_key.p.paddr); in do_shared_secret()
439 caam_desc_add_ptr(desc, 0); in do_shared_secret()
441 caam_desc_add_ptr(desc, caam_dh_key.y.paddr); in do_shared_secret()
443 caam_desc_add_ptr(desc, caam_dh_key.x.paddr); in do_shared_secret()
445 caam_desc_add_ptr(desc, secret.sgtbuf.paddr); in do_shared_secret()
A Dcaam_prime_rsa.c404 caam_desc_add_ptr(desc, virt_to_phys((void *)sqrt_value)); in do_desc_setup()
417 caam_desc_add_ptr(desc, small_prime->paddr); in do_desc_setup()
438 caam_desc_add_ptr(desc, desc_prime); in do_desc_setup()
477 caam_desc_add_ptr(desc, small_prime->paddr); in do_desc_prime()
550 caam_desc_add_ptr(desc, data->e->paddr); in do_desc_prime()
604 caam_desc_add_ptr(desc, data->q->paddr); in do_desc_prime()
606 caam_desc_add_ptr(desc, data->p->paddr); in do_desc_prime()
612 caam_desc_add_ptr(desc, desc_next); in do_desc_prime()
639 caam_desc_add_ptr(desc, p->paddr); in do_checks_primes()
647 caam_desc_add_ptr(desc, max_n->paddr); in do_checks_primes()
[all …]
/optee_os-3.20.0/core/drivers/crypto/caam/
A Dcaam_desc.c50 void caam_desc_add_ptr(uint32_t *desc, paddr_t ptr) in caam_desc_add_ptr() function
160 caam_desc_add_ptr(desc, data->sgtbuf.paddr); in caam_desc_add_dmaobj()
A Dcaam_rng.c173 caam_desc_add_ptr(desc, paddr); in prepare_gen_desc()
/optee_os-3.20.0/core/drivers/crypto/caam/hash/
A Dcaam_hash.c122 caam_desc_add_ptr(desc, key->paddr); in do_desc_load_key()
411 caam_desc_add_ptr(desc, ctx->ctx.paddr); in do_update_hash()
431 caam_desc_add_ptr(desc, ctx->blockbuf.buf.paddr); in do_update_hash()
445 caam_desc_add_ptr(desc, ctx->ctx.paddr); in do_update_hash()
618 caam_desc_add_ptr(desc, ctx->ctx.paddr); in caam_hash_hmac_final()
637 caam_desc_add_ptr(desc, ctx->blockbuf.buf.paddr); in caam_hash_hmac_final()
A Dcaam_hash_mac.c181 caam_desc_add_ptr(desc, hmac_ctx->key.paddr); in do_hmac_init()
/optee_os-3.20.0/core/drivers/crypto/caam/blob/
A Dcaam_blob.c45 caam_desc_add_ptr(desc, buf.paddr); in caam_blob_mkvb_init()
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/
A Dcaam_cipher_mac.c313 caam_desc_add_ptr(desc, ctx->key1.paddr); in run_cmac_desc()
322 caam_desc_add_ptr(desc, ctx->ctx.paddr); in run_cmac_desc()
356 caam_desc_add_ptr(desc, ctx->blockbuf.buf.paddr); in run_cmac_desc()
375 caam_desc_add_ptr(desc, 0); in run_cmac_desc()
389 caam_desc_add_ptr(desc, ctx->ctx.paddr); in run_cmac_desc()
A Dcaam_cipher.c177 caam_desc_add_ptr(desc, ctx->key1.paddr); in caam_cipher_block()
182 caam_desc_add_ptr(desc, ctx->key2.paddr); in caam_cipher_block()
190 caam_desc_add_ptr(desc, ctx->ctx.paddr); in caam_cipher_block()
218 caam_desc_add_ptr(desc, ctx->ctx.paddr); in caam_cipher_block()
/optee_os-3.20.0/core/drivers/crypto/caam/include/
A Dcaam_desc_helper.h23 void caam_desc_add_ptr(uint32_t *desc, paddr_t ptr);

Completed in 20 milliseconds