Relic toolkit for RIOT

Provides the Relic cryptographic toolkit to RIOT.

Configuration Options

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

1
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

1
USEPKG += relic
in your Makefile and
1
#include <relic.h>
in your main.c.