Searched refs:ictx (Results 1 – 7 of 7) sorted by relevance
435 struct ccm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_ccm_init_tfm() local442 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() local503 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 …]
167 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_get_queue() local168 return ictx->queue; in cryptd_get_queue()262 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_blkcipher_init_tfm() local263 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() local378 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() local701 struct crypto_aead_spawn *spawn = &ictx->aead_spawn; in cryptd_aead_init_tfm()
220 struct mcryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in mcryptd_get_queue() local222 return ictx->queue; in mcryptd_get_queue()261 struct hashd_instance_ctx *ictx = crypto_instance_ctx(inst); in mcryptd_hash_init_tfm() local262 struct crypto_shash_spawn *spawn = &ictx->spawn; in mcryptd_hash_init_tfm()
277 struct pcrypt_instance_ctx *ictx = crypto_instance_ctx(inst); in pcrypt_aead_init_tfm() local281 ictx->tfm_count++; in pcrypt_aead_init_tfm()283 cpu_index = ictx->tfm_count % cpumask_weight(cpu_online_mask); in pcrypt_aead_init_tfm()
652 struct gcm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_gcm_init_tfm() local659 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() local1238 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()
550 struct authenc_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_init_tfm() local556 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_init_tfm()560 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_init_tfm()
642 struct authenc_esn_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_esn_init_tfm() local648 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()