nx_tls13_record.nx
buildroot/runtime/nx_tls13_record.nx
about
dependencies 4 imports · 52 importers
diagram shows first 10 each side; +0 more imports, +42 more importers in the complete lists below.
imports: nx_syscalls.nxnx_chacha20_poly1305.nxnx_aes128_gcm.nxnx_aes256_gcm.nx
imported by: nx_dev_api_build_probe.nxnx_edge_daemon.nxnx_edge_serve_static_test.nxnx_h2_client_over_tls.nxnx_https_get_complete.nxnx_https_get_happy_test.nxnx_https_get_spoof.nxnx_https_get_stream.nxnx_https_ka_probe.nxnx_https_loopback_test.nxnx_https_post_complete.nxnx_lib_fetch_cookie.nxnx_login_e2e_probe.nxnx_mcp_call.nxnx_mgmt_client.nxnx_pages_https_daemon.nxnx_porkbun_ping_probe.nxnx_research_ka.nxnx_sites_sni_cert_gate.nxnx_sovgit_push.nxnx_tls13_aead1302_gate.nxnx_tls13_aead_record_tcp_test.nxnx_tls13_app_send_fd.nxnx_tls13_client_h2run.nxnx_tls13_client_session_emit_finished.nxnx_tls13_client_session_recv_hs.nxnx_tls13_client_session_run.nxnx_tls13_client_test.nxnx_tls13_full_tcp_test.nxnx_tls13_handshake_io.nxnx_tls13_mtls_finished.nxnx_tls13_mtls_recv_cert.nxnx_tls13_read_record_from_fd.nxnx_tls13_record_test.nxnx_tls13_server_full_handshake_test.nxnx_tls13_server_recv_client_cert.nxnx_tls13_server_recv_client_cv.nxnx_tls13_server_session_app_data.nxnx_tls13_server_session_app_data_test.nxnx_tls13_server_session_emit_certificate.nxnx_tls13_server_session_emit_certreq.nxnx_tls13_server_session_emit_cv.nxnx_tls13_server_session_emit_ee.nxnx_tls13_server_session_emit_ee_alpn.nxnx_tls13_server_session_emit_sf.nxnx_tls13_server_session_recv_cf.nxnx_tls13_server_session_recv_cf_test.nxnx_tls13_server_session_run.nxnx_tls13_server_session_run_h2.nxnx_tls13_server_session_run_mtls.nxnx_tls13_sh_probe_test.nxnx_video_get.nx
structs
| none |
consts
| 88 | const NX_TLS13_RECORD_IV_LEN: i64 = 12 |
| 89 | const NX_TLS13_RECORD_TAG_LEN: i64 = 16 |
| 90 | const NX_TLS13_RECORD_HEADER_LEN: i64 = 5 // TLSCiphertext header |
| 96 | const NX_TLS13_MAX_INNER_PLAINTEXT: i64 = 16385 // 2^14 + 1 |
| 97 | const NX_TLS13_MAX_RECORD_PAYLOAD: i64 = 16640 // 2^14 + 256 |
| 100 | const NX_TLS13_CT_INVALID: i64 = 0 |
| 101 | const NX_TLS13_CT_CHANGE_CIPHER_SPEC: i64 = 20 |
| 102 | const NX_TLS13_CT_ALERT: i64 = 21 |
| 103 | const NX_TLS13_CT_HANDSHAKE: i64 = 22 |
| 104 | const NX_TLS13_CT_APPLICATION_DATA: i64 = 23 |
| 106 | const NX_TLS13_LEGACY_VERSION: i64 = 0x0303 |
| 109 | const NX_TLS13_REC_VERDICT_OK: i64 = 1 |
| 110 | const NX_TLS13_REC_VERDICT_TAG_MISMATCH: i64 = 2 |
| 111 | const NX_TLS13_REC_VERDICT_BAD_PADDING: i64 = 3 |
| 112 | const NX_TLS13_REC_VERDICT_EMPTY_INNER: i64 = 4 |
| 113 | const NX_TLS13_REC_VERDICT_TOO_LONG: i64 = 5 |
| 114 | const NX_TLS13_REC_VERDICT_TOO_SHORT: i64 = 6 |
| 115 | const NX_TLS13_REC_VERDICT_N: i64 = 7 |
functions
| 123 | func tls13_record_build_nonce(static_iv: *u8, seq: i64, nonce_out: *u8) -> i64 |
| 142 | func tls13_record_write_header(header_out: *u8, total_len: i64) -> i64 called by 1: nx_tls13_record_encrypt_v2 |
| 172 | func tls13_record_aead_seal(cipher_suite: i64, |
| 205 | func tls13_record_aead_open(cipher_suite: i64, |
| 236 | func nx_tls13_record_encrypt_v2( |
| 277 | func nx_tls13_record_encrypt( called by 13: mainsend_aead_recordhsend_apphsend_aeadsend_recordmain+7 calls 1: nx_tls13_record_encrypt_v2 |
| 308 | func nx_tls13_record_decrypt_v2( |
| 359 | func nx_tls13_record_decrypt( called by 9: mainrecv_aead_recordhrecv_apphrecv_aeadrecv_recordmain+3 calls 1: nx_tls13_record_decrypt_v2 |
| 376 | func nx_tls13_rec_verdict_is_valid(v: i64) -> i64 called by 1: main |