Open Quantum Safe Library Documentation: CMakeLists

# SPDX-License-Identifier: MIT

# This file was generated by
# scripts/copy_from_upstream/copy_from_upstream.py

set(_MQOM_OBJS "")

if(OQS_ENABLE_SIG_mqom_mqom2_cat1_gf16_fast_r3_memopt)
    add_library(mqom_mqom2_cat1_gf16_fast_r3_memopt OBJECT  mqom_mqom_common/blc_default.c mqom_mqom_common/blc_memopt.c mqom_mqom_common/blc_memopt_x1.c mqom_mqom_common/blc_memopt_x2.c mqom_mqom_common/blc_memopt_x4.c mqom_mqom_common/crypto_sign.c mqom_mqom_common/expand_mq.c mqom_mqom_common/ggm_tree.c mqom_mqom_common/keygen.c mqom_mqom_common/piop_bitslice.c mqom_mqom_common/piop_default.c mqom_mqom_common/piop_memopt.c mqom_mqom_common/prg.c mqom_mqom_common/rijndael_aes_ni.c mqom_mqom_common/rijndael_ct64.c mqom_mqom_common/rijndael_external.c mqom_mqom_common/rijndael_ref.c mqom_mqom_common/rijndael_table.c mqom_mqom_common/sign.c mqom_mqom_common/sign_memopt.c mqom_mqom_common/xof.c)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_memopt PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom2_cat1_gf16_fast_r3_memopt)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_memopt PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_memopt PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom_common)
    target_compile_options(mqom_mqom2_cat1_gf16_fast_r3_memopt PUBLIC -DMQOM2_FOR_LIBOQS -DAPPLY_PUBLIC_API_NAMESPACE=oqs_sig_pubapi_mqom2_cat1_gf16_fast_r3_memopt_ -DAPPLY_NAMESPACE=oqs_sig_private_mqom2_cat1_gf16_fast_r3_memopt_ -DMQOM2_PARAM_SECURITY=128 -DMQOM2_PARAM_BASE_FIELD=4 -DMQOM2_PARAM_TRADEOFF=0 -DMQOM2_PARAM_NBROUNDS=3 -DNO_EMBEDDED_SRAM_SECTION -DUSE_PRG_CACHE -DNO_EXPANDMQ_PRG_CACHE -DMEMORY_EFFICIENT_BLC -DPIOP_BITSLICE -DMEMORY_EFFICIENT_KEYGEN -DUSE_XOF_X4)
    set(_MQOM_OBJS ${_MQOM_OBJS} $<TARGET_OBJECTS:mqom_mqom2_cat1_gf16_fast_r3_memopt>)
endif()

if(OQS_ENABLE_SIG_mqom_mqom2_cat1_gf16_fast_r3)
    add_library(mqom_mqom2_cat1_gf16_fast_r3_default OBJECT sig_mqom_mqom2_cat1_gf16_fast_r3.c  mqom_mqom_common/blc_default.c mqom_mqom_common/blc_memopt.c mqom_mqom_common/blc_memopt_x1.c mqom_mqom_common/blc_memopt_x2.c mqom_mqom_common/blc_memopt_x4.c mqom_mqom_common/crypto_sign.c mqom_mqom_common/expand_mq.c mqom_mqom_common/ggm_tree.c mqom_mqom_common/keygen.c mqom_mqom_common/piop_bitslice.c mqom_mqom_common/piop_default.c mqom_mqom_common/piop_memopt.c mqom_mqom_common/prg.c mqom_mqom_common/rijndael_aes_ni.c mqom_mqom_common/rijndael_ct64.c mqom_mqom_common/rijndael_external.c mqom_mqom_common/rijndael_ref.c mqom_mqom_common/rijndael_table.c mqom_mqom_common/sign.c mqom_mqom_common/sign_memopt.c mqom_mqom_common/xof.c)
    target_compile_options(mqom_mqom2_cat1_gf16_fast_r3_default PUBLIC -DMQOM2_FOR_LIBOQS -DAPPLY_PUBLIC_API_NAMESPACE=oqs_sig_pubapi_mqom2_cat1_gf16_fast_r3_default_ -DAPPLY_NAMESPACE=oqs_sig_private_mqom2_cat1_gf16_fast_r3_default_ -DMQOM2_PARAM_SECURITY=128 -DMQOM2_PARAM_BASE_FIELD=4 -DMQOM2_PARAM_TRADEOFF=0 -DMQOM2_PARAM_NBROUNDS=3 -DNO_EMBEDDED_SRAM_SECTION -DUSE_PRG_CACHE -DUSE_PIOP_CACHE -DPIOP_BITSLICE -DUSE_XOF_X4 -DUSE_ENC_X8)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_default PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom2_cat1_gf16_fast_r3_default)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_default PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_default PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom_common)
    target_compile_options(mqom_mqom2_cat1_gf16_fast_r3_default PUBLIC -DMQOM2_FOR_LIBOQS -DAPPLY_PUBLIC_API_NAMESPACE=oqs_sig_pubapi_mqom2_cat1_gf16_fast_r3_default_ -DAPPLY_NAMESPACE=oqs_sig_private_mqom2_cat1_gf16_fast_r3_default_ -DMQOM2_PARAM_SECURITY=128 -DMQOM2_PARAM_BASE_FIELD=4 -DMQOM2_PARAM_TRADEOFF=0 -DMQOM2_PARAM_NBROUNDS=3 -DNO_EMBEDDED_SRAM_SECTION -DUSE_PRG_CACHE -DUSE_PIOP_CACHE -DPIOP_BITSLICE -DUSE_XOF_X4 -DUSE_ENC_X8)
    set(_MQOM_OBJS ${_MQOM_OBJS} $<TARGET_OBJECTS:mqom_mqom2_cat1_gf16_fast_r3_default>)
endif()

if(OQS_ENABLE_SIG_mqom_mqom2_cat1_gf16_fast_r3_avx2)
    add_library(mqom_mqom2_cat1_gf16_fast_r3_avx2 OBJECT  mqom_mqom_common/blc_default.c mqom_mqom_common/blc_memopt.c mqom_mqom_common/blc_memopt_x1.c mqom_mqom_common/blc_memopt_x2.c mqom_mqom_common/blc_memopt_x4.c mqom_mqom_common/crypto_sign.c mqom_mqom_common/expand_mq.c mqom_mqom_common/ggm_tree.c mqom_mqom_common/keygen.c mqom_mqom_common/piop_bitslice.c mqom_mqom_common/piop_default.c mqom_mqom_common/piop_memopt.c mqom_mqom_common/prg.c mqom_mqom_common/rijndael_aes_ni.c mqom_mqom_common/rijndael_ct64.c mqom_mqom_common/rijndael_external.c mqom_mqom_common/rijndael_ref.c mqom_mqom_common/rijndael_table.c mqom_mqom_common/sign.c mqom_mqom_common/sign_memopt.c mqom_mqom_common/xof.c)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_avx2 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom2_cat1_gf16_fast_r3_avx2)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_avx2 PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r3_avx2 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom_common)
    target_compile_options(mqom_mqom2_cat1_gf16_fast_r3_avx2 PRIVATE -mavx2 -maes)
    target_compile_options(mqom_mqom2_cat1_gf16_fast_r3_avx2 PUBLIC -DMQOM2_FOR_LIBOQS -DAPPLY_PUBLIC_API_NAMESPACE=oqs_sig_pubapi_mqom2_cat1_gf16_fast_r3_avx2_ -DAPPLY_NAMESPACE=oqs_sig_private_mqom2_cat1_gf16_fast_r3_avx2_ -DMQOM2_PARAM_SECURITY=128 -DMQOM2_PARAM_BASE_FIELD=4 -DMQOM2_PARAM_TRADEOFF=0 -DMQOM2_PARAM_NBROUNDS=3 -DNO_EMBEDDED_SRAM_SECTION -DUSE_PRG_CACHE -DUSE_PIOP_CACHE -DUSE_XOF_X4 -DUSE_ENC_X8 -DFIELDS_AVX2)
    set(_MQOM_OBJS ${_MQOM_OBJS} $<TARGET_OBJECTS:mqom_mqom2_cat1_gf16_fast_r3_avx2>)
endif()

if(OQS_ENABLE_SIG_mqom_mqom2_cat1_gf16_fast_r5_memopt)
    add_library(mqom_mqom2_cat1_gf16_fast_r5_memopt OBJECT  mqom_mqom_common/blc_default.c mqom_mqom_common/blc_memopt.c mqom_mqom_common/blc_memopt_x1.c mqom_mqom_common/blc_memopt_x2.c mqom_mqom_common/blc_memopt_x4.c mqom_mqom_common/crypto_sign.c mqom_mqom_common/expand_mq.c mqom_mqom_common/ggm_tree.c mqom_mqom_common/keygen.c mqom_mqom_common/piop_bitslice.c mqom_mqom_common/piop_default.c mqom_mqom_common/piop_memopt.c mqom_mqom_common/prg.c mqom_mqom_common/rijndael_aes_ni.c mqom_mqom_common/rijndael_ct64.c mqom_mqom_common/rijndael_external.c mqom_mqom_common/rijndael_ref.c mqom_mqom_common/rijndael_table.c mqom_mqom_common/sign.c mqom_mqom_common/sign_memopt.c mqom_mqom_common/xof.c)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r5_memopt PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom2_cat1_gf16_fast_r5_memopt)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r5_memopt PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_include_directories(mqom_mqom2_cat1_gf16_fast_r5_memopt PRIVATE ${CMAKE_CURRENT_LIST_DIR}/mqom_mqom_common)
    target_compile_options(mqom_mqom2_cat1_gf16_fast_r5_memopt PUBLIC -DMQOM2_FOR_LIBOQS -DAPPLY_PUBLIC_API_NAMESPACE=oqs_sig_pu