Home
last modified time | relevance | path

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

/drivers/crypto/caam/
Dcaamalg_qi.c64 dma_addr_t key_dma; member
123 ctx->adata.key_dma = ctx->key_dma; in aead_set_sh_desc()
126 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
228 dma_sync_single_for_device(jrdev->parent, ctx->key_dma, in aead_setkey()
242 dma_sync_single_for_device(jrdev->parent, ctx->key_dma, in aead_setkey()
319 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
334 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
373 dma_sync_single_for_device(jrdev->parent, ctx->key_dma, keylen, in gcm_setkey()
423 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()
[all …]
Dcaamalg.c113 dma_addr_t key_dma; member
150 ctx->adata.key_dma = ctx->key_dma; in aead_null_set_sh_desc()
169 ctx->adata.key_dma = ctx->key_dma; in aead_null_set_sh_desc()
230 ctx->adata.key_dma = ctx->key_dma; in aead_set_sh_desc()
233 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
345 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
362 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
410 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
428 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
478 ctx->cdata.key_dma = ctx->key_dma; in rfc4543_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_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.c79 dma_addr_t key_dma; member
213 ctx->adata.key_dma = ctx->key_dma; in aead_set_sh_desc()
216 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
309 dma_sync_single_for_device(dev, ctx->key_dma, ctx->adata.keylen_pad + in aead_setkey()
669 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
689 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
732 dma_sync_single_for_device(dev, ctx->key_dma, keylen, ctx->dir); in gcm_setkey()
762 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
782 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
833 dma_sync_single_for_device(dev, ctx->key_dma, ctx->cdata.keylen, in rfc4106_setkey()
[all …]
Dcaamhash.c365 dma_addr_t key_dma; in hash_digest_key() local
376 key_dma = dma_map_single(jrdev, key, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
377 if (dma_mapping_error(jrdev, key_dma)) { in hash_digest_key()
386 append_seq_in_ptr(desc, key_dma, *keylen, 0); in hash_digest_key()
389 append_seq_out_ptr(desc, key_dma, digestsize, 0); in hash_digest_key()
412 dma_unmap_single(jrdev, key_dma, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
467 ctx->adata.key_dma, in ahash_setkey()
494 dma_sync_single_for_device(jrdev, ctx->adata.key_dma, keylen, in axcbc_setkey()
1812 ctx->adata.key_dma = dma_map_single_attrs(ctx->jrdev, ctx->key, in caam_hash_cra_init()
1816 if (dma_mapping_error(ctx->jrdev, ctx->adata.key_dma)) { in caam_hash_cra_init()
[all …]
Ddesc_constr.h508 dma_addr_t key_dma; member
579 append_ptr(desc, adata->key_dma); in append_proto_dkp()
601 append_ptr(desc, adata->key_dma); in append_proto_dkp()