Home
last modified time | relevance | path

Searched refs:hdatalen (Results 1 – 3 of 3) sorted by relevance

/openssl/ssl/
H A Ds3_enc.c275 long hdatalen; in ssl3_digest_cached_records() local
279 hdatalen = BIO_get_mem_data(s->s3.handshake_buffer, &hdata); in ssl3_digest_cached_records()
280 if (hdatalen <= 0) { in ssl3_digest_cached_records()
298 || !EVP_DigestUpdate(s->s3.handshake_dgst, hdata, hdatalen)) { in ssl3_digest_cached_records()
/openssl/ssl/statem/
H A Dstatem_lib.c256 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()
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()
[all …]
H A Dextensions.c1635 size_t hdatalen; in tls_psk_do_binder() local
1639 hdatalen = hdatalen_l = in tls_psk_do_binder()
1654 if (!PACKET_buf_init(&hashprefix, hdata, hdatalen) in tls_psk_do_binder()
1662 hdatalen -= PACKET_remaining(&hashprefix); in tls_psk_do_binder()
1665 if (EVP_DigestUpdate(mctx, hdata, hdatalen) <= 0) { in tls_psk_do_binder()

Completed in 16 milliseconds