Lines Matching refs:inst
175 struct skcipher_instance *inst;
179 inst = skcipher_alloc_instance_simple(tmpl, tb);
180 if (IS_ERR(inst))
181 return PTR_ERR(inst);
183 alg = skcipher_ialg_simple(inst);
189 inst->alg.encrypt = crypto_cbc_encrypt;
190 inst->alg.decrypt = crypto_cbc_decrypt;
192 err = skcipher_register_instance(tmpl, inst);
195 inst->free(inst);