Skip to main content

Crate rusty_time_nts

Crate rusty_time_nts 

Source
Expand description

rusty_time-nts — the NTS (RFC 8915) building blocks that need no TLS stack: the NTS-KE record codec and the AES-SIV-CMAC-256 extension-field AEAD.

The NTS-KE TLS handshake itself (rustls) lands in M3; everything here is transport-independent and fuzz-hardened.

Modules§

aead
AES-SIV-CMAC-256 seal/open for NTS extension fields (RFC 8915 §5.6, RFC 5297).
cookie
Server-side NTS cookies (RFC 8915 §6).
ef
NTS extension fields for NTP packets (RFC 8915 §5.x) — building a protected client request and verifying a protected server response.
records
NTS-KE record codec (RFC 8915 §4): 16-bit critical+type, 16-bit body length.

Constants§

AEAD_AES_SIV_CMAC_256
AEAD algorithm identifier for AES-SIV-CMAC-256 (RFC 5297 via IANA registry).
ALPN
ALPN identifier for NTS-KE (RFC 8915 §4).
KE_PORT
NTS-KE TCP port (RFC 8915 §4).
NEXT_PROTO_NTPV4
Next Protocol identifier for NTPv4.