Skip to content

Commit 614be8a

Browse files
author
Matthias Koeppe
committed
src/sage/crypto: sage -fixdoctests --only-tags
1 parent 998958b commit 614be8a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sage/crypto/boolean_function.pyx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -563,21 +563,21 @@ cdef class BooleanFunction(SageObject):
563563
sage: B.truth_table(format='hex')
564564
'43'
565565
566-
sage: BooleanFunction('00ab').truth_table(format='hex')
566+
sage: BooleanFunction('00ab').truth_table(format='hex') # needs sage.rings.polynomial.pbori
567567
'00ab'
568568
569569
sage: H = '0abbacadabbacad0'
570570
sage: len(H)
571571
16
572-
sage: T = BooleanFunction(H).truth_table(format='hex')
572+
sage: T = BooleanFunction(H).truth_table(format='hex') # needs sage.rings.polynomial.pbori
573573
sage: T == H
574574
True
575575
sage: H = H * 4
576-
sage: T = BooleanFunction(H).truth_table(format='hex')
576+
sage: T = BooleanFunction(H).truth_table(format='hex') # needs sage.rings.polynomial.pbori
577577
sage: T == H
578578
True
579579
sage: H = H * 4
580-
sage: T = BooleanFunction(H).truth_table(format='hex')
580+
sage: T = BooleanFunction(H).truth_table(format='hex') # needs sage.rings.polynomial.pbori
581581
sage: T == H
582582
True
583583
sage: len(T)
@@ -1074,7 +1074,7 @@ cdef class BooleanFunction(SageObject):
10741074
2
10751075
10761076
sage: R.<x> = GF(2^8,'a')[] # needs sage.rings.finite_rings
1077-
sage: B = BooleanFunction(x^31) # needs sage.rings.finite_rings
1077+
sage: B = BooleanFunction(x^31) # needs sage.rings.finite_rings sage.rings.polynomial.pbori
10781078
sage: B.algebraic_immunity() # needs sage.rings.finite_rings
10791079
4
10801080
"""

0 commit comments

Comments
 (0)