Home
last modified time | relevance | path

Searched refs:WPACKET (Results 1 – 25 of 52) sorted by relevance

123

/third_party/openssl/ssl/statem/
Dstatem_local.h62 typedef int (*confunc_f) (SSL *s, WPACKET *pkt);
72 int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt);
83 int ossl_statem_client_construct_message(SSL *s, WPACKET *pkt,
96 int ossl_statem_server_construct_message(SSL *s, WPACKET *pkt,
112 __owur int tls_construct_change_cipher_spec(SSL *s, WPACKET *pkt);
113 __owur int dtls_construct_change_cipher_spec(SSL *s, WPACKET *pkt);
115 __owur int tls_construct_finished(SSL *s, WPACKET *pkt);
116 __owur int tls_construct_key_update(SSL *s, WPACKET *pkt);
123 __owur int tls_construct_client_hello(SSL *s, WPACKET *pkt);
130 __owur int tls_construct_cert_verify(SSL *s, WPACKET *pkt);
[all …]
Dextensions_clnt.c15 EXT_RETURN tls_construct_ctos_renegotiate(SSL *s, WPACKET *pkt, in tls_construct_ctos_renegotiate()
35 EXT_RETURN tls_construct_ctos_server_name(SSL *s, WPACKET *pkt, in tls_construct_ctos_server_name()
61 EXT_RETURN tls_construct_ctos_maxfragmentlen(SSL *s, WPACKET *pkt, in tls_construct_ctos_maxfragmentlen()
86 EXT_RETURN tls_construct_ctos_srp(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_ctos_srp()
154 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL *s, WPACKET *pkt, in tls_construct_ctos_ec_pt_formats()
185 EXT_RETURN tls_construct_ctos_supported_groups(SSL *s, WPACKET *pkt, in tls_construct_ctos_supported_groups()
254 EXT_RETURN tls_construct_ctos_session_ticket(SSL *s, WPACKET *pkt, in tls_construct_ctos_session_ticket()
295 EXT_RETURN tls_construct_ctos_sig_algs(SSL *s, WPACKET *pkt, in tls_construct_ctos_sig_algs()
322 EXT_RETURN tls_construct_ctos_status_request(SSL *s, WPACKET *pkt, in tls_construct_ctos_status_request()
387 EXT_RETURN tls_construct_ctos_npn(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_ctos_npn()
[all …]
Dextensions_srvr.c695 WPACKET hrrpkt; in tls_parse_ctos_cookie()
1238 EXT_RETURN tls_construct_stoc_renegotiate(SSL *s, WPACKET *pkt, in tls_construct_stoc_renegotiate()
1262 EXT_RETURN tls_construct_stoc_server_name(SSL *s, WPACKET *pkt, in tls_construct_stoc_server_name()
1286 EXT_RETURN tls_construct_stoc_maxfragmentlen(SSL *s, WPACKET *pkt, in tls_construct_stoc_maxfragmentlen()
1308 EXT_RETURN tls_construct_stoc_ec_pt_formats(SSL *s, WPACKET *pkt, in tls_construct_stoc_ec_pt_formats()
1334 EXT_RETURN tls_construct_stoc_supported_groups(SSL *s, WPACKET *pkt, in tls_construct_stoc_supported_groups()
1394 EXT_RETURN tls_construct_stoc_session_ticket(SSL *s, WPACKET *pkt, in tls_construct_stoc_session_ticket()
1413 EXT_RETURN tls_construct_stoc_status_request(SSL *s, WPACKET *pkt, in tls_construct_stoc_status_request()
1452 EXT_RETURN tls_construct_stoc_next_proto_neg(SSL *s, WPACKET *pkt, in tls_construct_stoc_next_proto_neg()
1480 EXT_RETURN tls_construct_stoc_alpn(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_stoc_alpn()
[all …]
/third_party/openssl/crypto/
Dpacket.c16 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_allocate_bytes()
26 int WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len, in WPACKET_sub_allocate_bytes__()
43 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_reserve_bytes()
77 int WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len, in WPACKET_sub_reserve_bytes__()
100 static int wpacket_intern_init_len(WPACKET *pkt, size_t lenbytes) in wpacket_intern_init_len()
128 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, in WPACKET_init_static_len()
145 int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len) in WPACKET_init_der()
159 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes) in WPACKET_init_len()
173 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf) in WPACKET_init()
178 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes) in WPACKET_init_null()
[all …]
Dder_writer.c16 static int int_start_context(WPACKET *pkt, int tag) in int_start_context()
25 static int int_end_context(WPACKET *pkt, int tag) in int_end_context()
51 int ossl_DER_w_precompiled(WPACKET *pkt, int tag, in ossl_DER_w_precompiled()
60 int ossl_DER_w_boolean(WPACKET *pkt, int tag, int b) in ossl_DER_w_boolean()
70 int ossl_DER_w_octet_string(WPACKET *pkt, int tag, in ossl_DER_w_octet_string()
81 int ossl_DER_w_octet_string_uint32(WPACKET *pkt, int tag, uint32_t value) in ossl_DER_w_octet_string_uint32()
93 static int int_der_w_integer(WPACKET *pkt, int tag, in int_der_w_integer()
94 int (*put_bytes)(WPACKET *pkt, const void *v, in int_der_w_integer()
109 static int int_put_bytes_uint32(WPACKET *pkt, const void *v, in int_put_bytes_uint32()
128 int ossl_DER_w_uint32(WPACKET *pkt, int tag, uint32_t v) in ossl_DER_w_uint32()
[all …]
Dasn1_dsa.c39 int ossl_encode_der_length(WPACKET *pkt, size_t cont_len) in ossl_encode_der_length()
66 int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n) in ossl_encode_der_integer()
106 int ossl_encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s) in ossl_encode_der_dsa_sig()
108 WPACKET tmppkt, *dummypkt; in ossl_encode_der_dsa_sig()
/third_party/openssl/include/internal/
Dder.h72 int ossl_DER_w_precompiled(WPACKET *pkt, int tag,
76 int ossl_DER_w_boolean(WPACKET *pkt, int tag, int b);
77 int ossl_DER_w_uint32(WPACKET *pkt, int tag, uint32_t v);
78 int ossl_DER_w_bn(WPACKET *pkt, int tag, const BIGNUM *v);
79 int ossl_DER_w_null(WPACKET *pkt, int tag);
80 int ossl_DER_w_octet_string(WPACKET *pkt, int tag,
82 int ossl_DER_w_octet_string_uint32(WPACKET *pkt, int tag, uint32_t value);
87 int ossl_DER_w_begin_sequence(WPACKET *pkt, int tag);
88 int ossl_DER_w_end_sequence(WPACKET *pkt, int tag);
Dpacket.h653 typedef struct wpacket_st WPACKET; typedef
701 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
707 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf);
714 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes);
720 int WPACKET_init_null_der(WPACKET *pkt);
727 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len,
735 int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len);
740 int WPACKET_set_flags(WPACKET *pkt, unsigned int flags);
748 int WPACKET_close(WPACKET *pkt);
754 int WPACKET_finish(WPACKET *pkt);
[all …]
/third_party/openssl/providers/common/der/
Dder_ecx_key.c14 int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_X25519()
23 int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_X448()
32 int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_ED25519()
41 int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_ED448()
Dder_rsa_key.c247 static int DER_w_MaskGenAlgorithm(WPACKET *pkt, int tag, in DER_w_MaskGenAlgorithm()
283 int ossl_DER_w_RSASSA_PSS_params(WPACKET *pkt, int tag, in ossl_DER_w_RSASSA_PSS_params()
367 int ossl_DER_w_algorithmIdentifier_RSA_PSS(WPACKET *pkt, int tag, in ossl_DER_w_algorithmIdentifier_RSA_PSS()
393 int ossl_DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa) in ossl_DER_w_algorithmIdentifier_RSA()
Dder_ec_key.c14 int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_EC()
Dder_dsa_key.c20 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa) in ossl_DER_w_algorithmIdentifier_DSA()
Dder_sm2_key.c15 int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_SM2()
Dder_sm2_sig.c23 int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont, in ossl_DER_w_algorithmIdentifier_SM2_with_MD()
/third_party/openssl/doc/internal/man3/
Dossl_DER_w_bn.pod13 int ossl_DER_w_boolean(WPACKET *pkt, int tag, int b);
14 int ossl_DER_w_uint32(WPACKET *pkt, int tag, uint32_t v);
15 int ossl_DER_w_bn(WPACKET *pkt, int tag, const BIGNUM *v);
16 int ossl_DER_w_null(WPACKET *pkt, int tag);
17 int ossl_DER_w_octet_string(WPACKET *pkt, int tag,
19 int ossl_DER_w_octet_string_uint32(WPACKET *pkt, int tag, uint32_t value);
Dossl_DER_w_begin_sequence.pod12 int ossl_DER_w_begin_sequence(WPACKET *pkt, int tag);
13 int ossl_DER_w_end_sequence(WPACKET *pkt, int tag);
/third_party/openssl/providers/common/include/prov/
Dder_ecx.h.in22 int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt, int cont, ECX_KEY *ec);
23 int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec);
24 int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec);
25 int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec);
Dder_rsa.h.in24 int ossl_DER_w_RSASSA_PSS_params(WPACKET *pkt, int tag,
27 int ossl_DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa);
28 int ossl_DER_w_algorithmIdentifier_RSA_PSS(WPACKET *pkt, int tag,
32 int ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption(WPACKET *pkt, int tag,
Dder_sm2.h.in23 int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec);
25 int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
Dder_ec.h.in23 int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec);
25 int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont,
Dder_dsa.h.in22 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa);
24 int ossl_DER_w_algorithmIdentifier_DSA_with_MD(WPACKET *pkt, int tag,
/third_party/openssl/include/crypto/
Dasn1_dsa.h16 int ossl_encode_der_length(WPACKET *pkt, size_t cont_len);
17 int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n);
18 int ossl_encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s);
/third_party/openssl/test/
Dwpackettest.c31 static int cleanup(WPACKET *pkt) in cleanup()
39 WPACKET pkt; in test_WPACKET_init()
115 WPACKET pkt; in test_WPACKET_set_max_size()
162 WPACKET pkt; in test_WPACKET_start_sub_packet()
244 WPACKET pkt; in test_WPACKET_set_flags()
304 WPACKET pkt; in test_WPACKET_allocate_bytes()
334 WPACKET pkt; in test_WPACKET_memcpy()
358 WPACKET pkt; in test_WPACKET_init_der()
/third_party/openssl/doc/internal/man7/
DDERlib.pod17 int DER_w_something(WPACKET *pkt, int tag, ...);
35 DER writers are based in L<WPACKET(3)>, a generic packet writing
115 int DER_w_AlgorithmIdentifier_RSASSA_PSS_special(WPACKET *pkt,
/third_party/openssl/util/
Dmissingcrypto-internal.txt1 WPACKET(3)

123