Home
last modified time | relevance | path

Searched refs:ccp_ctx (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c59 struct ccp_ctx *ctx = akcipher_tfm_ctx(tfm); in ccp_rsa_maxsize()
67 struct ccp_ctx *ctx = akcipher_tfm_ctx(tfm); in ccp_rsa_crypt()
112 static void ccp_rsa_free_key_bufs(struct ccp_ctx *ctx) in ccp_rsa_free_key_bufs()
129 struct ccp_ctx *ctx = akcipher_tfm_ctx(tfm); in ccp_rsa_setkey()
195 struct ccp_ctx *ctx = akcipher_tfm_ctx(tfm); in ccp_rsa_init_tfm()
205 struct ccp_ctx *ctx = crypto_tfm_ctx(&tfm->base); in ccp_rsa_exit_tfm()
223 .cra_ctxsize = 2 * sizeof(struct ccp_ctx),
H A Dccp-crypto-aes.c25 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_complete()
41 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_setkey()
68 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_crypt()
124 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_init_tfm()
149 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_rfc3686_setkey()
163 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_rfc3686_crypt()
196 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_rfc3686_init_tfm()
219 .base.cra_ctxsize = sizeof(struct ccp_ctx),
237 .base.cra_ctxsize = sizeof(struct ccp_ctx),
H A Dccp-crypto-aes-galois.c32 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_setkey()
79 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_crypt()
151 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_cra_init()
179 .cra_ctxsize = sizeof(struct ccp_ctx),
H A Dccp-crypto-aes-xts.c78 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_xts_setkey()
108 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_xts_crypt()
199 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_xts_init_tfm()
221 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_aes_xts_exit_tfm()
249 alg->base.cra_ctxsize = sizeof(struct ccp_ctx); in ccp_register_aes_xts_alg()
H A Dccp-crypto-des3.c24 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_des3_complete()
40 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_des3_setkey()
63 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_des3_crypt()
120 struct ccp_ctx *ctx = crypto_skcipher_ctx(tfm); in ccp_des3_init_tfm()
143 .base.cra_ctxsize = sizeof(struct ccp_ctx),
H A Dccp-crypto-sha.c61 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_sha_update()
184 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_sha_init()
274 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_sha_setkey()
315 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_sha_cra_init()
332 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_hmac_sha_cra_init()
350 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_hmac_sha_cra_exit()
494 base->cra_ctxsize = sizeof(struct ccp_ctx); in ccp_register_sha_alg()
H A Dccp-crypto-aes-cmac.c59 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_cmac_update()
259 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
337 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_cmac_cra_init()
385 base->cra_ctxsize = sizeof(struct ccp_ctx); in ccp_register_aes_cmac_algs()
H A Dccp-crypto.h261 struct ccp_ctx { struct
H A Dccp-crypto-main.c149 struct ccp_ctx *ctx = crypto_tfm_ctx(req->tfm); in ccp_crypto_complete()
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c59 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in ccp_rsa_maxsize()
67 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in ccp_rsa_crypt()
112 static void ccp_rsa_free_key_bufs(struct ccp_ctx *ctx) in ccp_rsa_free_key_bufs()
129 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in ccp_rsa_setkey()
195 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in ccp_rsa_init_tfm()
205 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in ccp_rsa_exit_tfm()
223 .cra_ctxsize = 2 * sizeof(struct ccp_ctx) + CRYPTO_DMA_PADDING,
H A Dccp-crypto-aes.c25 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma( in ccp_aes_complete()
42 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_setkey()
69 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_crypt()
122 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_init_tfm()
147 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_rfc3686_setkey()
161 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_rfc3686_crypt()
194 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_rfc3686_init_tfm()
217 .base.cra_ctxsize = sizeof(struct ccp_ctx) + CRYPTO_DMA_PADDING,
235 .base.cra_ctxsize = sizeof(struct ccp_ctx) + CRYPTO_DMA_PADDING,
H A Dccp-crypto-des3.c24 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma( in ccp_des3_complete()
41 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_des3_setkey()
64 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_des3_crypt()
118 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_des3_init_tfm()
141 .base.cra_ctxsize = sizeof(struct ccp_ctx) + CRYPTO_DMA_PADDING,
H A Dccp-crypto-aes-galois.c32 struct ccp_ctx *ctx = crypto_aead_ctx_dma(tfm); in ccp_aes_gcm_setkey()
79 struct ccp_ctx *ctx = crypto_aead_ctx_dma(tfm); in ccp_aes_gcm_crypt()
151 struct ccp_ctx *ctx = crypto_aead_ctx_dma(tfm); in ccp_aes_gcm_cra_init()
179 .cra_ctxsize = sizeof(struct ccp_ctx) + CRYPTO_DMA_PADDING,
H A Dccp-crypto-aes-xts.c78 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_xts_setkey()
108 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_xts_crypt()
199 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_xts_init_tfm()
222 struct ccp_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in ccp_aes_xts_exit_tfm()
250 alg->base.cra_ctxsize = sizeof(struct ccp_ctx) + in ccp_register_aes_xts_alg()
H A Dccp-crypto-sha.c62 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(tfm); in ccp_do_sha_update()
185 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(tfm); in ccp_sha_init()
275 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(tfm); in ccp_sha_setkey()
317 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ccp_sha_cra_init()
333 struct ccp_ctx *ctx = crypto_tfm_ctx_dma(tfm); in ccp_hmac_sha_cra_init()
351 struct ccp_ctx *ctx = crypto_tfm_ctx_dma(tfm); in ccp_hmac_sha_cra_exit()
495 base->cra_ctxsize = sizeof(struct ccp_ctx) + crypto_dma_padding(); in ccp_register_sha_alg()
H A Dccp-crypto-aes-cmac.c59 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(tfm); in ccp_do_cmac_update()
259 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(tfm); in ccp_aes_cmac_setkey()
337 struct ccp_ctx *ctx = crypto_tfm_ctx_dma(tfm); in ccp_aes_cmac_cra_init()
386 base->cra_ctxsize = sizeof(struct ccp_ctx) + crypto_dma_padding(); in ccp_register_aes_cmac_algs()
H A Dccp-crypto.h262 struct ccp_ctx { struct
H A Dccp-crypto-main.c142 struct ccp_ctx *ctx = crypto_tfm_ctx_dma(req->tfm); in ccp_crypto_complete()

Completed in 10 milliseconds