Skip to main content

redoubt_hkdf_wycheproof/
lib.rs

1// Copyright (c) 2025-2026 Federico Hoerth <memparanoid@gmail.com>
2// SPDX-License-Identifier: GPL-3.0-only
3// See LICENSE in the repository root for full license text.
4
5//! Shared Wycheproof test runners and FIPS vectors for HKDF-SHA256 backends.
6//!
7//! This crate provides generic test runners that accept any `HkdfApi`
8//! implementation, enabling conformance testing across Rust, x86, and ARM
9//! backends without duplicating test code.
10//!
11//! ## License
12//!
13//! GPL-3.0-only
14
15#![warn(missing_docs)]
16
17/// HKDF-SHA256 Wycheproof test runner and types.
18pub mod hkdf_sha256_wycheproof;
19/// HKDF-SHA256 Wycheproof test vectors (auto-generated).
20pub mod hkdf_sha256_wycheproof_vectors;
21/// HMAC-SHA256 Wycheproof test runner and types.
22pub mod hmac_sha256_wycheproof;
23/// HMAC-SHA256 Wycheproof test vectors (auto-generated).
24pub mod hmac_sha256_wycheproof_vectors;
25/// SHA-256 compress_block test runner.
26pub mod sha256_compress_block;
27/// SHA-256 hash test runner.
28pub mod sha256_hash;