Lines Matching full:alg

414 	struct crypto_alg *alg;  in essiv_supported_algorithms()  local
417 alg = crypto_alg_mod_lookup(essiv_cipher_name, in essiv_supported_algorithms()
420 if (IS_ERR(alg)) in essiv_supported_algorithms()
423 if (hash_alg->digestsize < alg->cra_cipher.cia_min_keysize || in essiv_supported_algorithms()
424 hash_alg->digestsize > alg->cra_cipher.cia_max_keysize) in essiv_supported_algorithms()
427 if (ivsize != alg->cra_blocksize) in essiv_supported_algorithms()
436 crypto_mod_put(alg); in essiv_supported_algorithms()
481 base = &skcipher_inst->alg.base; in essiv_create()
501 base = &aead_inst->alg.base; in essiv_create()
575 skcipher_inst->alg.setkey = essiv_skcipher_setkey; in essiv_create()
576 skcipher_inst->alg.encrypt = essiv_skcipher_encrypt; in essiv_create()
577 skcipher_inst->alg.decrypt = essiv_skcipher_decrypt; in essiv_create()
578 skcipher_inst->alg.init = essiv_skcipher_init_tfm; in essiv_create()
579 skcipher_inst->alg.exit = essiv_skcipher_exit_tfm; in essiv_create()
581 skcipher_inst->alg.min_keysize = skcipher_alg->min_keysize; in essiv_create()
582 skcipher_inst->alg.max_keysize = skcipher_alg->max_keysize; in essiv_create()
583 skcipher_inst->alg.ivsize = ivsize; in essiv_create()
584 skcipher_inst->alg.chunksize = skcipher_alg->chunksize; in essiv_create()
590 aead_inst->alg.setkey = essiv_aead_setkey; in essiv_create()
591 aead_inst->alg.setauthsize = essiv_aead_setauthsize; in essiv_create()
592 aead_inst->alg.encrypt = essiv_aead_encrypt; in essiv_create()
593 aead_inst->alg.decrypt = essiv_aead_decrypt; in essiv_create()
594 aead_inst->alg.init = essiv_aead_init_tfm; in essiv_create()
595 aead_inst->alg.exit = essiv_aead_exit_tfm; in essiv_create()
597 aead_inst->alg.ivsize = ivsize; in essiv_create()
598 aead_inst->alg.maxauthsize = crypto_aead_alg_maxauthsize(aead_alg); in essiv_create()
599 aead_inst->alg.chunksize = crypto_aead_alg_chunksize(aead_alg); in essiv_create()