Loading...
Searching...
No Matches
Monocypher cryptographic library

Provides the Monocypher cryptographic library.

Provides the Monocypher cryptographic library.

Monocypher RIOT package

Monocypher is a high performance cryptographic library. It provides functions for authenticated encryption, hashing, password key derivation, key exchange, and public key signatures.

You can find the API and more information here

Requirements

Note
Monocypher only supports 32bit platforms.

Monocypher requires around 4K of stack space depending slightly on the platform, so beware that you're allocating at least THREAD_STACKSIZE_DEFAULT + 4096 bytes.

You can do it easily by adding:

CFLAGS += '-DTHREAD_STACKSIZE_MAIN=(THREAD_STACKSIZE_DEFAULT + 4096)'

to your makefile.

Usage

Just add it as a package in your application:

USEPKG += monocypher
See also
https://monocypher.org/