mirror of
https://github.com/darlinghq/darling-corecrypto.git
synced 2024-11-23 12:19:44 +00:00
CoreCrypto reimplementation under GPL-3
c272cd727d
This fixes building tests on some modern version of Clang that use C2x, which completely removes support for non-strict prototypes |
||
---|---|---|
include/corecrypto | ||
scripts | ||
src | ||
tests | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
LICENSE | ||
README.md |
Darling-CoreCrypto
Rewrite of Apple CoreCrypto for the Darling project.
Testing
Setting the ENABLE_TESTS
CMake option to ON as shown below will build CoreCrypto and the test suite
for your native host instead of Darling. It has only been tested on Ubuntu 18.04 and OSX 10.14.
We use Python (either 2 or 3) with the cryptography
module to generate some of our test data, so make sure you have those installed before building.
$ mkdir build
$ cd build
$ cmake -DENABLE_TESTS=ON ..
$ make
$ sudo make install
$ make lkm
$ sudo make lkm_install
$ darling shell
$ /usr/libexec/test_corecrypto