2017-07-03 01:32:46 +02:00
|
|
|
/**
|
|
|
|
* @defgroup pkg_relic Relic toolkit for RIOT
|
|
|
|
* @ingroup pkg
|
2017-07-03 11:18:47 +02:00
|
|
|
* @ingroup sys_crypto
|
2017-07-03 01:32:46 +02:00
|
|
|
* @brief 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
|
|
|
|
* ```
|
2020-12-19 10:00:08 +01:00
|
|
|
*
|
2017-07-03 01:32:46 +02:00
|
|
|
* This should happen before the ```USEPKG``` line.
|
2020-12-19 10:00:08 +01:00
|
|
|
*
|
2017-07-03 01:32:46 +02:00
|
|
|
* # Usage
|
|
|
|
* Just put
|
|
|
|
* ```
|
|
|
|
* USEPKG += relic
|
|
|
|
* ```
|
|
|
|
* in your Makefile and
|
|
|
|
* ```c
|
|
|
|
* #include <relic.h>
|
|
|
|
* ```
|
|
|
|
* in your `main.c`.
|
|
|
|
*
|
|
|
|
* @see https://github.com/relic-toolkit/relic
|
2020-12-19 10:00:08 +01:00
|
|
|
*/
|