Home
last modified time | relevance | path

Searched defs:cbs (Results 1 – 25 of 48) sorted by relevance

12

/dflybsd-src/crypto/libressl/crypto/bytestring/
H A Dbs_cbs.c24 CBS_init(CBS *cbs, const uint8_t *data, size_t len) in CBS_init()
32 CBS_dup(const CBS *cbs, CBS *out) in CBS_dup()
39 cbs_get(CBS *cbs, const uint8_t **p, size_t n) in cbs_get()
51 cbs_peek(CBS *cbs, const uint8_t **p, size_t n) in cbs_peek()
61 CBS_offset(const CBS *cbs) in CBS_offset()
67 CBS_skip(CBS *cbs, size_t len) in CBS_skip()
74 CBS_data(const CBS *cbs) in CBS_data()
80 CBS_len(const CBS *cbs) in CBS_len()
86 CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len) in CBS_stow()
105 CBS_strdup(const CBS *cbs, char **out_ptr) in CBS_strdup()
[all …]
/dflybsd-src/crypto/libressl/ssl/
H A Dbs_cbs.c24 CBS_init(CBS *cbs, const uint8_t *data, size_t len) in CBS_init()
32 CBS_dup(const CBS *cbs, CBS *out) in CBS_dup()
39 cbs_get(CBS *cbs, const uint8_t **p, size_t n) in cbs_get()
51 cbs_peek(CBS *cbs, const uint8_t **p, size_t n) in cbs_peek()
61 CBS_offset(const CBS *cbs) in CBS_offset()
67 CBS_skip(CBS *cbs, size_t len) in CBS_skip()
74 CBS_data(const CBS *cbs) in CBS_data()
80 CBS_len(const CBS *cbs) in CBS_len()
86 CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len) in CBS_stow()
105 CBS_strdup(const CBS *cbs, char **out_ptr) in CBS_strdup()
[all …]
H A Dssl_tlsext.c66 tlsext_alpn_check_format(CBS *cbs) in tlsext_alpn_check_format()
87 tlsext_alpn_server_parse(SSL *s, uint16_t msg_types, CBS *cbs, int *alert) in tlsext_alpn_server_parse()
163 tlsext_alpn_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_alpn_client_parse()
230 tlsext_supportedgroups_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, in tlsext_supportedgroups_server_parse()
303 tlsext_supportedgroups_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, in tlsext_supportedgroups_client_parse()
352 tlsext_ecpf_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_ecpf_parse()
392 tlsext_ecpf_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_ecpf_server_parse()
410 tlsext_ecpf_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_ecpf_client_parse()
441 tlsext_ri_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_ri_server_parse()
490 tlsext_ri_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_ri_client_parse()
[all …]
H A Dtls13_client.c162 tls13_server_hello_is_legacy(CBS *cbs) in tls13_server_hello_is_legacy()
191 tls13_server_hello_is_retry(CBS *cbs) in tls13_server_hello_is_retry()
209 tls13_server_hello_process(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_hello_process()
400 tls13_server_hello_retry_request_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_hello_retry_request_recv()
463 tls13_server_hello_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_hello_recv()
501 tls13_server_encrypted_extensions_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_encrypted_extensions_recv()
514 tls13_server_certificate_request_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_certificate_request_recv()
550 tls13_server_certificate_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_certificate_recv()
632 tls13_server_certificate_verify_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_certificate_verify_recv()
714 tls13_server_finished_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_server_finished_recv()
[all …]
H A Dtls13_record.c27 CBS cbs; member
75 tls13_record_header(struct tls13_record *rec, CBS *cbs) in tls13_record_header()
86 tls13_record_content(struct tls13_record *rec, CBS *cbs) in tls13_record_content()
101 tls13_record_data(struct tls13_record *rec, CBS *cbs) in tls13_record_data()
127 CBS cbs; in tls13_record_recv() local
H A Dtls13_server.c65 tls13_client_hello_is_legacy(CBS *cbs) in tls13_client_hello_is_legacy()
145 tls13_client_hello_process(struct tls13_ctx *ctx, CBS *cbs) in tls13_client_hello_process()
298 tls13_client_hello_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_client_hello_recv()
475 tls13_client_hello_retry_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_client_hello_retry_recv()
802 CBS cbs; in tls13_server_finished_send() local
871 tls13_client_certificate_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_client_certificate_recv()
943 tls13_client_certificate_verify_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_client_certificate_verify_recv()
1026 tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_client_end_of_early_data_recv()
1032 tls13_client_finished_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_client_finished_recv()
H A Dtls13_handshake_msg.c32 CBS cbs; member
69 tls13_handshake_msg_data(struct tls13_handshake_msg *msg, CBS *cbs) in tls13_handshake_msg_data()
81 tls13_handshake_msg_content(struct tls13_handshake_msg *msg, CBS *cbs) in tls13_handshake_msg_content()
127 CBS cbs; in tls13_handshake_msg_recv() local
H A Dtls13_lib.c159 CBS cbs; in tls13_legacy_handshake_message_recv_cb() local
173 CBS cbs; in tls13_legacy_handshake_message_sent_cb() local
278 tls13_key_update_recv(struct tls13_ctx *ctx, CBS *cbs) in tls13_key_update_recv()
336 CBS cbs; in tls13_phh_received_cb() local
481 CBS cbs; in tls13_synthetic_handshake_message() local
553 tls13_clienthello_hash_update(struct tls13_ctx *ctx, CBS *cbs) in tls13_clienthello_hash_update()
H A Dssl_srvr.c780 CBS cbs, client_random, session_id, cookie, cipher_suites; in ssl3_get_client_hello() local
1623 ssl3_get_client_kex_rsa(SSL *s, CBS *cbs) in ssl3_get_client_kex_rsa()
1720 ssl3_get_client_kex_dhe(SSL *s, CBS *cbs) in ssl3_get_client_kex_dhe()
1762 ssl3_get_client_kex_ecdhe(SSL *s, CBS *cbs) in ssl3_get_client_kex_ecdhe()
1805 ssl3_get_client_kex_gost(SSL *s, CBS *cbs) in ssl3_get_client_kex_gost()
1876 CBS cbs; in ssl3_get_client_key_exchange() local
1925 CBS cbs, signature; in ssl3_get_cert_verify() local
2159 CBS cbs, cert_list, cert_data; in ssl3_get_client_certificate() local
H A Dtls_key_share.c303 tls_key_share_peer_params_dhe(struct tls_key_share *ks, CBS *cbs, in tls_key_share_peer_params_dhe()
321 tls_key_share_peer_params(struct tls_key_share *ks, CBS *cbs, in tls_key_share_peer_params()
332 tls_key_share_peer_public_dhe(struct tls_key_share *ks, CBS *cbs, in tls_key_share_peer_public_dhe()
343 tls_key_share_peer_public_ecdhe_ecp(struct tls_key_share *ks, CBS *cbs) in tls_key_share_peer_public_ecdhe_ecp()
368 tls_key_share_peer_public_x25519(struct tls_key_share *ks, CBS *cbs, in tls_key_share_peer_public_x25519()
387 tls_key_share_peer_public(struct tls_key_share *ks, CBS *cbs, int *decode_error, in tls_key_share_peer_public()
H A Dssl_packet.c26 CBS cbs; in ssl_is_sslv2_client_hello() local
54 CBS cbs; in ssl_is_sslv3_handshake() local
74 CBS cbs, challenge, cipher_specs, session; in ssl_convert_sslv2_client_hello() local
H A Dssl_clnt.c819 CBS cbs, server_random, session_id; in ssl3_get_server_hello() local
1089 CBS cbs, cert_list, cert_data; in ssl3_get_server_certificate() local
1181 ssl3_get_server_kex_dhe(SSL *s, CBS *cbs) in ssl3_get_server_kex_dhe()
1231 ssl3_get_server_kex_ecdhe(SSL *s, CBS *cbs) in ssl3_get_server_kex_ecdhe()
1286 CBS cbs, signature; in ssl3_get_server_key_exchange() local
1579 CBS cbs, session_ticket; in ssl3_get_new_session_ticket() local
H A Dssl_kex.c159 ssl_kex_peer_params_dhe(DH *dh, CBS *cbs, int *decode_error, in ssl_kex_peer_params_dhe()
203 ssl_kex_peer_public_dhe(DH *dh, CBS *cbs, int *decode_error, in ssl_kex_peer_public_dhe()
359 ssl_kex_peer_public_ecdhe_ecp(EC_KEY *ecdh, int nid, CBS *cbs) in ssl_kex_peer_public_ecdhe_ecp()
H A Dssl_pkt.c693 CBS cbs; in ssl3_read_alert() local
766 CBS cbs; in ssl3_read_change_cipher_spec() local
832 CBS cbs; in ssl3_read_handshake_unexpected() local
H A Dtls13_handshake.c347 CBS cbs; in tls13_handshake_msg_record() local
510 CBS cbs; in tls13_handshake_recv_action() local
H A Dssl_both.c212 CBS cbs; in ssl3_get_finished() local
405 CBS cbs; in ssl3_get_message() local
H A Dtls13_record_layer.c189 tls13_record_layer_rcontent(struct tls13_record_layer *rl, CBS *cbs) in tls13_record_layer_rcontent()
446 tls13_record_layer_phh(struct tls13_record_layer *rl, CBS *cbs) in tls13_record_layer_phh()
523 CBS cbs; in tls13_record_layer_open_record_plaintext() local
808 CBS cbs; in tls13_record_layer_read_record() local
/dflybsd-src/crypto/libressl/crypto/asn1/
H A Dtasn_dec.c92 asn1_check_eoc(CBS *cbs) in asn1_check_eoc()
105 asn1_check_tag(CBS *cbs, size_t *out_len, int *out_tag, uint8_t *out_class, in asn1_check_tag()
181 asn1_collect(CBB *cbb, CBS *cbs, int indefinite, int expected_tag, in asn1_collect()
235 asn1_find_end(CBS *cbs, size_t length, int indefinite) in asn1_find_end()
453 asn1_d2i_primitive_content(ASN1_VALUE **pval, CBS *cbs, CBS *cbs_object, in asn1_d2i_primitive_content()
523 asn1_d2i_any(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it, in asn1_d2i_any()
560 asn1_d2i_mstring(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it, in asn1_d2i_mstring()
606 asn1_d2i_primitive(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it, in asn1_d2i_primitive()
642 asn1_item_d2i_choice(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it, in asn1_item_d2i_choice()
736 asn1_item_d2i_sequence(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it, in asn1_item_d2i_sequence()
[all …]
H A Da_object.c148 oid_parse_arc(CBS *cbs, uint64_t *out_arc) in oid_parse_arc()
188 oid_parse_arc_txt(CBS *cbs, uint64_t *out_arc, char *separator, int first) in oid_parse_arc_txt()
248 a2c_ASN1_OBJECT_internal(CBB *cbb, CBS *cbs) in a2c_ASN1_OBJECT_internal()
293 c2a_ASN1_OBJECT(CBS *cbs, CBB *cbb) in c2a_ASN1_OBJECT()
331 CBS cbs; in a2d_ASN1_OBJECT() local
374 CBS cbs; in i2t_ASN1_OBJECT_oid() local
464 CBS cbs; in t2i_ASN1_OBJECT_internal() local
530 CBS cbs; in c2i_ASN1_OBJECT_cbs() local
633 CBS cbs, content; in d2i_ASN1_OBJECT() local
H A Dasn1_lib.c24 asn1_get_identifier_cbs(CBS *cbs, int der_mode, uint8_t *out_class, in asn1_get_identifier_cbs()
80 asn1_get_length_cbs(CBS *cbs, int der_mode, int *out_indefinite, in asn1_get_length_cbs()
141 asn1_get_object_cbs(CBS *cbs, int der_mode, uint8_t *out_tag_class, in asn1_get_object_cbs()
176 asn1_get_primitive(CBS *cbs, int der_mode, uint32_t *out_tag_number, in asn1_get_primitive()
H A Da_int.c130 asn1_aint_get_uint64(CBS *cbs, uint64_t *out_val) in asn1_aint_get_uint64()
198 asn1_aint_get_int64(CBS *cbs, int negative, int64_t *out_val) in asn1_aint_get_int64()
226 CBS cbs; in ASN1_INTEGER_get_uint64() local
263 CBS cbs; in ASN1_INTEGER_get_int64() local
553 CBS cbs; in i2c_ASN1_INTEGER_cbb() local
646 c2i_ASN1_INTEGER_cbs(ASN1_INTEGER **out_aint, CBS *cbs) in c2i_ASN1_INTEGER_cbs()
H A Da_enum.c107 CBS cbs; in ASN1_ENUMERATED_get_int64() local
349 c2i_ASN1_ENUMERATED_cbs(ASN1_ENUMERATED **out_aenum, CBS *cbs) in c2i_ASN1_ENUMERATED_cbs()
H A Da_time_tm.c179 cbs_get_two_digit_value(CBS *cbs, int *out) in cbs_get_two_digit_value()
235 asn1_time_parse_cbs(const CBS *cbs, int is_gentime, struct tm *out_tm) in asn1_time_parse_cbs()
328 CBS cbs; in ASN1_time_parse() local
/dflybsd-src/crypto/libressl/crypto/ct/
H A Dct_oct.c76 o2i_SCT_signature(SCT *sct, CBS *cbs) in o2i_SCT_signature()
123 o2i_SCT_internal(SCT **out_sct, CBS *cbs) in o2i_SCT_internal()
192 CBS cbs; in o2i_SCT() local
321 CBS cbs, cbs_scts, cbs_sct; in STACK_OF() local
H A Dct_b64.c126 CBS cbs; in SCT_new_from_base64() local

12