std/crypto: Add support for AES-GCM
Already pretty fast on platforms with AES-NI, even though GHASH reduction hasn't been optimized yet, and we don't do stitching either.
This commit is contained in:
@@ -13,6 +13,8 @@ pub const aead = struct {
|
||||
pub const XChaCha20Poly1305 = chacha20.XChacha20Poly1305;
|
||||
pub const AEGIS128L = @import("crypto/aegis.zig").AEGIS128L;
|
||||
pub const AEGIS256 = @import("crypto/aegis.zig").AEGIS256;
|
||||
pub const AES128GCM = @import("crypto/aes_gcm.zig").AES128GCM;
|
||||
pub const AES256GCM = @import("crypto/aes_gcm.zig").AES256GCM;
|
||||
};
|
||||
|
||||
/// Authentication (MAC) functions.
|
||||
|
||||
Reference in New Issue
Block a user