mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-06 00:03:35 -04:00
* Update copy_from_pqclean / copy_from_upstream (#880) * Renames copy_from_pqclean to copy_from_upstream. * Adds 'upstreams' field to copy_from_upstream.yml, allowing to specify upstream repositories, branches and commits. * Modifies "copy" command in copy_from_upstream: sources are pulled from specified git-repositories. Implementation folders in $LIBOQS_DIR/src will be prefixed with the upstream-name. * Adds "verify" command in copy_from_upstream: Implementations in $LIBOQS_DIR/src are compared with expected upstream versions. * Prepares for copying pqclean, pqcrystals-kyber and pqcrystals-dilithium from upstream. * Updates copy_from_upstream to process common dependencies from an upstream. * Adds reminder text to manually update algorithm docs .md files after copying
10 lines
457 B
Plaintext
10 lines
457 B
Plaintext
{%- for family in instructions['kems'] %}
|
|
if(OQS_ENABLE_KEM_{{ family['name']|upper }})
|
|
set(PUBLIC_HEADERS ${PUBLIC_HEADERS} ${PROJECT_SOURCE_DIR}/src/kem/{{ family['name'] }}/kem_{{ family['name'] }}.h)
|
|
endif(){% endfor %}
|
|
{%- for family in instructions['sigs'] %}
|
|
if(OQS_ENABLE_SIG_{{ family['name']|upper }})
|
|
set(PUBLIC_HEADERS ${PUBLIC_HEADERS} ${PROJECT_SOURCE_DIR}/src/sig/{{ family['name'] }}/sig_{{ family['name'] }}.h)
|
|
endif(){% endfor %}
|
|
|