From d16b52119579fabadae3cde7ed2db3f09326f806 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 18 Sep 2023 17:55:16 -0700 Subject: [PATCH] fix bug I noticed while reading git history --- src/openpower/decoder/isa/poly1305-donna.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/poly1305-donna.py b/src/openpower/decoder/isa/poly1305-donna.py index 9ff95335..5bbbf108 100644 --- a/src/openpower/decoder/isa/poly1305-donna.py +++ b/src/openpower/decoder/isa/poly1305-donna.py @@ -28,7 +28,7 @@ def dsrd(lo, hi, sh): mask = ~((2 ** 64 - 1) >> sh) v |= (hi & mask) << 64 hi = (v >> 64) % (2 ** 64) - lo == v % (2 ** 64) + lo = v % (2 ** 64) return lo, hi -- 2.30.2