Lines Matching refs:alg
39 struct ccp_crypto_skcipher_alg *alg = ccp_crypto_skcipher_alg(tfm);
51 ctx->u.des3.mode = alg->mode;
183 struct skcipher_alg *alg;
195 alg = &ccp_alg->alg;
196 *alg = *def->alg_defaults;
197 snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name);
198 snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s",
200 alg->base.cra_blocksize = def->blocksize;
201 alg->ivsize = def->ivsize;
203 ret = crypto_register_skcipher(alg);
206 alg->base.cra_name, ret);