1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/relic
Tobias Markmann 57b8a24466 Add a RELIC package and unit test that shows how to use it
Add install of cmake to .travis.yml.

Test-Information:

This has been tested on OS X and on Ubuntu for both the native target
and STM32F4Discovery.
2015-12-08 08:58:11 +01:00
..
0001-fixed-signedness-of-counter-variable.patch Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
0002-don-t-redefine-ALIGN.patch Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
0003-require-only-CMake-version-2.8.patch Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
fix-old-style-definitions.sh Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
fix-util_print_wo_args.sh Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
generate-cmake-xcompile.perl Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
Makefile Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
Makefile.include Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00
README.md Add a RELIC package and unit test that shows how to use it 2015-12-08 08:58:11 +01:00

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>.