-
Notifications
You must be signed in to change notification settings - Fork 47
CryptoLib: Environment & Building
Scott Zemerick edited this page Dec 19, 2021
·
26 revisions
CryptoLib is currently being developed on Ubuntu 20.04 and CentOS 8.5 64bit. Dependencies include the essential development tools, such as:
- cmake
- libgcrypt
Debug and testing require:
- Python3
- pycroptodome
Build CryptoLib by following these steps:
Clone the CryptoLib repo. Switch to the desired branch. Currently, integration efforts are occurring in the collab_main branch.
- cd Crypto
- mkdir build
- cmake ../
- make
- make tests
Should a debug environment, or the building of encryption tests be necessary. Be sure to have installed Python3 and the required libraries above. The cmake command above can be modified as follows:
- cmake -DDEBUG=1 -DENCTEST=1 ../
The two flags (DEBUG and ENCTEST) can be used simultaneously, or separately.