의 미러
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
adds McEliece
This commit is contained in:
부모
8db673b46b
커밋
20782127e8
@ -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
|
||||
|
20
src/kem/mceliece/mceliece348864/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece348864/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece348864f/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece348864f/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece460896/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece460896/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece460896f/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece460896f/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece6688128/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece6688128/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece6688128f/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece6688128f/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece6960119/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece6960119/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece6960119f/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece6960119f/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece8192128/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece8192128/clean/CMakeLists.txt
Normal file
@ -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}")
|
20
src/kem/mceliece/mceliece8192128f/clean/CMakeLists.txt
Normal file
20
src/kem/mceliece/mceliece8192128f/clean/CMakeLists.txt
Normal file
@ -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}")
|
불러오는 중...
Reference in New Issue
Block a user