Home
last modified time | relevance | path

Searched refs:ccp_ctx (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes.c25 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_complete()
40 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_setkey()
69 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_crypt()
125 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_cra_init()
154 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_rfc3686_setkey()
167 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_rfc3686_crypt()
200 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_rfc3686_cra_init()
220 .cra_ctxsize = sizeof(struct ccp_ctx),
241 .cra_ctxsize = sizeof(struct ccp_ctx),
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),
Dccp-crypto-des3.c24 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_des3_complete()
39 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_des3_setkey()
63 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_des3_crypt()
120 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_des3_cra_init()
140 .cra_ctxsize = sizeof(struct ccp_ctx),
Dccp-crypto-aes-xts.c79 struct ccp_ctx *ctx = crypto_tfm_ctx(xfm); in ccp_aes_xts_setkey()
108 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_xts_crypt()
200 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_xts_cra_init()
222 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_xts_cra_exit()
249 alg->cra_ctxsize = sizeof(struct ccp_ctx); in ccp_register_aes_xts_alg()
Dccp-crypto-aes-galois.c32 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_setkey()
80 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_crypt()
152 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_cra_init()
180 .cra_ctxsize = sizeof(struct ccp_ctx),
Dccp-crypto-sha.c60 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_sha_update()
183 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_sha_init()
273 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_sha_setkey()
321 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_sha_cra_init()
338 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_hmac_sha_cra_init()
356 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_hmac_sha_cra_exit()
499 base->cra_ctxsize = sizeof(struct ccp_ctx); in ccp_register_sha_alg()
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()
338 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()
Dccp-crypto.h258 struct ccp_ctx { struct
Dccp-crypto-main.c149 struct ccp_ctx *ctx = crypto_tfm_ctx(req->tfm); in ccp_crypto_complete()