Skip to content

Commit cbcf2ef

Browse files
committed
Added CI support for bitsliced AES
1 parent a8374c5 commit cbcf2ef

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/runtest.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
required: false
1616
type: string
1717
default: ''
18+
extra-features:
19+
required: false
20+
type: string
21+
default: ''
1822

1923
jobs:
2024
test:
@@ -36,5 +40,5 @@ jobs:
3640
- name: Test
3741
run: |
3842
chmod 777 ./ci/run-docker.sh
39-
./ci/run-docker.sh ${{ inputs.arch }} ${{ inputs.target }} ${{ inputs.channel == 'nightly' && '--features=nightly' || '' }}
43+
./ci/run-docker.sh ${{ inputs.arch }} ${{ inputs.target }} ${{ inputs.extra-features }}
4044
shell: bash

.github/workflows/rust.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
target: x86_64-unknown-linux-gnu
9090
channel: nightly
9191
target-features: +vaes
92+
extra-features: --features=nightly
9293

9394
test-aesni-vaes-avx512:
9495
name: Test of AESNI with VAES and AVX512F
@@ -98,6 +99,7 @@ jobs:
9899
target: x86_64-unknown-linux-gnu
99100
channel: nightly
100101
target-features: +vaes,+avx512f
102+
extra-features: --features=nightly
101103

102104
test-neon:
103105
strategy:
@@ -119,6 +121,7 @@ jobs:
119121
target: armv7-unknown-linux-gnueabihf
120122
channel: nightly
121123
target-features: +aes
124+
extra-features: --features=nightly
122125

123126
test-riscv64:
124127
name: Test of RiscV-64
@@ -128,6 +131,7 @@ jobs:
128131
target: riscv64gc-unknown-linux-gnu
129132
channel: nightly
130133
target-features: +zkne,+zknd
134+
extra-features: --features=nightly
131135

132136
test-software:
133137
strategy:
@@ -138,4 +142,16 @@ jobs:
138142
with:
139143
arch: x86_64
140144
target: x86_64-unknown-linux-gnu
141-
channel: ${{ matrix.channel }}
145+
channel: ${{ matrix.channel }}
146+
147+
test-constant-time:
148+
strategy:
149+
matrix:
150+
channel: [ stable, beta, nightly ]
151+
name: Test of Software Implementation with ${{ matrix.channel }}
152+
uses: ./.github/workflows/runtest.yml
153+
with:
154+
arch: x86_64
155+
target: x86_64-unknown-linux-gnu
156+
channel: ${{ matrix.channel }}
157+
extra-features: --features=constant-time

0 commit comments

Comments
 (0)