Lines Matching refs:aead_inst
449 struct aead_instance *aead_inst = NULL; in essiv_create() local
498 aead_inst = kzalloc(sizeof(*aead_inst) + in essiv_create()
500 if (!aead_inst) in essiv_create()
502 inst = aead_crypto_instance(aead_inst); in essiv_create()
503 base = &aead_inst->alg.base; in essiv_create()
594 aead_inst->alg.setkey = essiv_aead_setkey; in essiv_create()
595 aead_inst->alg.setauthsize = essiv_aead_setauthsize; in essiv_create()
596 aead_inst->alg.encrypt = essiv_aead_encrypt; in essiv_create()
597 aead_inst->alg.decrypt = essiv_aead_decrypt; in essiv_create()
598 aead_inst->alg.init = essiv_aead_init_tfm; in essiv_create()
599 aead_inst->alg.exit = essiv_aead_exit_tfm; in essiv_create()
601 aead_inst->alg.ivsize = ivsize; in essiv_create()
602 aead_inst->alg.maxauthsize = crypto_aead_alg_maxauthsize(aead_alg); in essiv_create()
603 aead_inst->alg.chunksize = crypto_aead_alg_chunksize(aead_alg); in essiv_create()
605 aead_inst->free = essiv_aead_free_instance; in essiv_create()
607 err = aead_register_instance(tmpl, aead_inst); in essiv_create()
625 kfree(aead_inst); in essiv_create()