Type for 96‐bit nonces used by the Set function below.

Synopsis

Declared in <crypto/chacha20.h>

using Nonce96 = std::pair<uint32_t, uint64_t>;

Description

The first field corresponds to the LE32‐encoded first 4 bytes of the nonce, also referred to as the '32‐bit fixed‐common part' in Example 2.8.2 of RFC8439.

The second field corresponds to the LE64‐encoded last 8 bytes of the nonce.

Created with MrDocs