Lines Matching defs:alg
187 struct ccp_crypto_ahash_alg *alg =
194 rctx->type = alg->type;
334 struct ccp_crypto_ahash_alg *alg = ccp_crypto_ahash_alg(tfm);
337 hmac_tfm = crypto_alloc_shash(alg->child_alg, 0, 0);
340 alg->child_alg);
416 struct ahash_alg *alg;
431 alg = &ccp_alg->alg;
432 alg->setkey = ccp_sha_setkey;
434 halg = &alg->halg;
443 ret = crypto_register_ahash(alg);
460 struct ahash_alg *alg;
473 alg = &ccp_alg->alg;
474 alg->init = ccp_sha_init;
475 alg->update = ccp_sha_update;
476 alg->final = ccp_sha_final;
477 alg->finup = ccp_sha_finup;
478 alg->digest = ccp_sha_digest;
479 alg->export = ccp_sha_export;
480 alg->import = ccp_sha_import;
482 halg = &alg->halg;
501 ret = crypto_register_ahash(alg);