tree: 9464eac65abb9cfc1e1bab5d7e96056edac64d46 [path history] [tgz]
  1. include/
  2. src/
  3. test/
  4. .gitignore
  5. CMakeLists.txt
  6. Makefile
  7. README.md
cpp/README.md

Compilation

Build with make

Compile the dependencies first:

$ make deps

Then make everything:

$ make

Build with CMake

cd <project source root>
mkdir build; cd build
cmake -Dsecuremessage_USE_LOCAL_PROTOBUF=ON ..
make

Running tests

Tests with make-based build

To run tests do:

$ make run_tests

Tests with CMake-based build

cd <project source root>/build
ctest -V

Language specific details

This library has been created to run on a number of systems. Specifically, layers of indirection were built such that it is able to be run on systems such as iOS (by simply replacing the wrapper classes) and on systems with custom/non-openssl implementations (by providing alternative implementations of the code in crypto_ops_openssl.cc).