Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/wycheproof.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Wycheproof Vectors

# START OF COMMON SECTION
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '**' ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# END OF COMMON SECTION

jobs:
wycheproof:
name: wycheproof vectors
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout wolfSSL
uses: actions/checkout@v4

- name: Build wolfSSL
run: |
autoreconf -i
./configure \
Comment on lines +26 to +29
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow assumes build tooling (e.g., autoconf/automake/libtool, compiler toolchain, cmake/ctest) is present on ubuntu-latest. Since ubuntu-latest runner contents can change over time, this can cause sporadic CI failures. Add an explicit dependency-install step (apt-get) before autoreconf/cmake to make the job deterministic.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

--enable-cryptocb \
--enable-ecc \
--enable-aesgcm \
--enable-aesccm \
--enable-aeseax \
--enable-aessiv \
--enable-aesxts \
--enable-keywrap \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That isn't an option. Did you mean --enable-aeskeywrap?

--enable-siphash \
--enable-hkdf \
--enable-mldsa \
--enable-mlkem \
--enable-slhdsa \
--disable-examples
make -j$(nproc)

- name: Checkout wychcheck
uses: actions/checkout@v4
with:
repository: wolfSSL/wychcheck
Comment thread
MarkAtwood marked this conversation as resolved.
ref: ${{ vars.WYCHCHECK_REF }}
path: wychcheck

- name: Init wycheproof vectors submodule
working-directory: wychcheck
run: git submodule update --init --depth 1 wycheproof

- name: Build wolfcrypt-check
working-directory: wychcheck
run: |
cmake -B build -DWOLFSSL_DIR=${{ github.workspace }}
cmake --build build -j$(nproc)

- name: Run wycheproof tests
working-directory: wychcheck
run: |
ctest --test-dir build \
--output-on-failure \
--parallel $(nproc) \
--output-junit test-results.xml

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: wycheproof-results
path: wychcheck/test-results.xml
Loading