Merge pull request #19239 from jedisct1/ml-kem

std.crypto: add support for ML-KEM
This commit is contained in:
Andrew Kelley
2024-03-11 18:48:08 -07:00
committed by GitHub
2 changed files with 133 additions and 85 deletions

View File

@@ -72,7 +72,8 @@ pub const dh = struct {
/// Key Encapsulation Mechanisms.
pub const kem = struct {
pub const kyber_d00 = @import("crypto/kyber_d00.zig");
pub const kyber_d00 = @import("crypto/ml_kem.zig").kyber_d00;
pub const ml_kem_01 = @import("crypto/ml_kem.zig").ml_kem_01;
};
/// Elliptic-curve arithmetic.