wycheproof

Other Community

Skill notes

Key Concepts

Concept · Description Test vector · Input/output pair for validating crypto implementation correctness Test group · Collection of test vectors sharing attributes (key size, IV size, curve) Result flag · Indicates if test should pass (valid), fail (invalid), or is acceptable Edge case testing · Testing for known vulnerabilities and attack patterns

Why This Matters

Cryptographic implementations are notoriously difficult to get right. Even small bugs can: Expose private keys Allow signature forgery Enable message decryption Create consensus problems when different implementations accept/reject the same inputs

When to Use

Apply Wycheproof when: Testing cryptographic implementations (AES-GCM, ECDSA, ECDH, RSA, etc.) Validating that crypto code handles edge cases correctly Verifying implementations against known attack vectors Setting up CI/CD for cryptographic libraries

Quick Reference

Scenario · Recommended Approach · Notes AES-GCM implementation · Use aes_gcm_test.json · 316 test vectors across 44 test groups ECDSA verification · Use ecdsa_*_test.json for specific curves · Tests signature malleability, DER encoding ECDH key exchange · Use ecdh_*_test.json · Tests invalid curve attacks RSA signatures · Use rsa_*_test.json · Tests padding oracle attacks

Repository Structure

The Wycheproof repository is organized as follows: The essential folders are testvectors and testvectors_v1. While both contain similar files, testvectors_v1 includes more detailed information and is recommended for new integrations.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@trailofbits · no license declared
Token usage
Moderate
Setup complexity
Guided setup
External API key
Not required
Operating systems
macOS · Linux · Windows
Runtime requirements
Python
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview wycheproof.preview
# Real-World Examples

**[pycryptodome](https://pypi.org/project/pycryptodome/)** The pycryptodome library integrates Wycheproof test vectors in their test suite, demonstrating best practices for Python crypto implementations.

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.