Home
last modified time | relevance | path

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

/crypto/
Dccm.c435 struct ccm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_ccm_init_tfm() local
442 cipher = crypto_spawn_cipher(&ictx->cipher); in crypto_ccm_init_tfm()
446 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_ccm_init_tfm()
484 struct ccm_instance_ctx *ictx; in crypto_ccm_alloc_common() local
503 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL); in crypto_ccm_alloc_common()
508 ictx = crypto_instance_ctx(inst); in crypto_ccm_alloc_common()
510 err = crypto_init_spawn(&ictx->cipher, cipher, inst, in crypto_ccm_alloc_common()
515 crypto_set_skcipher_spawn(&ictx->ctr, inst); in crypto_ccm_alloc_common()
516 err = crypto_grab_skcipher(&ictx->ctr, ctr_name, 0, in crypto_ccm_alloc_common()
522 ctr = crypto_skcipher_spawn_alg(&ictx->ctr); in crypto_ccm_alloc_common()
[all …]
Dcryptd.c167 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_get_queue() local
168 return ictx->queue; in cryptd_get_queue()
262 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_blkcipher_init_tfm() local
263 struct crypto_spawn *spawn = &ictx->spawn; in cryptd_blkcipher_init_tfm()
377 struct hashd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_hash_init_tfm() local
378 struct crypto_shash_spawn *spawn = &ictx->spawn; in cryptd_hash_init_tfm()
700 struct aead_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_aead_init_tfm() local
701 struct crypto_aead_spawn *spawn = &ictx->aead_spawn; in cryptd_aead_init_tfm()
Dmcryptd.c220 struct mcryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in mcryptd_get_queue() local
222 return ictx->queue; in mcryptd_get_queue()
261 struct hashd_instance_ctx *ictx = crypto_instance_ctx(inst); in mcryptd_hash_init_tfm() local
262 struct crypto_shash_spawn *spawn = &ictx->spawn; in mcryptd_hash_init_tfm()
Dpcrypt.c277 struct pcrypt_instance_ctx *ictx = crypto_instance_ctx(inst); in pcrypt_aead_init_tfm() local
281 ictx->tfm_count++; in pcrypt_aead_init_tfm()
283 cpu_index = ictx->tfm_count % cpumask_weight(cpu_online_mask); in pcrypt_aead_init_tfm()
Dgcm.c652 struct gcm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_gcm_init_tfm() local
659 ghash = crypto_spawn_ahash(&ictx->ghash); in crypto_gcm_init_tfm()
663 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_gcm_init_tfm()
1237 struct crypto_rfc4543_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_rfc4543_init_tfm() local
1238 struct crypto_aead_spawn *spawn = &ictx->aead; in crypto_rfc4543_init_tfm()
1249 null = crypto_spawn_blkcipher(&ictx->null.base); in crypto_rfc4543_init_tfm()
Dauthenc.c550 struct authenc_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_init_tfm() local
556 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_init_tfm()
560 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_init_tfm()
Dauthencesn.c642 struct authenc_esn_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_esn_init_tfm() local
648 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_esn_init_tfm()
652 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_esn_init_tfm()