Home
last modified time | relevance | path

Searched defs:pkt (Results 1 – 25 of 50) sorted by relevance

12

/openssl-master/include/internal/
A Dpacket.h743 #define WPACKET_start_sub_packet_u8(pkt) \ argument
745 #define WPACKET_start_sub_packet_u16(pkt) \ argument
747 #define WPACKET_start_sub_packet_u24(pkt) \ argument
749 #define WPACKET_start_sub_packet_u32(pkt) \ argument
842 #define WPACKET_put_bytes_u8(pkt, val) \ argument
844 #define WPACKET_put_bytes_u16(pkt, val) \ argument
846 #define WPACKET_put_bytes_u24(pkt, val) \ argument
848 #define WPACKET_put_bytes_u32(pkt, val) \ argument
869 #define WPACKET_sub_memcpy_u8(pkt, src, len) \ argument
871 #define WPACKET_sub_memcpy_u16(pkt, src, len) \ argument
[all …]
/openssl-master/crypto/
A Dpacket.c173 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()
188 int WPACKET_init_null_der(WPACKET *pkt) in WPACKET_init_null_der()
294 int WPACKET_fill_lengths(WPACKET *pkt) in WPACKET_fill_lengths()
309 int WPACKET_close(WPACKET *pkt) in WPACKET_close()
321 int WPACKET_finish(WPACKET *pkt) in WPACKET_finish()
377 int WPACKET_start_sub_packet(WPACKET *pkt) in WPACKET_start_sub_packet()
474 int WPACKET_get_length(WPACKET *pkt, size_t *len) in WPACKET_get_length()
485 unsigned char *WPACKET_get_curr(WPACKET *pkt) in WPACKET_get_curr()
498 int WPACKET_is_null_buf(WPACKET *pkt) in WPACKET_is_null_buf()
[all …]
A 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()
93 static int int_der_w_integer(WPACKET *pkt, int tag, in int_der_w_integer()
133 static int int_put_bytes_bn(WPACKET *pkt, const void *v, in int_put_bytes_bn()
151 int ossl_DER_w_bn(WPACKET *pkt, int tag, const BIGNUM *v) in ossl_DER_w_bn()
161 int ossl_DER_w_null(WPACKET *pkt, int tag) in ossl_DER_w_null()
171 int ossl_DER_w_begin_sequence(WPACKET *pkt, int tag) in ossl_DER_w_begin_sequence()
[all …]
A 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()
155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length()
187 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n) in ossl_decode_der_integer()
237 PACKET pkt, contpkt; in ossl_decode_der_dsa_sig() local
/openssl-master/test/
A Dpackettest.c19 PACKET pkt; in test_PACKET_remaining() local
34 PACKET pkt; in test_PACKET_end() local
51 PACKET pkt; in test_PACKET_get_1() local
68 PACKET pkt; in test_PACKET_get_4() local
85 PACKET pkt; in test_PACKET_get_net_2() local
102 PACKET pkt; in test_PACKET_get_net_3() local
119 PACKET pkt; in test_PACKET_get_net_4() local
157 PACKET pkt; in test_PACKET_get_bytes() local
181 PACKET pkt; in test_PACKET_copy_bytes() local
205 PACKET pkt; in test_PACKET_copy_all() local
[all …]
A Dwpackettest.c31 static int cleanup(WPACKET *pkt) in cleanup()
39 WPACKET pkt; in test_WPACKET_init() local
115 WPACKET pkt; in test_WPACKET_set_max_size() local
162 WPACKET pkt; in test_WPACKET_start_sub_packet() local
244 WPACKET pkt; in test_WPACKET_set_flags() local
304 WPACKET pkt; in test_WPACKET_allocate_bytes() local
334 WPACKET pkt; in test_WPACKET_memcpy() local
358 WPACKET pkt; in test_WPACKET_init_der() local
A Dclienthellotest.c67 PACKET pkt, pkt2, pkt3; in test_client_hello() local
A Dbad_dtls_test.c119 PACKET pkt, pkt2; in validate_client_hello() local
395 PACKET pkt; in validate_ccs() local
/openssl-master/providers/common/der/
A 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()
A Dder_dsa_key.c20 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa) in ossl_DER_w_algorithmIdentifier_DSA()
A Dder_ec_key.c14 int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_EC()
A Dder_sm2_key.c15 int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_SM2()
A 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()
358 int ossl_DER_w_algorithmIdentifier_RSA_PSS(WPACKET *pkt, int tag, in ossl_DER_w_algorithmIdentifier_RSA_PSS()
384 int ossl_DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa) in ossl_DER_w_algorithmIdentifier_RSA()
A Dder_dsa_sig.c26 int ossl_DER_w_algorithmIdentifier_DSA_with_MD(WPACKET *pkt, int tag, in ossl_DER_w_algorithmIdentifier_DSA_with_MD()
A Dder_sm2_sig.c23 int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont, in ossl_DER_w_algorithmIdentifier_SM2_with_MD()
A Dder_ec_sig.c27 int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont, in ossl_DER_w_algorithmIdentifier_ECDSA_with_MD()
A Dder_rsa_sig.c33 int ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption(WPACKET *pkt, int tag, in ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption()
/openssl-master/ssl/statem/
A 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()
154 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL *s, WPACKET *pkt, in tls_construct_ctos_ec_pt_formats()
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()
431 EXT_RETURN tls_construct_ctos_use_srtp(SSL *s, WPACKET *pkt, in tls_construct_ctos_use_srtp()
649 EXT_RETURN tls_construct_ctos_key_share(SSL *s, WPACKET *pkt, in tls_construct_ctos_key_share()
735 EXT_RETURN tls_construct_ctos_early_data(SSL *s, WPACKET *pkt, in tls_construct_ctos_early_data()
904 EXT_RETURN tls_construct_ctos_padding(SSL *s, WPACKET *pkt, in tls_construct_ctos_padding()
[all …]
A Dextensions_srvr.c41 int tls_parse_ctos_renegotiate(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_renegotiate()
260 int tls_parse_ctos_sig_algs_cert(SSL *s, PACKET *pkt, in tls_parse_ctos_sig_algs_cert()
1209 int tls_parse_ctos_post_handshake_auth(SSL *s, PACKET *pkt, in tls_parse_ctos_post_handshake_auth()
1228 EXT_RETURN tls_construct_stoc_renegotiate(SSL *s, WPACKET *pkt, in tls_construct_stoc_renegotiate()
1252 EXT_RETURN tls_construct_stoc_server_name(SSL *s, WPACKET *pkt, in tls_construct_stoc_server_name()
1276 EXT_RETURN tls_construct_stoc_maxfragmentlen(SSL *s, WPACKET *pkt, in tls_construct_stoc_maxfragmentlen()
1298 EXT_RETURN tls_construct_stoc_ec_pt_formats(SSL *s, WPACKET *pkt, in tls_construct_stoc_ec_pt_formats()
1492 EXT_RETURN tls_construct_stoc_use_srtp(SSL *s, WPACKET *pkt, in tls_construct_stoc_use_srtp()
1577 EXT_RETURN tls_construct_stoc_key_share(SSL *s, WPACKET *pkt, in tls_construct_stoc_key_share()
1833 EXT_RETURN tls_construct_stoc_cryptopro_bug(SSL *s, WPACKET *pkt, in tls_construct_stoc_cryptopro_bug()
[all …]
A Dstatem_clnt.c1093 int tls_construct_client_hello(SSL *s, WPACKET *pkt) in tls_construct_client_hello()
2625 int tls_process_cert_status_body(SSL *s, PACKET *pkt) in tls_process_cert_status_body()
2817 static int tls_construct_cke_rsa(SSL *s, WPACKET *pkt) in tls_construct_cke_rsa()
2897 static int tls_construct_cke_dhe(SSL *s, WPACKET *pkt) in tls_construct_cke_dhe()
2960 static int tls_construct_cke_ecdhe(SSL *s, WPACKET *pkt) in tls_construct_cke_ecdhe()
3004 static int tls_construct_cke_gost(SSL *s, WPACKET *pkt) in tls_construct_cke_gost()
3150 static int tls_construct_cke_gost18(SSL *s, WPACKET *pkt) in tls_construct_cke_gost18()
3245 static int tls_construct_cke_srp(SSL *s, WPACKET *pkt) in tls_construct_cke_srp()
3492 int tls_construct_client_certificate(SSL *s, WPACKET *pkt) in tls_construct_client_certificate()
3572 int tls_construct_next_proto(SSL *s, WPACKET *pkt) in tls_construct_next_proto()
[all …]
A Dstatem_srvr.c2301 int tls_construct_server_hello(SSL *s, WPACKET *pkt) in tls_construct_server_hello()
2410 int tls_construct_server_done(SSL *s, WPACKET *pkt) in tls_construct_server_done()
2858 static int tls_process_cke_rsa(SSL *s, PACKET *pkt) in tls_process_cke_rsa()
2955 static int tls_process_cke_dhe(SSL *s, PACKET *pkt) in tls_process_cke_dhe()
3006 static int tls_process_cke_ecdhe(SSL *s, PACKET *pkt) in tls_process_cke_ecdhe()
3062 static int tls_process_cke_srp(SSL *s, PACKET *pkt) in tls_process_cke_srp()
3101 static int tls_process_cke_gost(SSL *s, PACKET *pkt) in tls_process_cke_gost()
3204 static int tls_process_cke_gost18(SSL *s, PACKET *pkt) in tls_process_cke_gost18()
3596 int tls_construct_server_certificate(SSL *s, WPACKET *pkt) in tls_construct_server_certificate()
3998 int tls_construct_cert_status_body(SSL *s, WPACKET *pkt) in tls_construct_cert_status_body()
[all …]
A Dstatem_lib.c77 int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype) in tls_close_construct_packet()
272 int tls_construct_cert_verify(SSL *s, WPACKET *pkt) in tls_construct_cert_verify()
396 MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt) in tls_process_cert_verify()
563 int tls_construct_finished(SSL *s, WPACKET *pkt) in tls_construct_finished()
640 int tls_construct_key_update(SSL *s, WPACKET *pkt) in tls_construct_key_update()
651 MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt) in tls_process_key_update()
725 MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt) in tls_process_change_cipher_spec()
781 MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt) in tls_process_finished()
884 int tls_construct_change_cipher_spec(SSL *s, WPACKET *pkt) in tls_construct_change_cipher_spec()
922 static int ssl_add_cert_chain(SSL *s, WPACKET *pkt, CERT_PKEY *cpk) in ssl_add_cert_chain()
[all …]
A Dstatem.c552 PACKET pkt; in read_state_machine() local
777 WPACKET pkt; in write_state_machine() local
A Dstatem_dtls.c922 int dtls_construct_change_cipher_spec(SSL *s, WPACKET *pkt) in dtls_construct_change_cipher_spec()
1243 int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype) in dtls1_set_handshake_header()
1267 int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype) in dtls1_close_construct_packet()
/openssl-master/providers/implementations/kdfs/
A Dx942kdf.c99 static int DER_w_keyinfo(WPACKET *pkt, in DER_w_keyinfo()
113 static int der_encode_sharedinfo(WPACKET *pkt, unsigned char *buf, size_t buflen, in der_encode_sharedinfo()
210 WPACKET pkt; in x942_encode_otherinfo() local

Completed in 50 milliseconds

12