1
1
réplica de https://github.com/henrydcase/pqc.git sincronizado 2024-11-22 07:35:38 +00:00

pqapi.h -> pqc.h

Este cometimento está contido em:
Henry Case 2021-03-24 23:34:34 +00:00
ascendente b36a5ff8da
cometimento f02248d478
5 ficheiros modificados com 17 adições e 3 eliminações

Ver ficheiro

@ -77,7 +77,7 @@ else()
endif()
include_directories(
inc
public
src/common/
src
)

Ver ficheiro

@ -23,3 +23,17 @@ This is a repository of post-quantum schemes coppied from the submission to the
**Alternate candidates:**
* SPHINCS+
## Building
CMake is used to build the library:
```
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
```
Build outputs two libraries, a static ``libpqc_s.a`` and dynamic ``libpqc.so``, which can be linked with a project.

Ver ficheiro

@ -1,6 +1,6 @@
#include <stdint.h>
#include <stdbool.h>
#include "pqapi.h"
#include <pqc/pqc.h>
// PQClean include
#include "sign/rainbow/rainbowV-classic/clean/api.h"

Ver ficheiro

@ -1,7 +1,7 @@
#include <algorithm>
#include <vector>
#include <gtest/gtest.h>
#include "capi/pqapi.h"
#include <pqc/pqc.h>
TEST(Kyber,KEMOneOff) {