Home
last modified time | relevance | path

Searched refs:tmppkt (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/
H A Dasn1_dsa.c108 WPACKET tmppkt, *dummypkt; in ossl_encode_der_dsa_sig() local
116 if (!WPACKET_init_null(&tmppkt, 0)) in ossl_encode_der_dsa_sig()
118 dummypkt = &tmppkt; in ossl_encode_der_dsa_sig()
189 PACKET contpkt, tmppkt; in ossl_decode_der_integer() local
199 tmppkt = contpkt; in ossl_decode_der_integer()
201 if (!PACKET_get_1(&tmppkt, &tmp) in ossl_decode_der_integer()
205 if (PACKET_remaining(&tmppkt) > 0 && tmp == 0) { in ossl_decode_der_integer()
206 if (!PACKET_get_1(&tmppkt, &tmp) in ossl_decode_der_integer()
/openssl/ssl/
H A Dssl_cert_comp.c197 WPACKET tmppkt; in ssl_get_cert_to_compress() local
208 if (!WPACKET_init(&tmppkt, &buf)) in ssl_get_cert_to_compress()
212 if (!WPACKET_put_bytes_u8(&tmppkt, 0)) in ssl_get_cert_to_compress()
219 if (!ssl3_output_cert_chain(sc, &tmppkt, cpk, 1)) in ssl_get_cert_to_compress()
221 WPACKET_get_total_written(&tmppkt, &ret); in ssl_get_cert_to_compress()
224 WPACKET_cleanup(&tmppkt); in ssl_get_cert_to_compress()
/openssl/ssl/statem/
H A Dstatem_clnt.c2153 PACKET tmppkt; in tls_process_server_compressed_certificate() local
2156 if (tls13_process_compressed_certificate(sc, pkt, &tmppkt, buf) != MSG_PROCESS_ERROR) in tls_process_server_compressed_certificate()
2157 ret = tls_process_server_certificate(sc, &tmppkt); in tls_process_server_compressed_certificate()
3821 WPACKET tmppkt; in tls_construct_client_compressed_certificate() local
3833 if ((buf = BUF_MEM_new()) == NULL || !WPACKET_init(&tmppkt, buf)) in tls_construct_client_compressed_certificate()
3839 if (!WPACKET_put_bytes_u8(&tmppkt, 0)) in tls_construct_client_compressed_certificate()
3841 } else if (!WPACKET_sub_memcpy_u8(&tmppkt, sc->pha_context, sc->pha_context_len)) in tls_construct_client_compressed_certificate()
3844 if (!ssl3_output_cert_chain(sc, &tmppkt, sc->cert->key, 0)) { in tls_construct_client_compressed_certificate()
3851 || !WPACKET_get_total_written(&tmppkt, &length) in tls_construct_client_compressed_certificate()
3909 WPACKET_cleanup(&tmppkt); in tls_construct_client_compressed_certificate()
H A Dstatem_srvr.c1445 PACKET sni, tmppkt; in ssl_check_for_safari() local
1448 tmppkt = hello->extensions; in ssl_check_for_safari()
1450 if (!PACKET_forward(&tmppkt, 2) in ssl_check_for_safari()
1451 || !PACKET_get_net_2(&tmppkt, &type) in ssl_check_for_safari()
1452 || !PACKET_get_length_prefixed_2(&tmppkt, &sni)) { in ssl_check_for_safari()
1463 s->s3.is_probably_safari = PACKET_equal(&tmppkt, kSafariExtensionsBlock, in ssl_check_for_safari()
3805 PACKET tmppkt; in tls_process_client_compressed_certificate() local
3808 if (tls13_process_compressed_certificate(sc, pkt, &tmppkt, buf) != MSG_PROCESS_ERROR) in tls_process_client_compressed_certificate()
3809 ret = tls_process_client_certificate(sc, &tmppkt); in tls_process_client_compressed_certificate()
H A Dextensions_clnt.c1580 PACKET tmppkt; in tls_parse_stoc_npn() local
1594 tmppkt = *pkt; in tls_parse_stoc_npn()
1595 if (!ssl_next_proto_validate(s, &tmppkt)) { in tls_parse_stoc_npn()
H A Dstatem_local.h138 PACKET *tmppkt,
H A Dstatem_lib.c2836 PACKET *tmppkt, in tls13_process_compressed_certificate() argument
2901 || !PACKET_buf_init(tmppkt, (unsigned char *)buf->data, expected_length) in tls13_process_compressed_certificate()

Completed in 36 milliseconds