Home
last modified time | relevance | path

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

/optee_os-3.20.0/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()
287 cache_operation(TEE_CACHEFLUSH, d.data, d.length); in do_gen_keypair()
291 cache_operation(TEE_CACHEINVALIDATE, d.data, d.length); in do_gen_keypair()
567 cache_operation(TEE_CACHEFLUSH, tmp.data, tmp.length); in do_verify()
/optee_os-3.20.0/core/drivers/crypto/aspeed/
A Dhace_ast2600.c103 cache_operation(TEE_CACHEFLUSH, (void *)data, len); in ast2600_hace_process()
161 cache_operation(TEE_CACHEFLUSH, hctx->digest, HASH_DGT_BUFSZ); in ast2600_hace_init()
284 cache_operation(TEE_CACHEINVALIDATE, hctx->digest, HASH_DGT_BUFSZ); in ast2600_hace_final()
319 cache_operation(TEE_CACHEINVALIDATE, src_hctx->buf, HASH_BLK_BUFSZ); in ast2600_hace_copy_state()
321 cache_operation(TEE_CACHEFLUSH, dst_hctx->buf, HASH_BLK_BUFSZ); in ast2600_hace_copy_state()
323 cache_operation(TEE_CACHEINVALIDATE, src_hctx->digest, HASH_DGT_BUFSZ); in ast2600_hace_copy_state()
325 cache_operation(TEE_CACHEFLUSH, dst_hctx->digest, HASH_DGT_BUFSZ); in ast2600_hace_copy_state()
/optee_os-3.20.0/core/include/tee/
A Dcache.h10 TEE_Result cache_operation(enum utee_cache_operation op, void *va, size_t len);
/optee_os-3.20.0/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-3.20.0/core/drivers/
A Dzynqmp_pm.c141 cache_operation(TEE_CACHECLEAN, tmpbuf, buf_sz); in efuse_op()
142 cache_operation(TEE_CACHECLEAN, efuse_op, sizeof(*efuse_op)); in efuse_op()
158 res = cache_operation(TEE_CACHEINVALIDATE, tmpbuf, buf_sz); in efuse_op()
A Dversal_mbox.c221 cache_operation(TEE_CACHEFLUSH, cmd->ibuf[i].mem.buf, in versal_mbox_write_req()
228 cache_operation(TEE_CACHEFLUSH, ipi.req, sizeof(cmd->data)); in versal_mbox_write_req()
240 cache_operation(TEE_CACHEINVALIDATE, ipi.rsp, sizeof(rsp->data)); in versal_mbox_read_rsp()
267 cache_operation(TEE_CACHEINVALIDATE, in versal_mbox_read_rsp()
/optee_os-3.20.0/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-3.20.0/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-3.20.0/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-3.20.0/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-3.20.0/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-3.20.0/core/drivers/crypto/caam/utils/
A Dutils_sgt.c25 cache_operation(TEE_CACHECLEAN, (void *)sgtbuf->sgt, in caam_sgt_entries_cache_clean()
43 cache_operation(op, (void *)insgt->buf[idx].data, in caam_sgt_cache_op()
A Dutils_dmaobj.c317 cache_operation(op, obj->sgtbuf.buf->data, obj->sgtbuf.length); in dmaobj_cache_operation()
/optee_os-3.20.0/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()

Completed in 28 milliseconds