Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/acipher/
A Dcaam_dh.c74 cache_operation(TEE_CACHECLEAN, outkey->p.data, outkey->p.length); in do_keypair_conv_p_g()
84 cache_operation(TEE_CACHECLEAN, outkey->g.data, outkey->g.length); in do_keypair_conv_p_g()
114 cache_operation(TEE_CACHECLEAN, outkey->p.data, outkey->p.length); in do_keypriv_conv()
122 cache_operation(TEE_CACHECLEAN, outkey->x.data, outkey->x.length); in do_keypriv_conv()
148 cache_operation(TEE_CACHECLEAN, outkey->y.data, outkey->y.length); in do_keypub_conv()
264 cache_operation(TEE_CACHEFLUSH, caam_dh_key.x.data, in do_gen_keypair()
273 cache_operation(TEE_CACHEFLUSH, caam_dh_key.y.data, in do_gen_keypair()
284 cache_operation(TEE_CACHECLEAN, dh_r.data, dh_r.length); in do_gen_keypair()
324 cache_operation(TEE_CACHEINVALIDATE, caam_dh_key.x.data, in do_gen_keypair()
326 cache_operation(TEE_CACHEINVALIDATE, caam_dh_key.y.data, in do_gen_keypair()
A Dcaam_dsa.c123 cache_operation(TEE_CACHECLEAN, outkey->q.data, in get_keypair_domain_params()
129 cache_operation(TEE_CACHECLEAN, outkey->g.data, in get_keypair_domain_params()
135 cache_operation(TEE_CACHECLEAN, outkey->p.data, in get_keypair_domain_params()
196 cache_operation(TEE_CACHECLEAN, outkey->g.data, outkey->g.length); in do_keypriv_conv()
197 cache_operation(TEE_CACHECLEAN, outkey->p.data, outkey->p.length); in do_keypriv_conv()
198 cache_operation(TEE_CACHECLEAN, outkey->q.data, outkey->q.length); in do_keypriv_conv()
405 cache_operation(TEE_CACHEFLUSH, caam_dsa_key.x.data, in do_gen_keypair()
414 cache_operation(TEE_CACHEFLUSH, caam_dsa_key.y.data, in do_gen_keypair()
446 cache_operation(TEE_CACHEINVALIDATE, caam_dsa_key.x.data, in do_gen_keypair()
448 cache_operation(TEE_CACHEINVALIDATE, caam_dsa_key.y.data, in do_gen_keypair()
[all …]
A Dcaam_prime_rsa.c441 cache_operation(TEE_CACHECLEAN, (void *)sqrt_value, data->p->length); in do_desc_setup()
731 cache_operation(TEE_CACHEFLUSH, data->p->data, data->p->length); in run_primes()
734 cache_operation(TEE_CACHEFLUSH, data->q->data, data->q->length); in run_primes()
747 cache_operation(TEE_CACHEINVALIDATE, data->p->data, in run_primes()
749 cache_operation(TEE_CACHEINVALIDATE, data->q->data, in run_primes()
757 cache_operation(TEE_CACHEINVALIDATE, data->p->data, in run_primes()
795 cache_operation(TEE_CACHECLEAN, max_n.data, max_n.length); in caam_prime_rsa_gen()
849 cache_operation(TEE_CACHECLEAN, small_prime.data, data->p->length); in caam_prime_rsa_gen()
850 cache_operation(TEE_CACHECLEAN, data->e->data, data->e->length); in caam_prime_rsa_gen()
851 cache_operation(TEE_CACHECLEAN, (void *)all_descs, in caam_prime_rsa_gen()
A Dcaam_prime_dsa.c495 cache_operation(TEE_CACHECLEAN, desc, DESC_SZBYTES(PRIME_DESC_ENTRIES)); in do_desc_prime_p()
509 cache_operation(TEE_CACHEFLUSH, prime->q->data, prime->q->length); in run_prime_q()
519 cache_operation(TEE_CACHEINVALIDATE, prime->q->data, in run_prime_q()
540 cache_operation(TEE_CACHEFLUSH, prime->p->data, prime->p->length); in run_prime_p()
548 cache_operation(TEE_CACHEINVALIDATE, prime->p->data, in run_prime_p()
656 cache_operation(TEE_CACHEFLUSH, prime->g->data, prime->g->length); in do_generator()
667 cache_operation(TEE_CACHEINVALIDATE, prime->g->data, prime->g->length); in do_generator()
701 cache_operation(TEE_CACHECLEAN, mod_n.data, mod_n.length); in caam_prime_dsa_gen()
729 cache_operation(TEE_CACHEFLUSH, data->p->data, data->p->length); in caam_prime_dsa_gen()
730 cache_operation(TEE_CACHEFLUSH, seed.data, seed.length); in caam_prime_dsa_gen()
[all …]
A Dcaam_rsa.c142 cache_operation(TEE_CACHECLEAN, outkey->e.data, outkey->e.length); in do_keypub_conv()
150 cache_operation(TEE_CACHECLEAN, outkey->n.data, outkey->n.length); in do_keypub_conv()
241 cache_operation(TEE_CACHECLEAN, outkey->dp.data, in do_keypair_conv_f3()
466 cache_operation(TEE_CACHEINVALIDATE, genkey->dp.data, in gen_keypair_get_f3()
497 cache_operation(TEE_CACHEINVALIDATE, genkey->p.data, in gen_keypair_get_f2()
638 cache_operation(TEE_CACHEFLUSH, genkey.dp.data, in do_gen_keypair()
653 cache_operation(TEE_CACHEFLUSH, genkey.p.data, in do_gen_keypair()
655 cache_operation(TEE_CACHEFLUSH, genkey.d.data, in do_gen_keypair()
661 cache_operation(TEE_CACHEINVALIDATE, genkey.d.data, in do_gen_keypair()
1351 cache_operation(TEE_CACHEFLUSH, tmp.data, tmp.length); in do_caam_decrypt()
[all …]
A Dcaam_ecc.c81 cache_operation(TEE_CACHECLEAN, outkey->xy.data, outkey->xy.length); in do_keypub_conv()
112 cache_operation(TEE_CACHECLEAN, outkey->d.data, outkey->d.length); in do_keypair_conv()
284 cache_operation(TEE_CACHEFLUSH, d.data, d.length); in do_gen_keypair()
288 cache_operation(TEE_CACHEINVALIDATE, d.data, d.length); in do_gen_keypair()
564 cache_operation(TEE_CACHEFLUSH, tmp.data, tmp.length); in do_verify()
/optee_os/core/drivers/
A Dzynqmp_pm.c122 cache_operation(TEE_CACHECLEAN, buf, buf_sz); in efuse_op()
123 cache_operation(TEE_CACHECLEAN, &efuse, sizeof(efuse)); in efuse_op()
138 return cache_operation(TEE_CACHEINVALIDATE, buf, buf_sz); in efuse_op()
/optee_os/core/drivers/imx/dcp/
A Ddcp.c148 cache_operation(TEE_CACHEFLUSH, &dcp_data->desc, in dcp_run()
450 cache_operation(TEE_CACHECLEAN, data->payload.data, in dcp_cipher_do_update()
452 cache_operation(TEE_CACHECLEAN, input.data, size); in dcp_cipher_do_update()
453 cache_operation(TEE_CACHEINVALIDATE, output.data, size); in dcp_cipher_do_update()
459 cache_operation(TEE_CACHEINVALIDATE, output.data, size); in dcp_cipher_do_update()
564 cache_operation(TEE_CACHECLEAN, input.data, size_todo); in dcp_sha_do_update()
628 cache_operation(TEE_CACHECLEAN, hashdata->ctx.data, in dcp_sha_do_final()
630 cache_operation(TEE_CACHEINVALIDATE, payload.data, in dcp_sha_do_final()
636 cache_operation(TEE_CACHEINVALIDATE, payload.data, in dcp_sha_do_final()
/optee_os/core/drivers/crypto/caam/hash/
A Dcaam_hash.c124 cache_operation(TEE_CACHECLEAN, key->data, key->length); in do_desc_load_key()
326 cache_operation(TEE_CACHEFLUSH, ctx->ctx.data, ctx->ctx.length); in caam_hash_hmac_allocate()
432 cache_operation(TEE_CACHECLEAN, ctx->blockbuf.buf.data, in do_update_hash()
448 cache_operation(TEE_CACHEINVALIDATE, ctx->ctx.data, in do_update_hash()
620 cache_operation(TEE_CACHEINVALIDATE, ctx->ctx.data, in caam_hash_hmac_final()
641 cache_operation(TEE_CACHECLEAN, ctx->blockbuf.buf.data, in caam_hash_hmac_final()
684 cache_operation(TEE_CACHEINVALIDATE, src->ctx.data, in caam_hash_hmac_copy_state()
688 cache_operation(TEE_CACHECLEAN, dst->ctx.data, dst->ctx.length); in caam_hash_hmac_copy_state()
A Dcaam_hash_mac.c185 cache_operation(TEE_CACHEFLUSH, hmac_ctx->key.data, in do_hmac_init()
/optee_os/core/drivers/crypto/caam/blob/
A Dcaam_blob.c49 cache_operation(TEE_CACHEFLUSH, buf.data, buf.length); in caam_blob_mkvb_init()
58 cache_operation(TEE_CACHEINVALIDATE, buf.data, MKVB_SIZE); in caam_blob_mkvb_init()
/optee_os/core/drivers/crypto/caam/utils/
A Dutils_sgt.c25 cache_operation(TEE_CACHECLEAN, (void *)insgt->sgt, in caam_sgt_cache_op()
33 cache_operation(op, (void *)insgt->buf[idx].data, in caam_sgt_cache_op()
108 cache_operation(TEE_CACHECLEAN, sgt->sgt, in caam_sgt_derive()
A Dutils_dmaobj.c317 cache_operation(op, obj->sgtbuf.buf->data, obj->sgtbuf.length); in dmaobj_cache_operation()
/optee_os/core/pta/tests/
A Dinvoke.c283 if (cache_operation(TEE_CACHEFLUSH, dst, sz) != TEE_SUCCESS) in test_inject_sdp()
288 if (cache_operation(TEE_CACHEFLUSH, dst, sz) != TEE_SUCCESS) in test_inject_sdp()
320 if (cache_operation(TEE_CACHEFLUSH, buf, sz) != TEE_SUCCESS) in test_transform_sdp()
326 if (cache_operation(TEE_CACHEFLUSH, buf, sz) != TEE_SUCCESS) in test_transform_sdp()
365 if (cache_operation(TEE_CACHEFLUSH, dst, sz) != TEE_SUCCESS) in test_dump_sdp()
370 if (cache_operation(TEE_CACHEFLUSH, dst, sz) != TEE_SUCCESS) in test_dump_sdp()
/optee_os/core/drivers/crypto/caam/
A Dcaam_jr.c137 cache_operation(TEE_CACHEFLUSH, jr_priv->inrings, in do_jr_alloc()
139 cache_operation(TEE_CACHEFLUSH, jr_priv->outrings, in do_jr_alloc()
213 cache_operation(TEE_CACHEINVALIDATE, jr_out, in do_jr_dequeue()
358 cache_operation(TEE_CACHECLEAN, cur_inrings, in do_jr_enqueue()
369 cache_operation(TEE_CACHECLEAN, jobctx->desc, in do_jr_enqueue()
A Dcaam_rng.c141 cache_operation(TEE_CACHEINVALIDATE, rng->data, rng->size); in rng_data_done()
193 cache_operation(TEE_CACHEFLUSH, rng->data, rng->size); in do_rng_start()
/optee_os/core/include/tee/
A Dcache.h10 TEE_Result cache_operation(enum utee_cache_operation op, void *va, size_t len);
/optee_os/core/arch/arm/tee/
A Dsvc_cache.c37 return cache_operation(op, va, len); in syscall_cache_operation()
A Dcache.c18 TEE_Result cache_operation(enum utee_cache_operation op, void *va, size_t len) in cache_operation() function
/optee_os/core/drivers/crypto/caam/cipher/
A Dcaam_cipher.c141 cache_operation(TEE_CACHEFLUSH, dst->data, dst->length); in copy_ctx_data()
222 cache_operation(TEE_CACHEINVALIDATE, ctx->ctx.data, in caam_cipher_block()
408 cache_operation(TEE_CACHEINVALIDATE, ctx.data, ctx.length); in caam_cipher_copy_state()
536 cache_operation(TEE_CACHEFLUSH, cipherdata->tweak.data, in caam_cipher_initialize()
A Dcaam_cipher_mac.c360 cache_operation(TEE_CACHECLEAN, ctx->blockbuf.buf.data, in run_cmac_desc()
396 cache_operation(TEE_CACHEINVALIDATE, ctx->ctx.data, in run_cmac_desc()
/optee_os/out/arm/core/
A Dtee.symb_sizes664 000000000e10de38 0000000000000094 T cache_operation
A Dtee.dmp2068 000000000e10de38 g F .text 0000000000000094 cache_operation
21697 000000000e10de38 <cache_operation>:
21698 cache_operation():
21711 e10de5c: b4000340 cbz x0, e10dec4 <cache_operation+0x8c>
21717 e10de70: 340001b5 cbz w21, e10dea4 <cache_operation+0x6c>
21738 e10deb0: 17fffff9 b e10de94 <cache_operation+0x5c>
21743 e10dec0: 17fffff5 b e10de94 <cache_operation+0x5c>
21746 e10dec8: 17ffffec b e10de78 <cache_operation+0x40>
47661 e11ea28: 97ffbd04 bl e10de38 <cache_operation>
47709 e11eab8: 97ffbce0 bl e10de38 <cache_operation>
[all …]
A Dtee.map21400 .text.cache_operation
21402 0x000000000e10de38 cache_operation

Completed in 241 milliseconds