Lines Matching refs:tls13tbs
255 static int get_cert_verify_tbs_data(SSL_CONNECTION *s, unsigned char *tls13tbs, in get_cert_verify_tbs_data() argument
269 memset(tls13tbs, 32, TLS13_TBS_START_SIZE); in get_cert_verify_tbs_data()
273 strcpy((char *)tls13tbs + TLS13_TBS_START_SIZE, servercontext); in get_cert_verify_tbs_data()
275 strcpy((char *)tls13tbs + TLS13_TBS_START_SIZE, clientcontext); in get_cert_verify_tbs_data()
284 memcpy(tls13tbs + TLS13_TBS_PREAMBLE_SIZE, s->cert_verify_hash, in get_cert_verify_tbs_data()
287 } else if (!ssl_handshake_hash(s, tls13tbs + TLS13_TBS_PREAMBLE_SIZE, in get_cert_verify_tbs_data()
293 *hdata = tls13tbs; in get_cert_verify_tbs_data()
319 unsigned char tls13tbs[TLS13_TBS_PREAMBLE_SIZE + EVP_MAX_MD_SIZE]; in tls_construct_cert_verify() local
341 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_construct_cert_verify()
448 unsigned char tls13tbs[TLS13_TBS_PREAMBLE_SIZE + EVP_MAX_MD_SIZE]; in tls_process_cert_verify() local
525 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_process_cert_verify()