-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
211 changed files
with
77,314 additions
and
1,729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Changelog | ||
|
||
## 0.0.7 | ||
|
||
- Added Falcon-Padded-512 and Falcon-Padded-1024. | ||
- Added compatibility with Padded signatures to Falcon-512 and Falcon-1024. | ||
|
||
## 0.0.6.2 (2024-02-09) | ||
|
||
- Added Mac OS support. | ||
|
||
## 0.0.6.1 (2024-01-26) | ||
|
||
- Upstream security fix for KyberSlash (both versions). | ||
https://github.com/pq-crystals/kyber/commit/dda29cc63af721981ee2c831cf00822e69be3220 | ||
https://github.com/pq-crystals/kyber/commit/11d00ff1f20cfca1f72d819e5a45165c1e0a2816 | ||
https://github.com/PQClean/PQClean/commit/3b43bc6fe46fe47be38f87af5019a7f1462ae6dd | ||
|
||
## 0.0.6.2 (2024-01-22) | ||
|
||
- Added HQC, with parameter sets hqc-128, hqc-192, and hqc-256. | ||
|
||
## 0.0.5 (2024-01-15) | ||
|
||
- Added Falcon signatures (detached only) with parameter sets Falcon-512 | ||
and Falcon-1024 (compressed version only, pending upstream | ||
https://www.github.com/PQClean/PQClean/pull/530.) | ||
|
||
## 0.0.4 (2024-01-15) | ||
|
||
- Added Kyber, with parameter sets Kyber512, Kyber768, and Kyber1024. | ||
|
||
## 0.0.3 (2024-01-15) | ||
|
||
- Added Dilithium signatures (detached only) with parameter sets | ||
Dilithium2, Dilithium3, and Dilithium5. (No AES-based version was | ||
added.) | ||
|
||
## 0.0.2 (2024-01-11) | ||
|
||
- Added SPHINCS+ signatures (detached only) with parameter sets | ||
sha2_128f_simple, sha2_128s_simple, sha2_192f_simple, sha2_192s_simple, | ||
sha2_256f_simple, sha2_256s_simple, shake_128f_simple, shake_128s_simple, | ||
shake_192f_simple, shake_192s_simple, shake_256f_simple, and | ||
shake_256s_simple. (No Haraka version was added; no Robust version was | ||
added.) | ||
|
||
## 0.0.1 (2023-12-21) | ||
|
||
- Added McEliece KEM, with parameter sets 348864, 460869, 6688128, and | ||
6960119 (only "Clean, Fast" implementations; the Plaintext Confirmation | ||
version was not added; only the NIST Round-4 version was.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
206 changes: 206 additions & 0 deletions
206
Modules/PQClean/.github/workflows/sign_falcon-padded-1024.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
# build if tests change | ||
- 'test/**' | ||
# do not build if other schemes duplicate_consistency files change | ||
- '!test/duplicate_consistency/*.yml' | ||
- 'test/duplicate_consistency/falcon-padded-1024*.yml' | ||
# build if common files change | ||
- 'common/**' | ||
# build if scheme changed | ||
- 'crypto_sign/falcon-padded-1024/**' | ||
# build if workflow file changed | ||
- '.github/workflows/sign_falcon-padded-1024.yml' | ||
# Build if any files in the root change, except .md files | ||
- '*' | ||
- '!*.md' | ||
pull_request: | ||
paths: | ||
# build if tests change | ||
- 'test/**' | ||
# do not build if other schemes duplicate_consistency files change | ||
- '!test/duplicate_consistency/*.yml' | ||
- 'test/duplicate_consistency/falcon-padded-1024*.yml' | ||
# build if common files change | ||
- 'common/**' | ||
# build if scheme changed | ||
- 'crypto_sign/falcon-padded-1024/**' | ||
# build if workflow file changed | ||
- '.github/workflows/sign_falcon-padded-1024.yml' | ||
# Build if any files in the root change, except .md files | ||
- '*' | ||
- '!*.md' | ||
schedule: | ||
- cron: '5 4 * * *' | ||
|
||
name: Test falcon-padded-1024 | ||
|
||
concurrency: | ||
group: ci-falcon-padded-1024-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-native: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: pqclean/ci-container:${{ matrix.arch }} | ||
env: | ||
PQCLEAN_ONLY_SCHEMES: falcon-padded-1024 | ||
CC: ccache ${{ matrix.cc }} | ||
CCACHE_NOSTATS: 1 | ||
CCACHE_DIR: /ccache | ||
CCACHE_SLOPPINESS: include_file_mtime | ||
strategy: | ||
matrix: | ||
arch: | ||
- amd64 | ||
- i386 | ||
cc: | ||
- gcc | ||
- clang | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Cache ccache | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-ccache | ||
with: | ||
path: /ccache | ||
key: v1-${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.cc }}-${{ env.GITHUB_WORKFLOW }}-${{ matrix.arch }} | ||
- name: Cache pip | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-python-pip | ||
with: | ||
path: ~/.cache/pip | ||
key: v1-python-pip | ||
- name: Install python dependencies | ||
run: | | ||
python3 -m pip install -U --break-system-packages -r requirements.txt | ||
- name: Run tests | ||
run: | | ||
cd test | ||
python3 -m pytest --verbose --numprocesses=auto | ||
test-emulated: | ||
needs: | ||
- test-native | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
arch: | ||
- armhf | ||
- unstable-ppc | ||
cc: | ||
- gcc | ||
- clang | ||
env: | ||
CC: ${{ matrix.cc }} | ||
steps: | ||
- name: Register qemu-user-static | ||
run: | | ||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Cache ccache | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-ccache | ||
with: | ||
path: ~/ccache | ||
key: v1-${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.cc }}-${{ env.GITHUB_WORKFLOW }}-${{ matrix.arch }} | ||
- name: Cache pip | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-python-pip | ||
with: | ||
path: ~/.cache/pip | ||
key: v1-python-pip | ||
- name: Run tests in container | ||
run: | | ||
docker run --rm -e CI -e CC -e PQCLEAN_ONLY_SCHEMES=falcon-padded-1024 -v $PWD:$PWD -w $PWD -v ~/ccache:/ccache pqclean/ci-container:${{ matrix.arch }} /bin/bash -c "\ | ||
export CCACHE_NOSTATS=1 && \ | ||
export CCACHE_DIR=/ccache && \ | ||
export CCACHE_SLOPPINESS=include_file_mtime && \ | ||
export CC=\"ccache $CC\" && \ | ||
pip3 install -U --break-system-packages -r requirements.txt && \ | ||
cd test && \ | ||
python3 -m pytest --verbose --numprocesses=auto" | ||
test-windows: | ||
needs: | ||
- test-native | ||
strategy: | ||
matrix: | ||
arch: | ||
- x64 | ||
- x86 | ||
env: | ||
PQCLEAN_ONLY_SCHEMES: falcon-padded-1024 | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: ${{ matrix.arch }} | ||
- name: Setup astyle | ||
run: | | ||
# Setup strong crypto | ||
Set-ItemProperty -Path "HKLM:\\SOFTWARE\\Wow6432Node\\Microsoft\\.NetFramework\\v4.0.30319" -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | ||
Set-ItemProperty -Path "HKLM:\\SOFTWARE\\Microsoft\\.NetFramework\\v4.0.30319" -Name "SchUseStrongCrypto" -Value '1' -Type DWord | ||
Invoke-WebRequest -OutFile "test\\astyle.exe" "https://rded.nl/pqclean/AStyle.exe" | ||
shell: powershell | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
- name: Install python requirements | ||
run: python -m pip install -U --break-system-packages -r requirements.txt | ||
- name: Run tests | ||
run: | | ||
cd test | ||
python -m pytest --verbose --numprocesses=auto | ||
shell: cmd | ||
test-macos: | ||
needs: | ||
- test-native | ||
env: | ||
PQCLEAN_ONLY_SCHEMES: falcon-padded-1024 | ||
CCACHE_NOSTATS: 1 | ||
CCACHE_SLOPPINESS: include_file_mtime | ||
strategy: | ||
matrix: | ||
compiler: | ||
- clang # XCode (Apple LLVM/Clang) | ||
- gcc11 # GNU (Homebrew) | ||
runs-on: macos-latest | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install astyle | ||
run: | | ||
brew install astyle | ||
- name: Set up GCC11 compiler | ||
run: 'export PATH="/usr/local/bin:$PATH" && export CC=gcc-11' | ||
if: matrix.compiler == 'gcc11' | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
- name: Install Python dependencies | ||
run: python -m pip install -U --break-system-packages -r requirements.txt | ||
- name: Run tests | ||
run: | | ||
cd test | ||
python -m pytest --verbose --numprocesses=auto | ||
Oops, something went wrong.