Lines Matching defs:ictx
337 struct hctr2_instance_ctx *ictx = skcipher_instance_ctx(inst);
345 xctr = crypto_spawn_skcipher(&ictx->xctr_spawn);
349 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn);
355 polyval = crypto_spawn_shash(&ictx->polyval_spawn);
396 struct hctr2_instance_ctx *ictx = skcipher_instance_ctx(inst);
398 crypto_drop_cipher(&ictx->blockcipher_spawn);
399 crypto_drop_skcipher(&ictx->xctr_spawn);
400 crypto_drop_shash(&ictx->polyval_spawn);
411 struct hctr2_instance_ctx *ictx;
423 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL);
426 ictx = skcipher_instance_ctx(inst);
429 err = crypto_grab_skcipher(&ictx->xctr_spawn,
434 xctr_alg = crypto_spawn_skcipher_alg(&ictx->xctr_spawn);
448 err = crypto_grab_cipher(&ictx->blockcipher_spawn,
453 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn);
461 err = crypto_grab_shash(&ictx->polyval_spawn,
466 polyval_alg = crypto_spawn_shash_alg(&ictx->polyval_spawn);