Lines Matching refs:hm
301 const hash_mapping *hm; in _ec_sign_init() local
311 for (i = 0, hm = &hash_maps[i]; in _ec_sign_init()
312 hm->type != UNKNOWN_HASH_ALG; hm = &hash_maps[++i]) { in _ec_sign_init()
313 if (hm->type == hash_type) { in _ec_sign_init()
356 ret = hash_mapping_sanity_check(hm); EG(ret, err); in _ec_sign_init()
363 ctx->h = hm; in _ec_sign_init()
517 const hash_mapping *hm; in ec_verify_init() local
527 for (i = 0, hm = &hash_maps[i]; in ec_verify_init()
528 hm->type != UNKNOWN_HASH_ALG; hm = &hash_maps[++i]) { in ec_verify_init()
529 if (hm->type == hash_type) { in ec_verify_init()
555 ret = hash_mapping_sanity_check(hm); EG(ret, err); in ec_verify_init()
561 ctx->h = hm; in ec_verify_init()