boolcrypt.se_pmodadd.find_affinequadratic_se module

Find affine-quadratic self-equivalences (QASE) of the permuted modular addition.

boolcrypt.se_pmodadd.find_affinequadratic_se.shape(wordsize, prefix_symbolic_anf, verbose, filename)[source]

Symbolic shape of the CCZ QASE of the “H” quadratic CCZ of the permuted modular addition.

boolcrypt.se_pmodadd.find_affinequadratic_se.graph_aqse_coeffs2modadd_aqse_anf(coeff2expr, wordsize, verbose, debug, filename, equations=None)[source]

Given the symbolic coefficients of the CCZ ASE of the “H” quadratic CCZ, return the symbolic anf ASE of the permuted modular addition.

boolcrypt.se_pmodadd.find_affinequadratic_se.find_aqse_pmodadd_slow(wordsize, check, threads, verbose, debug, filename)[source]

Find all QASE of the permuted modular addition for a fixed wordsize

boolcrypt.se_pmodadd.find_affinequadratic_se.find_aqse_pmodadd_with_shape(wordsize, check, threads, save_coeffs_eqs, verbose, debug, filename)[source]

Find all QASE of the permuted modular addition for a fixed wordsize using a predefined shape.