mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Merge pull request 'std.crypto: add hybrid post-quantum/traditional key encapsulation' (#30010) from jedisct1/zig:hybridkem into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/30010
This commit is contained in:
commit
e6d19a07d2
2 changed files with 1090 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ pub const dh = struct {
|
|||
|
||||
/// Key Encapsulation Mechanisms.
|
||||
pub const kem = struct {
|
||||
pub const hybrid = @import("crypto/hybrid_kem.zig");
|
||||
pub const kyber_d00 = @import("crypto/ml_kem.zig").d00;
|
||||
pub const ml_kem = @import("crypto/ml_kem.zig").nist;
|
||||
};
|
||||
|
|
|
|||
1089
lib/std/crypto/hybrid_kem.zig
Normal file
1089
lib/std/crypto/hybrid_kem.zig
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue