File tree Expand file tree Collapse file tree 1 file changed +37
-3
lines changed
Expand file tree Collapse file tree 1 file changed +37
-3
lines changed Original file line number Diff line number Diff line change 1010 test-lib :
1111 runs-on : ubuntu-latest
1212
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ math : [SPMATH=1, SPMATHALL=1, FASTMATH=1]
17+ include :
18+ - name : ED25519-SHA256
19+ keygen : --ed25519
20+ sign : --ed25519 --sha256
21+ config : SIGN=ED25519 HASH=SHA256
22+ - name : ECC256-SHA256
23+ keygen : --ecc256
24+ sign : --ecc256 --sha256
25+ config : SIGN=ECC256 HASH=SHA256
26+ - name : ECC384-SHA384
27+ keygen : --ecc384
28+ sign : --ecc384 --sha384
29+ config : SIGN=ECC384 HASH=SHA384
30+ - name : ECC521-SHA512
31+ keygen : --ecc521
32+ sign : --ecc521 --sha3
33+ config : SIGN=ECC521 HASH=SHA3
34+ - name : RSA2048-SHA256
35+ keygen : --rsa2048
36+ sign : --rsa2048 --sha256
37+ config : SIGN=RSA2048 HASH=SHA256
38+ - name : RSA3072-SHA384
39+ keygen : --rsa3072
40+ sign : --rsa3072 --sha384
41+ config : SIGN=RSA3072 HASH=SHA384
42+ - name : RSA4096-SHA512
43+ keygen : --rsa4096
44+ sign : --rsa4096 --sha3
45+ config : SIGN=RSA4096 HASH=SHA3
46+
1347 steps :
1448 - uses : actions/checkout@v4
1549 with :
@@ -23,10 +57,10 @@ jobs:
2357 run : |
2458 cp config/examples/library.config .config
2559 make keytools
26- ./tools/keytools/keygen --ed25519 -g wolfboot_signing_private_key.der
60+ ./tools/keytools/keygen ${{ matrix.keygen }} -g wolfboot_signing_private_key.der
2761 echo "Test" > test.bin
28- ./tools/keytools/sign --ed25519 --sha256 test.bin wolfboot_signing_private_key.der 1
29- make test-lib
62+ ./tools/keytools/sign ${{ matrix.sign }} test.bin wolfboot_signing_private_key.der 1
63+ make test-lib ${{ matrix.math }} ${{ matrix.config }}
3064
3165 - name : Run test-lib
3266 run : |
You can’t perform that action at this time.
0 commit comments