Lines Matching refs:alg

129 	inst->alg.co.base.cra_blocksize = cipher_alg->cra_blocksize;  in lskcipher_alloc_instance_simple2()
130 inst->alg.co.base.cra_alignmask = cipher_alg->cra_alignmask; in lskcipher_alloc_instance_simple2()
131 inst->alg.co.base.cra_priority = cipher_alg->cra_priority; in lskcipher_alloc_instance_simple2()
132 inst->alg.co.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in lskcipher_alloc_instance_simple2()
133 inst->alg.co.max_keysize = cipher_alg->cra_cipher.cia_max_keysize; in lskcipher_alloc_instance_simple2()
134 inst->alg.co.ivsize = cipher_alg->cra_blocksize; in lskcipher_alloc_instance_simple2()
137 inst->alg.co.base.cra_ctxsize = sizeof(struct crypto_cipher *); in lskcipher_alloc_instance_simple2()
138 inst->alg.setkey = lskcipher_setkey_simple2; in lskcipher_alloc_instance_simple2()
139 inst->alg.init = lskcipher_init_tfm_simple2; in lskcipher_alloc_instance_simple2()
140 inst->alg.exit = lskcipher_exit_tfm_simple2; in lskcipher_alloc_instance_simple2()
159 inst->alg.co.ivsize = 0; in crypto_ecb_create2()
161 inst->alg.encrypt = crypto_ecb_encrypt2; in crypto_ecb_create2()
162 inst->alg.decrypt = crypto_ecb_decrypt2; in crypto_ecb_create2()
188 inst->alg.co.ivsize = 0; in crypto_ecb_create()
192 inst->alg.co.base.cra_ctxsize = cipher_alg->co.base.cra_ctxsize; in crypto_ecb_create()
193 inst->alg.setkey = cipher_alg->setkey; in crypto_ecb_create()
194 inst->alg.encrypt = cipher_alg->encrypt; in crypto_ecb_create()
195 inst->alg.decrypt = cipher_alg->decrypt; in crypto_ecb_create()
196 inst->alg.init = cipher_alg->init; in crypto_ecb_create()
197 inst->alg.exit = cipher_alg->exit; in crypto_ecb_create()