Lines Matching refs:hc
518 const br_hash_class *hc; in sp_do_sign() local
527 hc = get_hash_impl(algo_id); in sp_do_sign()
528 if (hc == NULL) { in sp_do_sign()
536 hc->init(&zc.vtable); in sp_do_sign()
537 hc->update(&zc.vtable, data, hv_len); in sp_do_sign()
538 hc->out(&zc.vtable, hv); in sp_do_sign()
539 hv_len = (hc->desc >> BR_HASHDESC_OUT_OFF) in sp_do_sign()
546 const br_hash_class *hc; in sp_do_sign() local
580 hc = get_hash_impl(algo_id); in sp_do_sign()
581 if (hc == NULL) { in sp_do_sign()
598 br_ec_get_default(), hc, hv, &pc->sk->key.ec, data); in sp_do_sign()
1081 const br_hash_class *hc; in do_server() local
1084 hc = hash_functions[u].hclass; in do_server()
1085 id = (hc->desc >> BR_HASHDESC_ID_OFF) & BR_HASHDESC_ID_MASK; in do_server()
1087 dnhash = hc; in do_server()
1088 br_ssl_engine_set_hash(&cc.eng, id, hc); in do_server()
1137 const br_hash_class *hc; in do_server() local
1140 hc = hash_functions[u].hclass; in do_server()
1141 id = (hc->desc >> BR_HASHDESC_ID_OFF) in do_server()
1144 br_x509_minimal_set_hash(&xc, id, hc); in do_server()