Function bearssl::br_ssl_engine_set_default_chapol [] [src]

pub unsafe extern "C" fn br_ssl_engine_set_default_chapol(
    cc: *mut br_ssl_engine_context
)

\brief Set the "default" ChaCha20 and Poly1305 implementations.

This function configures in the engine the ChaCha20 and Poly1305 implementations that should provide best runtime performance on the local system, while still being safe (in particular, constant-time). It also sets the handlers for ChaCha20+Poly1305 records.

\param cc SSL engine context.