Loading...
Searching...
No Matches
Relic toolkit for RIOT

Provides the Relic cryptographic toolkit to RIOT.

Provides the Relic cryptographic toolkit to RIOT.

Configuration Options

You can pass along configuration flags for RELIC from your project makefile via:

export RELIC_CONFIG_FLAGS=-DARCH=NONE -DQUIET=off -DWORD=32 -DFP_PRIME=255 -DWITH="BN;MD;DV;FP;EP;CP;BC;EC" -DSEED=ZERO

This should happen before the USEPKG line.

Usage

Just put

USEPKG += relic

in your Makefile and

#include <relic.h>

in your main.c.

See also
https://github.com/relic-toolkit/relic