mod connection;
mod dtls;
mod handshake;
mod kdf;
mod key_provider;
mod keyshare;
#[cfg(feature = "provider-psa")]
mod psa_provider;
mod psk;
mod record;
#[cfg(test)]
mod security_review_tests;
mod state;
mod tls_wire;
pub use connection::{
noxtls_parse_tls13_ocsp_staple_info, noxtls_verify_tls13_ocsp_staple, ClientHelloExtensions,
ClientHelloInfo, Connection, DtlsOperationalPolicy, DtlsOperationalProfile, ProtectedRecord,
Tls13EarlyDataOperationalPolicy, Tls13EarlyDataOperationalProfile, Tls13EarlyDataReplayState,
Tls13EarlyDataTelemetry, Tls13OcspStapleInfo, Tls13OcspStapleVerification,
Tls13OcspStapleVerifier, Tls13QuicInitialSecrets, Tls13QuicNextTrafficSecrets,
Tls13QuicPacketProtectionKeys, Tls13QuicTrafficSecretSnapshot, Tls13ServerIdentity,
Tls13ServerIdentityKey, TLS13_QUIC_EXPORTER_LABEL_CLIENT_1RTT,
TLS13_QUIC_EXPORTER_LABEL_SERVER_1RTT,
};
pub use dtls::{
noxtls_apply_dtls13_ack_ranges, noxtls_dtls13_aes128gcm_record_size, noxtls_encode_dtls13_ack,
noxtls_encode_dtls13_record_header, noxtls_encode_dtls13_record_packet,
noxtls_encode_dtls_record_header, noxtls_encode_dtls_record_packet,
noxtls_open_dtls13_aes128gcm_record, noxtls_open_dtls13_unified_aes128gcm_record,
noxtls_parse_dtls12_handshake_fragment, noxtls_parse_dtls13_ack,
noxtls_parse_dtls13_record_header, noxtls_parse_dtls13_record_packet,
noxtls_parse_dtls_record_header, noxtls_parse_dtls_record_packet,
noxtls_reassemble_dtls12_handshake_fragments, noxtls_seal_dtls13_aes128gcm_record,
noxtls_seal_dtls13_unified_aes128gcm_record, Dtls13AckRange, Dtls13Flight, Dtls13RecordHeader,
Dtls13TransportEvent, DtlsEpochReplayTracker, DtlsFlightRecord, DtlsFlightRetransmitTracker,
DtlsRecordHeader, DtlsReplayWindow,
};
pub use kdf::{
noxtls_hkdf_extract_for_hash, noxtls_hkdf_extract_with_salt_for_hash,
noxtls_tls13_expand_label_for_hash, HashAlgorithm,
};
pub use key_provider::{
ExternalKeyHandle, ExternalKeyProvider, KeyDecryptAlgorithm, KeyDecryptRequest,
KeyDeriveAlgorithm, KeyDeriveRequest, KeySignAlgorithm, KeySignRequest, SoftwareKeyProvider,
};
pub use keyshare::{
noxtls_derive_deterministic_p256_private, noxtls_derive_deterministic_x25519_private,
noxtls_derive_tls13_p256_shared_secret, noxtls_derive_tls13_x25519_shared_secret,
noxtls_p256_generate_private_key_with_entropy,
noxtls_tls13_client_hello_offers_supported_key_exchange,
noxtls_tls13_key_share_group_supported, noxtls_tls13_signature_algorithm_supported,
noxtls_x25519_generate_private_key_with_entropy,
};
#[cfg(feature = "provider-psa")]
pub use psa_provider::PsaExternalKeyProvider;
pub use psk::{ResumptionTicket, TicketStore, TicketUsagePolicy};
pub use state::{
AlertDescription, AlertLevel, CipherSuite, HandshakeState, RecordContentType, TlsRole,
TlsVersion,
};
pub use tls_wire::{
split_tls13_handshake_payload, TlsRecordDeframer, TLS_MAX_RECORD_PAYLOAD_LEN,
TLS_RECORD_HEADER_LEN,
};