Skip to content

Commit 3d01c52

Browse files
authored
PEP8 fix
1 parent 8eab361 commit 3d01c52

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sage/crypto/sboxes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ def monomial_function(n, e):
404404

405405
def chi(n):
406406
r"""
407-
Return the `\chi` function defined over `\GF{2^n}` used in the nonlinear layer of Keccak and Xoodyak.
407+
Return the `\chi` function defined over `\GF{2^n}` used in the nonlinear
408+
layer of Keccak and Xoodyak.
408409
409410
INPUT:
410411
@@ -420,7 +421,8 @@ def chi(n):
420421
sage: chi(4).is_permutation()
421422
False
422423
sage: chi(5)
423-
(0, 9, 18, 11, 5, 12, 22, 15, 10, 3, 24, 1, 13, 4, 30, 7, 20, 21, 6, 23, 17, 16, 2, 19, 26, 27, 8, 25, 29, 28, 14, 31)
424+
(0, 9, 18, 11, 5, 12, 22, 15, 10, 3, 24, 1, 13, 4, 30, 7, 20, 21, 6,
425+
23, 17, 16, 2, 19, 26, 27, 8, 25, 29, 28, 14, 31)
424426
"""
425427
table = [0]*(1 << n)
426428

0 commit comments

Comments
 (0)