aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-09-30 11:52:44 -0700
committerJordan <me@jordan.im>2022-09-30 11:52:44 -0700
commit0192a4e3f1c90df255e44831a579d9b0f611a543 (patch)
tree52c6bfa35b5491560af253a5e5ba90ed8a729871 /vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go
parent66bfe530b4fd5cb9755337ce718df26ee81f1b77 (diff)
downloadkeep-0192a4e3f1c90df255e44831a579d9b0f611a543.tar.gz
keep-0192a4e3f1c90df255e44831a579d9b0f611a543.zip
go.mod: bump discordgo, go-sqlite3, x/net
Diffstat (limited to 'vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go')
-rw-r--r--vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go b/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go
index c942a65..e041da5 100644
--- a/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go
+++ b/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go
@@ -136,7 +136,7 @@ func shiftRightBy2(a uint128) uint128 {
// updateGeneric absorbs msg into the state.h accumulator. For each chunk m of
// 128 bits of message, it computes
//
-// h₊ = (h + m) * r mod 2¹³⁰ - 5
+// h₊ = (h + m) * r mod 2¹³⁰ - 5
//
// If the msg length is not a multiple of TagSize, it assumes the last
// incomplete chunk is the final one.
@@ -278,8 +278,7 @@ const (
// finalize completes the modular reduction of h and computes
//
-// out = h + s mod 2¹²⁸
-//
+// out = h + s mod 2¹²⁸
func finalize(out *[TagSize]byte, h *[3]uint64, s *[2]uint64) {
h0, h1, h2 := h[0], h[1], h[2]