RustCrypto / RustCrypto/AEADs

xaes-256-gcm: C2SP standard's accumulated randomized test vectors not in testing suite

Open Beginner friendly
#864 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
961
Forks
200
Avg merge
1h 30m
Merged PRs (30d)
6

Description

The C2SP spec for XAES-256-GCM details official test vectors for XAES-256-GCM implementations to check correctness. The xaes-256-gcm crate's test suite already contains the standard test vectors, but it is missing the accumulated randomized tests that are also specified. Adding these tests would improve the quality of the project's test suite and improve confidence that future changes don't cause regressions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the xaes-256-gcm crate's existing test suite and compare its standard vectors with the C2SP XAES-256-GCM specification, especially the accumulated randomized tests section. Add coverage for the specified vectors, then run the crate's tests. Done means all accumulated randomized test cases pass alongside the existing suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography, testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.