Lines Matching refs:halg
586 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in mxs_dcp_run_sha() local
590 memcpy(sdcp->coh->sha_out_buf, sha_buf, halg->digestsize); in mxs_dcp_run_sha()
623 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_req_to_buf() local
683 for (i = 0; i < halg->digestsize; i++) in dcp_sha_req_to_buf()
684 req->result[i] = out_buf[halg->digestsize - i - 1]; in dcp_sha_req_to_buf()
731 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_init() local
739 if (strcmp(halg->base.cra_name, "sha1") == 0) in dcp_sha_init()
917 .halg = {
944 .halg = {
1120 dcp_sha1_alg.halg.base.cra_name); in mxs_dcp_probe()
1129 dcp_sha256_alg.halg.base.cra_name); in mxs_dcp_probe()