mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
pqapi.h -> pqc.h
This commit is contained in:
parent
b36a5ff8da
commit
f02248d478
@ -77,7 +77,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
inc
|
public
|
||||||
src/common/
|
src/common/
|
||||||
src
|
src
|
||||||
)
|
)
|
||||||
|
14
README.md
14
README.md
@ -23,3 +23,17 @@ This is a repository of post-quantum schemes coppied from the submission to the
|
|||||||
|
|
||||||
**Alternate candidates:**
|
**Alternate candidates:**
|
||||||
* SPHINCS+
|
* 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.
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "pqapi.h"
|
#include <pqc/pqc.h>
|
||||||
|
|
||||||
// PQClean include
|
// PQClean include
|
||||||
#include "sign/rainbow/rainbowV-classic/clean/api.h"
|
#include "sign/rainbow/rainbowV-classic/clean/api.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include "capi/pqapi.h"
|
#include <pqc/pqc.h>
|
||||||
|
|
||||||
TEST(Kyber,KEMOneOff) {
|
TEST(Kyber,KEMOneOff) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user