Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::server::detail Namespace Reference

Functions

bool quic_random_bytes (uint8_t *dest, size_t len)
 Fills dest with bytes from the OpenSSL CSPRNG. QUIC connection IDs, stateless reset tokens and path challenges must be unpredictable (RFC 9000 sections 5.1, 8.2 and 10.3).
 

Function Documentation

◆ quic_random_bytes()

bool orbit::server::detail::quic_random_bytes ( uint8_t *  dest,
size_t  len 
)

Fills dest with bytes from the OpenSSL CSPRNG. QUIC connection IDs, stateless reset tokens and path challenges must be unpredictable (RFC 9000 sections 5.1, 8.2 and 10.3).

Returns
False if the CSPRNG failed.