diff --git a/std/crypto/hmac.zig b/std/crypto/hmac.zig index d0b5f89a37e688ce618ba3bc0373787da755532f..5d686cb7461721e79ac7018bace9f1a41eeb30b3 100644 --- a/std/crypto/hmac.zig +++ b/std/crypto/hmac.zig @@ -6,6 +6,7 @@ const mem = std.mem; pub const HmacMd5 = Hmac(crypto.Md5); pub const HmacSha1 = Hmac(crypto.Sha1); pub const HmacSha256 = Hmac(crypto.Sha256); +pub const HmacBlake2s256 = Hmac(crypto.Blake2s256); pub fn Hmac(comptime Hash: type) type { return struct.{ diff --git a/std/crypto/index.zig b/std/crypto/index.zig index 3a88fe2b2c74405306752d4b0306b21be8a849ce..3855bd8dd37135e626cadbc2b241ab554d7b36bb 100644 --- a/std/crypto/index.zig +++ b/std/crypto/index.zig @@ -23,6 +23,7 @@ const hmac = @import("hmac.zig"); pub const HmacMd5 = hmac.HmacMd5; pub const HmacSha1 = hmac.HmacSha1; pub const HmacSha256 = hmac.HmacSha256; +pub const HmacBlake2s256 = hmac.HmacBlake2s256; const import_chaCha20 = @import("chacha20.zig"); pub const chaCha20IETF = import_chaCha20.chaCha20IETF;