Home
last modified time | relevance | path

Searched refs:WPACKET_allocate_bytes (Results 1 – 11 of 11) sorted by relevance

/freebsd/crypto/openssl/crypto/
H A Dpacket.c16 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_allocate_bytes() function
30 || !WPACKET_allocate_bytes(pkt, len, allocbytes) in WPACKET_sub_allocate_bytes__()
118 if (!WPACKET_allocate_bytes(pkt, lenbytes, &lenchars)) { in wpacket_intern_init_len()
371 if (!WPACKET_allocate_bytes(pkt, lenbytes, &lenchars)) in WPACKET_start_sub_packet_len__()
388 || !WPACKET_allocate_bytes(pkt, size, &data) in WPACKET_put_bytes__()
427 if (!WPACKET_allocate_bytes(pkt, len, &dest)) in WPACKET_memset()
443 if (!WPACKET_allocate_bytes(pkt, len, &dest)) in WPACKET_memcpy()
H A Dasn1_dsa.c88 || !WPACKET_allocate_bytes(pkt, cont_len, &bnbytes) in ossl_encode_der_integer()
H A Dder_writer.c144 if (!WPACKET_allocate_bytes(pkt, n, &p)) in int_put_bytes_bn()
/freebsd/crypto/openssl/ssl/record/
H A Drec_layer_s3.c807 || !WPACKET_allocate_bytes(&pkt[0], align, NULL)) { in do_ssl3_write()
817 || !WPACKET_allocate_bytes(&pkt[0], SSL3_BUFFER_get_offset(wb) in do_ssl3_write()
835 || !WPACKET_allocate_bytes(thispkt, align, NULL)) { in do_ssl3_write()
914 && !WPACKET_allocate_bytes(thispkt, eivlen, NULL)) in do_ssl3_write()
936 || !WPACKET_allocate_bytes(thispkt, thiswr->length, NULL)) { in do_ssl3_write()
1011 if (!WPACKET_allocate_bytes(thispkt, mac_size, &mac) in do_ssl3_write()
1085 && !WPACKET_allocate_bytes(thispkt, in do_ssl3_write()
1094 if (!WPACKET_allocate_bytes(thispkt, mac_size, &mac) in do_ssl3_write()
/freebsd/crypto/openssl/ssl/statem/
H A Dextensions_srvr.c1774 if (!WPACKET_allocate_bytes(pkt, hashlen, &hashval2) in tls_construct_stoc_cookie()
1789 if (!WPACKET_allocate_bytes(pkt, appcookielen, &appcookie2) in tls_construct_stoc_cookie()
1829 if (!WPACKET_allocate_bytes(pkt, hmaclen, &hmac2) in tls_construct_stoc_cookie()
H A Dstatem_srvr.c2621 if (!WPACKET_allocate_bytes(pkt, len, &binval)) { in tls_construct_server_key_exchange()
2629 if (!WPACKET_allocate_bytes(pkt, BN_num_bytes(r[i]), &binval) in tls_construct_server_key_exchange()
3831 || !WPACKET_allocate_bytes(pkt, len, &encdata2) in construct_stateless_ticket()
3834 || !WPACKET_allocate_bytes(pkt, lenfinal, &encdata2) in construct_stateless_ticket()
3844 || !WPACKET_allocate_bytes(pkt, hlen, &macdata2) in construct_stateless_ticket()
H A Dstatem_dtls.c1330 if (!WPACKET_allocate_bytes(pkt, DTLS1_HM_HEADER_LENGTH, &header) in dtls1_set_handshake_header()
H A Dstatem_clnt.c2874 if (!WPACKET_allocate_bytes(pkt, enclen, &encdata) in tls_construct_cke_rsa()
3233 if (!WPACKET_allocate_bytes(pkt, msglen, &encdata) in tls_construct_cke_gost18()
H A Dextensions_clnt.c370 if (!WPACKET_allocate_bytes(pkt, extlen, &extbytes) in tls_construct_ctos_status_request()
/freebsd/crypto/openssl/test/
H A Dwpackettest.c309 || !TEST_true(WPACKET_allocate_bytes(&pkt, 2, &bytes))) in test_WPACKET_allocate_bytes()
/freebsd/crypto/openssl/include/internal/
H A Dpacket.h799 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len,