Lines Matching defs:alg
186 struct ccp_crypto_ahash_alg *alg =
193 rctx->type = alg->type;
333 struct ccp_crypto_ahash_alg *alg = ccp_crypto_ahash_alg(tfm);
336 hmac_tfm = crypto_alloc_shash(alg->child_alg, 0, 0);
339 alg->child_alg);
415 struct ahash_alg *alg;
430 alg = &ccp_alg->alg;
431 alg->setkey = ccp_sha_setkey;
433 halg = &alg->halg;
442 ret = crypto_register_ahash(alg);
459 struct ahash_alg *alg;
472 alg = &ccp_alg->alg;
473 alg->init = ccp_sha_init;
474 alg->update = ccp_sha_update;
475 alg->final = ccp_sha_final;
476 alg->finup = ccp_sha_finup;
477 alg->digest = ccp_sha_digest;
478 alg->export = ccp_sha_export;
479 alg->import = ccp_sha_import;
481 halg = &alg->halg;
500 ret = crypto_register_ahash(alg);