/openbsd/lib/libssl/ |
H A D | ssl_packet.c | 181 if (!CBB_add_u16(&cbb, 0x0301)) in ssl_convert_sslv2_client_hello() 189 if (!CBB_add_u16(&client_hello, client_version)) in ssl_convert_sslv2_client_hello() 202 if (!CBB_add_u16(&cipher_suites, cipher_spec & 0xffff)) in ssl_convert_sslv2_client_hello()
|
H A D | ssl_ciphers.c | 75 if (!CBB_add_u16(cbb, ssl3_cipher_get_value(cipher))) in ssl_cipher_list_to_bytes() 83 if (!CBB_add_u16(cbb, SSL3_CK_SCSV & SSL3_CK_VALUE_MASK)) in ssl_cipher_list_to_bytes()
|
H A D | ssl_tlsext.c | 220 if (!CBB_add_u16(&grouplist, groups[i])) in tlsext_supportedgroups_client_build() 1268 if (!CBB_add_u16(&profiles, prof->id)) in tlsext_srtp_client_build() 1374 if (!CBB_add_u16(&srtp, profile->id)) in tlsext_srtp_server_build() 1453 if (!CBB_add_u16(&client_shares, in tlsext_keyshare_client_build() 1644 return CBB_add_u16(cbb, s->s3->hs.tls13.server_group); in tlsext_keyshare_server_build() 1650 if (!CBB_add_u16(cbb, tls_key_share_group(s->s3->hs.key_share))) in tlsext_keyshare_server_build() 1728 if (!CBB_add_u16(&versions, version)) in tlsext_versions_client_build() 1782 return CBB_add_u16(cbb, TLS1_3_VERSION); in tlsext_versions_server_build() 2507 if (!CBB_add_u16(&extensions, tlsext->type)) in tlsext_build()
|
H A D | tls12_record_layer.c | 610 if (!CBB_add_u16(cbb, epoch)) in tls12_record_layer_build_seq_num() 637 if (!CBB_add_u16(&cbb, rl->version)) in tls12_record_layer_pseudo_header() 639 if (!CBB_add_u16(&cbb, record_len)) in tls12_record_layer_pseudo_header() 1273 if (!CBB_add_u16(cbb, rl->version)) in tls12_record_layer_seal_record()
|
H A D | bytestring.h | 495 int CBB_add_u16(CBB *cbb, size_t value);
|
H A D | tls13_server.c | 346 if (!CBB_add_u16(cbb, TLS1_2_VERSION)) in tls13_server_hello_build() 355 if (!CBB_add_u16(cbb, cipher)) in tls13_server_hello_build() 764 if (!CBB_add_u16(cbb, sigalg->value)) in tls13_server_certificate_verify_send()
|
H A D | tls13_record_layer.c | 659 if (!CBB_add_u16(&cbb, rl->legacy_version)) in tls13_record_layer_seal_record_plaintext() 725 if (!CBB_add_u16(&cbb, TLS1_2_VERSION)) in tls13_record_layer_seal_record_protected() 727 if (!CBB_add_u16(&cbb, enc_record_len)) in tls13_record_layer_seal_record_protected()
|
H A D | ssl_sigalgs.c | 242 if (!CBB_add_u16(cbb, values[i])) in ssl_sigalgs_build()
|
H A D | ssl_srvr.c | 1187 if (!CBB_add_u16(&verify, DTLS1_VERSION)) in ssl3_send_dtls_hello_verify_request() 1221 if (!CBB_add_u16(&server_hello, s->version)) in ssl3_send_server_hello() 1260 if (!CBB_add_u16(&server_hello, in ssl3_send_server_hello() 1395 if (!CBB_add_u16(cbb, tls_key_share_group(s->s3->hs.key_share))) in ssl3_send_server_kex_ecdhe() 1489 if (!CBB_add_u16(&server_kex, sigalg->value)) { in ssl3_send_server_key_exchange()
|
H A D | ssl_seclevel.c | 457 if (!CBB_add_u16(&cbb, group_id)) in ssl_security_group()
|
H A D | bs_cbb.c | 394 CBB_add_u16(CBB *cbb, size_t value) in CBB_add_u16() function
|
H A D | ssl_asn1.c | 79 if (!CBB_add_u16(&cipher_suite, cid)) in SSL_SESSION_encode()
|
H A D | tls13_client.c | 98 if (!CBB_add_u16(cbb, client_version)) in tls13_client_hello_build() 962 if (!CBB_add_u16(cbb, sigalg->value)) in tls13_client_certificate_verify_send()
|
H A D | tls13_legacy.c | 340 if (!CBB_add_u16(&cbb, TLS1_2_VERSION)) in tls13_use_legacy_stack()
|
H A D | tls13_key_schedule.c | 184 if (!CBB_add_u16(&cbb, out->len)) in tls13_hkdf_expand_label_with_length()
|
H A D | ssl_clnt.c | 680 if (!CBB_add_u16(&client_hello, s->version)) in ssl3_send_client_hello() 2009 if (!CBB_add_u16(cert_verify, sigalg->value)) in ssl3_send_client_verify_sigalgs()
|
H A D | d1_both.c | 1133 if (!CBB_add_u16(&cbb, msg_hdr->seq)) in dtls1_write_message_header()
|
/openbsd/regress/lib/libssl/bytestring/ |
H A D | bytestringtest.c | 333 CHECK_GOTO(CBB_add_u16(&cbb, 0x203)); in test_cbb_basic() 363 CHECK_GOTO(CBB_add_u16(&cbb, 0x102)); in test_cbb_add_space() 365 CHECK_GOTO(CBB_add_u16(&cbb, 0x708)); in test_cbb_add_space() 374 CHECK_GOTO(CBB_add_u16(&cbb, 0x102)); in test_cbb_add_space() 376 CHECK_GOTO(CBB_add_u16(&cbb, 0x708)); in test_cbb_add_space() 454 CHECK_GOTO(CBB_add_u16(&contents, 0x203)); in test_cbb_prefixed() 502 CHECK_GOTO(CBB_add_u16(&contents, 0xcccc)); in test_cbb_discard_child() 547 CHECK_GOTO(!CBB_add_u16(&child, 1)); in test_cbb_misuse()
|
/openbsd/lib/libcrypto/ct/ |
H A D | ct_vfy.c | 106 if (!CBB_add_u16(&cbb, sct->entry_type)) in sct_ctx_update()
|
/openbsd/lib/libcrypto/bytestring/ |
H A D | bytestring.h | 495 int CBB_add_u16(CBB *cbb, size_t value);
|
H A D | bs_cbb.c | 394 CBB_add_u16(CBB *cbb, size_t value) in CBB_add_u16() function
|
/openbsd/lib/libcrypto/x509/ |
H A D | x509_addr.c | 1070 if (!CBB_add_u16(&cbb, afi)) in make_IPAddressFamily()
|