Lines Matching refs:hdatalen
256 void **hdata, size_t *hdatalen) in get_cert_verify_tbs_data() argument
294 *hdatalen = TLS13_TBS_PREAMBLE_SIZE + hashlen; in get_cert_verify_tbs_data()
304 *hdatalen = retlen; in get_cert_verify_tbs_data()
316 size_t hdatalen = 0, siglen = 0; in tls_construct_cert_verify() local
341 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_construct_cert_verify()
372 if (EVP_DigestSignUpdate(mctx, hdata, hdatalen) <= 0 in tls_construct_cert_verify()
392 if (EVP_DigestSign(mctx, NULL, &siglen, hdata, hdatalen) <= 0) { in tls_construct_cert_verify()
398 || EVP_DigestSign(mctx, sig, &siglen, hdata, hdatalen) <= 0) { in tls_construct_cert_verify()
446 size_t hdatalen = 0; in tls_process_cert_verify() local
525 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_process_cert_verify()
563 if (EVP_DigestVerifyUpdate(mctx, hdata, hdatalen) <= 0 in tls_process_cert_verify()
575 j = EVP_DigestVerify(mctx, data, len, hdata, hdatalen); in tls_process_cert_verify()