From 5cb3e55b91f5357e4a7bf409a77e0c0c399dcb50 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 6 Mar 2022 10:01:29 +0000 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 3519fcf6f..9ea7249a1 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -681,7 +681,7 @@ def gf_invert(a, mod=0x1B) : v = mod g1 = 1 g2 = 0 - j = gf_degree(a) - mod_degree + j = gf_degree(a) - 8 while (a != 1) : if (j < 0) : @@ -692,8 +692,8 @@ def gf_invert(a, mod=0x1B) : a ^= v << j g1 ^= g2 << j - a %= (1<