Lines Matching refs:halg
581 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in mxs_dcp_run_sha() local
585 memcpy(sdcp->coh->sha_out_buf, sha_buf, halg->digestsize); in mxs_dcp_run_sha()
622 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_req_to_buf() local
679 for (i = 0; i < halg->digestsize; i++) in dcp_sha_req_to_buf()
680 req->result[i] = out_buf[halg->digestsize - i - 1]; in dcp_sha_req_to_buf()
727 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_init() local
735 if (strcmp(halg->base.cra_name, "sha1") == 0) in dcp_sha_init()
903 .halg = {
930 .halg = {
1106 dcp_sha1_alg.halg.base.cra_name); in mxs_dcp_probe()
1115 dcp_sha256_alg.halg.base.cra_name); in mxs_dcp_probe()