This commit is contained in:
2026-04-20 17:44:53 +02:00
parent 7aa463e80f
commit 965c877c28
+1 -1
View File
@@ -65,7 +65,7 @@ def xor_vec(a, b):
return [ai + bi for ai, bi in zip(a, b)] return [ai + bi for ai, bi in zip(a, b)]
def BP(r): def BP(r):
return [r[2], r[7], r[3], r[5], r[6], r[1], r[0], r[4]] return [r[3], r[7], r[6], r[1], r[2], r[4], r[0], r[5]]
def F31(X, Y): def F31(X, Y):
x0, x1, x2, x3, x4, x5, x6, x7 = X x0, x1, x2, x3, x4, x5, x6, x7 = X