Skip to content

Commit e4a6ffe

Browse files
committed
Add ML-KEM with Curve25519 and NISTp384
1. Add GitHub action to test wolfSSL against OpenSSH using MLKEM.
1 parent 303cafc commit e4a6ffe

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: ML-KEM Interop Tests
2+
3+
on:
4+
push:
5+
branches: [ 'draft-ietf-sshm-mlkem-hybrid-kex' ]
6+
pull_request:
7+
branches: [ '*' ]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
env:
14+
wolfssl: v5.8.4-stable
15+
os: ubuntu-latest
16+
cache_key: wolfssh-mlkem-wolfssl-${{ env.wolfssl }}-${{ env.os }}
17+
18+
jobs:
19+
build_wolfssl:
20+
name: Build wolfssl
21+
runs-on: ${{ env.os }}
22+
timeout-minutes: 4
23+
steps:
24+
- name: Checking cache for wolfSSL
25+
uses: actions/cache@v4
26+
id: cache-wolfssl
27+
with:
28+
path: build-dir/
29+
key: ${{ env.cache_key }}
30+
lookup-only: true
31+
32+
- name: Checkout, build, and install wolfSSL
33+
if: steps.cache-wolfssl.outputs.cache-hit != 'true'
34+
uses: wolfSSL/actions-build-autotools-project@v1
35+
with:
36+
repository: wolfSSL/wolfssl
37+
ref: ${{ env.wolfssl }}
38+
path: wolfssl
39+
configure: --enable-wolfssh --enable-mlkem --enable-curve25519 --enable-base64encode --enable-cryptonly --disable-examples --disable-crypttests
40+
check: false
41+
install: true
42+
43+
build_wolfssh:
44+
name: Build wolfssh
45+
runs-on: ${{ env.os }}
46+
timeout-minutes: 4
47+
needs: [build_wolfssl]
48+
steps:
49+
- name: Checking cache for wolfSSL
50+
uses: actions/cache@v4
51+
with:
52+
path: build-dir/
53+
key: wolfssh-mlkem-wolfssl-${{ env.wolfssl }}-${{ env.os }}
54+
fail-on-cache-miss: true
55+
56+
- name: Checkout, build, and test wolfSSH
57+
uses: wolfSSL/actions-build-autotools-project@v1
58+
with:
59+
repository: wolfSSL/wolfssh
60+
path: wolfssh
61+
configure: --with-wolfssl=${{ github.workspace }}/build-dir
62+
check: true

0 commit comments

Comments
 (0)