sboxU package
sboxU is a package providing both all the algorithms relevant to the study of vectorial Boolean functions, in particular those intended to be used as S-boxes within symmetric cryptographic primitives.
A particular focus is put on efficiency: large parts of this library are written in C++, and multi-threading is used as much as possible.
Subpackages
- sboxU.algorithms package
- Submodules
- sboxU.algorithms.cython_functions module
- sboxU.apn package
- Subpackages
- Submodules
- sboxU.apn.cython_functions module
apn_ea_mugshot()apn_ea_mugshot_from_spectra()automorphisms_from_ortho_derivative()ccz_equivalent_quadratic_function()ea_mappings_from_ortho_derivative()enumerate_ea_classes_apn_quadratic()get_WalshZeroesSpaces_quadratic_apn()non_trivial_sn()ortho_derivative()ortho_integral()sigma_multiplicities()
- sboxU.apn.database module
- sboxU.biblio package
- sboxU.ccz package
- Subpackages
- Submodules
- sboxU.ccz.cython_functions module
EA_mapping()WalshZeroesSpacesaffine_equivalences()are_affine_equivalent()are_ccz_equivalent()are_cczl_equivalent()are_ea_equivalent()are_el_equivalent()are_linear_equivalent()ccz_block_decomposition()ccz_equivalences()ccz_equivalent_function()cczl_equivalences()ea_equivalences()el_equivalences()enumerate_ea_classes()enumerate_permutations_in_ccz_class()equivalences_from_lat()get_WalshZeroesSpaces()linear_equivalences()thickness_spectrum()up_to_constant_equivalences()verify_up_to_constant_equivalence()
- sboxU.ccz.equivalence_from_vq module
- sboxU.ccz.equivalences_from_code module
- sboxU.ccz.tu_decompositions module
- sboxU.core package
- sboxU.databases package
- sboxU.display package
- Submodules
- sboxU.display.output module
- sboxU.display.pollock module
- sboxU.random_objects package
- sboxU.scripts package
- sboxU.statistics package
- Submodules
- sboxU.statistics.anomalies module
bct_coeff_probability()ddt_coeff_probability()expected_boomerang_uniformity_distribution_permutation()expected_differential_uniformity_distribution_permutation()expected_linearity_distribution_function()expected_linearity_distribution_permutation()expected_maximum_distribution()get_proba_func()lat_coeff_probability_function()lat_coeff_probability_permutation()probability_of_max_and_occurrences()table_anomaly()table_negative_anomaly()
- sboxU.statistics.cython_functions module
absolute_walsh_spectrum()bct()boomerang_spectrum()boomerang_uniformity()ddt()differential_spectrum()differential_uniformity()fbct()fbct_spectrum()invert_lat()is_differential_uniformity_smaller_than()lat()linear_structures()linear_structures_vectorial()linear_structures_vectorial_spectrum()linearity()walsh_spectrum()walsh_transform()xddt()yddt()zddt()
Submodules
sboxU.config module
The maximum number of threads used in each function.
- sboxU.config.n_threads_from_sbox_size(n)[source]
Customize this function to adjust the number of threads used by multi-threaded functions.
The idea is to prevent the use of many threads when each of them actually has very little to do.
- Parameters:
n (-) – the bitlength of an S-box input.
- Returns:
The number of threads to use. The higher the input, the higher the number of threads.