Lines Matching refs:alg
40 struct ccp_crypto_skcipher_alg *alg = ccp_crypto_skcipher_alg(tfm);
52 ctx->u.des3.mode = alg->mode;
181 struct skcipher_alg *alg;
193 alg = &ccp_alg->alg;
194 *alg = *def->alg_defaults;
195 snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name);
196 snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s",
198 alg->base.cra_blocksize = def->blocksize;
199 alg->ivsize = def->ivsize;
201 ret = crypto_register_skcipher(alg);
204 alg->base.cra_name, ret);