chacha20.h(0)
limb manual
chacha20.h(0)
NAME
chacha20.h - ChaCha20 encryption
SYNOPSIS
#include <limb/chacha20.h>
DESCRIPTION
This header defines the required function to encrypt/decrypt messages using the ChaCha20 cipher.
Types
The following types are defined :
chacha20_ctx
An opaque structure to be given to the functions below.
Functions
The following functions are defined :
To initialize a chacha20 context.
To encrypt/decrypt a message.
To clear a chacha20 context.
Convenience function to encrypt/decrypt a message at once.