Home
last modified time | relevance | path

Searched refs:key_dma (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/crypto/caam/
Dcaamalg_qi.c69 dma_addr_t key_dma; member
128 ctx->adata.key_dma = ctx->key_dma; in aead_set_sh_desc()
131 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
233 dma_sync_single_for_device(jrdev->parent, ctx->key_dma, in aead_setkey()
247 dma_sync_single_for_device(jrdev->parent, ctx->key_dma, in aead_setkey()
324 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
339 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
378 dma_sync_single_for_device(jrdev->parent, ctx->key_dma, keylen, in gcm_setkey()
428 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
442 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
[all …]
Dcaamhash_desc.c103 append_key(desc, adata->key_dma, adata->keylen, in cnstr_shdsc_sk_hash()
138 append_fifo_store(desc, adata->key_dma, adata->keylen, in cnstr_shdsc_sk_hash()
Dcaamalg.c121 dma_addr_t key_dma; member
158 ctx->adata.key_dma = ctx->key_dma; in aead_null_set_sh_desc()
177 ctx->adata.key_dma = ctx->key_dma; in aead_null_set_sh_desc()
239 ctx->adata.key_dma = ctx->key_dma; in aead_set_sh_desc()
242 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
354 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
371 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
419 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
437 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
487 ctx->cdata.key_dma = ctx->key_dma; in rfc4543_set_sh_desc()
[all …]
Dcaamalg_desc.c73 append_key(desc, adata->key_dma, adata->keylen, in cnstr_shdsc_aead_null_encap()
152 append_key(desc, adata->key_dma, adata->keylen, in cnstr_shdsc_aead_null_decap()
240 append_key(desc, adata->key_dma, adata->keylen, in init_sh_desc_key_aead()
250 append_key(desc, cdata->key_dma, enckeylen, CLASS_1 | in init_sh_desc_key_aead()
650 append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 | in cnstr_shdsc_gcm_encap()
776 append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 | in cnstr_shdsc_gcm_decap()
875 append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 | in cnstr_shdsc_rfc4106_encap()
984 append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 | in cnstr_shdsc_rfc4106_decap()
1078 append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 | in cnstr_shdsc_rfc4543_encap()
1161 append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 | in cnstr_shdsc_rfc4543_decap()
Dcaamalg_qi2.c84 dma_addr_t key_dma; member
218 ctx->adata.key_dma = ctx->key_dma; in aead_set_sh_desc()
221 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
314 dma_sync_single_for_device(dev, ctx->key_dma, ctx->adata.keylen_pad + in aead_setkey()
674 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
694 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
737 dma_sync_single_for_device(dev, ctx->key_dma, keylen, ctx->dir); in gcm_setkey()
767 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
787 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
838 dma_sync_single_for_device(dev, ctx->key_dma, ctx->cdata.keylen, in rfc4106_setkey()
[all …]
Dcaamhash.c370 dma_addr_t key_dma; in hash_digest_key() local
379 key_dma = dma_map_single(jrdev, key, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
380 if (dma_mapping_error(jrdev, key_dma)) { in hash_digest_key()
389 append_seq_in_ptr(desc, key_dma, *keylen, 0); in hash_digest_key()
392 append_seq_out_ptr(desc, key_dma, digestsize, 0); in hash_digest_key()
415 dma_unmap_single(jrdev, key_dma, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
476 ctx->adata.key_dma, in ahash_setkey()
503 dma_sync_single_for_device(jrdev, ctx->adata.key_dma, keylen, in axcbc_setkey()
1821 ctx->adata.key_dma = dma_map_single_attrs(ctx->jrdev, ctx->key, in caam_hash_cra_init()
1825 if (dma_mapping_error(ctx->jrdev, ctx->adata.key_dma)) { in caam_hash_cra_init()
[all …]
Ddesc_constr.h509 dma_addr_t key_dma; member
580 append_ptr(desc, adata->key_dma); in append_proto_dkp()
602 append_ptr(desc, adata->key_dma); in append_proto_dkp()