Home
last modified time | relevance | path

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

/third_party/openssl/ssl/statem/
Dstatem_lib.c169 void **hdata, size_t *hdatalen) in get_cert_verify_tbs_data() argument
213 *hdatalen = TLS13_TBS_PREAMBLE_SIZE + hashlen; in get_cert_verify_tbs_data()
224 *hdatalen = retlen; in get_cert_verify_tbs_data()
236 size_t hdatalen = 0, siglen = 0; in tls_construct_cert_verify() local
263 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_construct_cert_verify()
297 if (EVP_DigestSignUpdate(mctx, hdata, hdatalen) <= 0 in tls_construct_cert_verify()
307 } else if (EVP_DigestSign(mctx, sig, &siglen, hdata, hdatalen) <= 0) { in tls_construct_cert_verify()
357 size_t hdatalen = 0; in tls_process_cert_verify() local
447 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_process_cert_verify()
488 if (EVP_DigestVerifyUpdate(mctx, hdata, hdatalen) <= 0 in tls_process_cert_verify()
[all …]
Dextensions.c1571 size_t hdatalen; in tls_psk_do_binder() local
1575 hdatalen = hdatalen_l = in tls_psk_do_binder()
1591 if (!PACKET_buf_init(&hashprefix, hdata, hdatalen) in tls_psk_do_binder()
1600 hdatalen -= PACKET_remaining(&hashprefix); in tls_psk_do_binder()
1603 if (EVP_DigestUpdate(mctx, hdata, hdatalen) <= 0) { in tls_psk_do_binder()
/third_party/openssl/ssl/
Ds3_enc.c379 long hdatalen; in ssl3_digest_cached_records() local
383 hdatalen = BIO_get_mem_data(s->s3->handshake_buffer, &hdata); in ssl3_digest_cached_records()
384 if (hdatalen <= 0) { in ssl3_digest_cached_records()
399 || !EVP_DigestUpdate(s->s3->handshake_dgst, hdata, hdatalen)) { in ssl3_digest_cached_records()