Lines Matching defs:ictx
399 struct adiantum_instance_ctx *ictx = skcipher_instance_ctx(inst);
407 streamcipher = crypto_spawn_skcipher(&ictx->streamcipher_spawn);
411 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn);
417 hash = crypto_spawn_shash(&ictx->hash_spawn);
459 struct adiantum_instance_ctx *ictx = skcipher_instance_ctx(inst);
461 crypto_drop_skcipher(&ictx->streamcipher_spawn);
462 crypto_drop_cipher(&ictx->blockcipher_spawn);
463 crypto_drop_shash(&ictx->hash_spawn);
496 struct adiantum_instance_ctx *ictx;
506 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL);
509 ictx = skcipher_instance_ctx(inst);
512 err = crypto_grab_skcipher(&ictx->streamcipher_spawn,
517 streamcipher_alg = crypto_spawn_skcipher_alg(&ictx->streamcipher_spawn);
520 err = crypto_grab_cipher(&ictx->blockcipher_spawn,
525 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn);
531 err = crypto_grab_shash(&ictx->hash_spawn,
536 hash_alg = crypto_spawn_shash_alg(&ictx->hash_spawn);