瀏覽代碼

pqapi.h -> pqc.h

kyber
Henry Case 3 年之前
父節點
當前提交
f02248d478
共有 5 個檔案被更改,包括 17 行新增3 行删除
  1. +1
    -1
      CMakeLists.txt
  2. +14
    -0
      README.md
  3. +0
    -0
      public/pqc/pqc.h
  4. +1
    -1
      src/capi/pqapi.c
  5. +1
    -1
      test/ut.cpp

+ 1
- 1
CMakeLists.txt 查看文件

@@ -77,7 +77,7 @@ else()
endif()

include_directories(
inc
public
src/common/
src
)


+ 14
- 0
README.md 查看文件

@@ -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.


src/capi/pqapi.h → public/pqc/pqc.h 查看文件


+ 1
- 1
src/capi/pqapi.c 查看文件

@@ -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"


+ 1
- 1
test/ut.cpp 查看文件

@@ -1,7 +1,7 @@
#include <algorithm>
#include <vector>
#include <gtest/gtest.h>
#include "capi/pqapi.h"
#include <pqc/pqc.h>

TEST(Kyber,KEMOneOff) {



Loading…
取消
儲存