Lines Matching refs:halg
632 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in mxs_dcp_run_sha() local
636 memcpy(sdcp->coh->sha_out_buf, sha_buf, halg->digestsize); in mxs_dcp_run_sha()
673 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_req_to_buf() local
730 for (i = 0; i < halg->digestsize; i++) in dcp_sha_req_to_buf()
731 req->result[i] = out_buf[halg->digestsize - i - 1]; in dcp_sha_req_to_buf()
778 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_init() local
786 if (strcmp(halg->base.cra_name, "sha1") == 0) in dcp_sha_init()
987 .halg = {
1013 .halg = {
1182 dcp_sha1_alg.halg.base.cra_name); in mxs_dcp_probe()
1191 dcp_sha256_alg.halg.base.cra_name); in mxs_dcp_probe()