aboutsummaryrefslogtreecommitdiff
path: root/lib/std/crypto.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-08-22 12:54:40 -0700
committerGitHub <noreply@github.com>2024-08-22 12:54:40 -0700
commit205e17a73cd6c0d30bab1e232ef872f75bfc0035 (patch)
treec16a9aad677d78098e451e751fa043353be4becc /lib/std/crypto.zig
parentfebfcbd49d0a4713dee9db38816c163fa1926ed4 (diff)
parentb131b6dd3639ff4c449c73978ddc77f51161fd9b (diff)
downloadzig-205e17a73cd6c0d30bab1e232ef872f75bfc0035.tar.gz
zig-205e17a73cd6c0d30bab1e232ef872f75bfc0035.zip
Merge pull request #21161 from jedisct1/mlkem-update
Update ML-KEM to the final specification
Diffstat (limited to 'lib/std/crypto.zig')
-rw-r--r--lib/std/crypto.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/std/crypto.zig b/lib/std/crypto.zig
index 186f287fdd..aa524fa2c2 100644
--- a/lib/std/crypto.zig
+++ b/lib/std/crypto.zig
@@ -74,8 +74,9 @@ pub const dh = struct {
/// Key Encapsulation Mechanisms.
pub const kem = struct {
- pub const kyber_d00 = @import("crypto/ml_kem.zig").kyber_d00;
- pub const ml_kem_01 = @import("crypto/ml_kem.zig").ml_kem_01;
+ pub const kyber_d00 = @import("crypto/ml_kem.zig").d00;
+ pub const ml_kem = @import("crypto/ml_kem.zig").nist;
+ pub const ml_kem_01 = @compileError("deprecated: final version of the specification has been published, use ml_kem instead");
};
/// Elliptic-curve arithmetic.