Skip to content

Commit cca6f7e

Browse files
committed
Update minor things
1 parent 38eebe6 commit cca6f7e

File tree

8 files changed

+5435
-0
lines changed

8 files changed

+5435
-0
lines changed

.github/workflows/test-ref.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Tests for Dilithium ref implementation
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
level: [2, 3, 5]
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Run make
16+
run: |
17+
make -C ref clean
18+
make -C ref nistkat
19+
- name: Copy req file
20+
run: |
21+
cp Dilithium_KAT/Dilithium${{ matrix.level }}/PQCsignKAT_Dilithium${{ matrix.level }}.req ref/
22+
- name: Run PQCgenKAT_sign
23+
run: |
24+
cd ref
25+
chmod +x ./nistkat/PQCgenKAT_sign${{ matrix.level }}
26+
./nistkat/PQCgenKAT_sign${{ matrix.level }}
27+
- name: Verify KAT output
28+
run: |
29+
diff ref/PQCsignKAT_Dilithium${{ matrix.level }}.rsp Dilithium_KAT/Dilithium${{ matrix.level }}/PQCsignKAT_Dilithium${{ matrix.level }}.rsp

Dilithium_KAT/Dilithium2/PQCsignKAT_Dilithium2.req

Lines changed: 900 additions & 0 deletions
Large diffs are not rendered by default.

Dilithium_KAT/Dilithium2/PQCsignKAT_Dilithium2.rsp

Lines changed: 902 additions & 0 deletions
Large diffs are not rendered by default.

Dilithium_KAT/Dilithium3/PQCsignKAT_Dilithium3.req

Lines changed: 900 additions & 0 deletions
Large diffs are not rendered by default.

Dilithium_KAT/Dilithium3/PQCsignKAT_Dilithium3.rsp

Lines changed: 902 additions & 0 deletions
Large diffs are not rendered by default.

Dilithium_KAT/Dilithium5/PQCsignKAT_Dilithium5.req

Lines changed: 900 additions & 0 deletions
Large diffs are not rendered by default.

Dilithium_KAT/Dilithium5/PQCsignKAT_Dilithium5.rsp

Lines changed: 902 additions & 0 deletions
Large diffs are not rendered by default.

ref/output.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)