CoreCrypto reimplementation under GPL-3
Go to file
2023-09-20 19:03:04 -04:00
include/corecrypto Add ccec_export_pub_size_cp and CCEC_GENKEY_DETERMINISTIC_LEGACY 2023-09-20 19:03:04 -04:00
scripts Add stubs for ccchacha20 and cch2c 2023-02-04 15:21:58 -08:00
src Add stubs for ccchacha20 and cch2c 2023-02-04 15:21:58 -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 stubs for commoncrypto 2023-02-04 15:21:58 -08: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