CoreCrypto reimplementation under GPL-3
Go to file
Ariel Abreu c272cd727d Update ctest
This fixes building tests on some modern version of Clang that use C2x, which completely removes support for non-strict prototypes
2023-02-04 11:47:54 -05:00
include/corecrypto Fix int-conversion error 2022-11-20 10:50:49 -08:00
scripts Add tests for DES 2021-11-06 14:19:11 -04:00
src Fix int-conversion error 2022-11-20 10:50:49 -08:00
tests Update ctest 2023-02-04 11:47:54 -05:00
.gitignore Implement "_multi" variants of shift functions... 2020-03-22 14:49:23 -04:00
.gitmodules gitmodules: Use Relative URL instead of Only SSH 2020-02-04 22:58:44 -08:00
CMakeLists.txt Implement AES-ECB and CBC mode 2021-01-10 15:22:00 -05:00
LICENSE Initial commit 2016-10-07 10:45:08 +02:00
README.md Add tests for AES and digests 2021-01-10 15:33:01 -05:00

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