Skip to content

Add fuzz tests#29

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-fuzz-tests
Draft

Add fuzz tests#29
Copilot wants to merge 2 commits intomainfrom
copilot/add-fuzz-tests

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 25, 2025

Adds fuzz testing infrastructure using cargo-fuzz to discover potential panics or undefined behavior in cryptographic primitives.

Fuzz Targets

  • zuc128_keystream / zuc256_keystream - Keystream generation with arbitrary keys/IVs
  • zuc128_mac / zuc256_mac - MAC computation including streaming API
  • eea3 - Encryption with roundtrip verification
  • eia3 - MAC computation including streaming API

CI Integration

Weekly scheduled fuzzing via .github/workflows/fuzz.yml running each target for 60 seconds with matrix parallelization.

Usage

cargo +nightly fuzz run zuc128_keystream -- -max_total_time=60
Original prompt

This section details on the original issue you should resolve

<issue_title>fuzz tests</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Nugine <30099658+Nugine@users.noreply.github.com>
Copilot AI changed the title [WIP] Add fuzz tests for improved code coverage Add fuzz tests Dec 25, 2025
Copilot AI requested a review from Nugine December 25, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fuzz Test

2 participants