1
1
镜像来自 https://github.com/henrydcase/pqc.git synced 2024-11-22 07:35:38 +00:00

adds McEliece

This commit is contained in:
Henry Case 2021-05-26 13:09:25 +01:00
父節點 8db673b46b
當前提交 20782127e8
共有 12 個文件被更改,包括 221 次插入2 次删除

查看文件

@ -190,7 +190,16 @@ add_subdirectory(src/kem/hqc/hqc-rmrs-128/clean)
add_subdirectory(src/kem/hqc/hqc-rmrs-192/clean)
add_subdirectory(src/kem/hqc/hqc-rmrs-256/clean)
add_subdirectory(src/kem/sike)
add_subdirectory(src/kem/mceliece/mceliece348864/clean)
add_subdirectory(src/kem/mceliece/mceliece460896/clean)
add_subdirectory(src/kem/mceliece/mceliece6688128/clean)
add_subdirectory(src/kem/mceliece/mceliece6960119/clean)
add_subdirectory(src/kem/mceliece/mceliece8192128/clean)
add_subdirectory(src/kem/mceliece/mceliece348864f/clean)
add_subdirectory(src/kem/mceliece/mceliece460896f/clean)
add_subdirectory(src/kem/mceliece/mceliece6688128f/clean)
add_subdirectory(src/kem/mceliece/mceliece6960119f/clean)
add_subdirectory(src/kem/mceliece/mceliece8192128f/clean)
# Hardware optimized targets
if(${ARCH} STREQUAL "ARCH_x86_64")

查看文件

@ -66,7 +66,17 @@ extern "C" {
_(HQCRMRS128) \
_(HQCRMRS192) \
_(HQCRMRS256) \
_(SIKE434)
_(SIKE434) \
_(MCELIECE348864) \
_(MCELIECE460896) \
_(MCELIECE6688128) \
_(MCELIECE6960119) \
_(MCELIECE8192128) \
_(MCELIECE348864F) \
_(MCELIECE460896F) \
_(MCELIECE6688128F) \
_(MCELIECE6960119F) \
_(MCELIECE8192128F)
// Defines IDs for each algorithm. The
// PQC_ALG_SIG/KEM_MAX indicates number

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE348864
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece348864_clean
PQCLEAN_MCELIECE348864_OPT "${SRC_CLEAN_MCELIECE348864}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE348864F
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece348864f_clean
PQCLEAN_MCELIECE348864F_OPT "${SRC_CLEAN_MCELIECE348864F}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE460896
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece460896_clean
PQCLEAN_MCELIECE460896_OPT "${SRC_CLEAN_MCELIECE460896}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE460896F
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece460896f_clean
PQCLEAN_MCELIECE460896F_OPT "${SRC_CLEAN_MCELIECE460896F}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE6688128
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece6688128_clean
PQCLEAN_MCELIECE6688128_OPT "${SRC_CLEAN_MCELIECE6688128}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE6688128F
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece6688128f_clean
PQCLEAN_MCELIECE6688128F_OPT "${SRC_CLEAN_MCELIECE6688128F}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE6960119
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece6960119_clean
PQCLEAN_MCELIECE6960119_OPT "${SRC_CLEAN_MCELIECE6960119}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE6960119F
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece6960119f_clean
PQCLEAN_MCELIECE6960119F_OPT "${SRC_CLEAN_MCELIECE6960119F}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE8192128
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece8192128_clean
PQCLEAN_MCELIECE8192128_OPT "${SRC_CLEAN_MCELIECE8192128}" "${CMAKE_CURRENT_SOURCE_DIR}")

查看文件

@ -0,0 +1,20 @@
set(
SRC_CLEAN_MCELIECE8192128F
aes256ctr.c
benes.c
bm.c
controlbits.c
decrypt.c
encrypt.c
gf.c
operations.c
pk_gen.c
root.c
sk_gen.c
synd.c
transpose.c
util.c
)
define_kem_alg(mceliece8192128f_clean
PQCLEAN_MCELIECE8192128F_OPT "${SRC_CLEAN_MCELIECE8192128F}" "${CMAKE_CURRENT_SOURCE_DIR}")