sboxUv2 package
sboxUv2 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
- sboxUv2.algorithms package
- sboxUv2.apn package
- sboxUv2.biblio package
- sboxUv2.ccz package
- Subpackages
- Submodules
- sboxUv2.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()equivalences_from_lat()get_WalshZeroesSpaces()linear_equivalences()thickness_spectrum()up_to_constant_equivalences()verify_up_to_constant_equivalence()
- sboxUv2.ccz.equivalences_from_code module
- sboxUv2.ccz.tu_decompositions module
- sboxUv2.core package
- sboxUv2.databases package
- sboxUv2.display package
- Submodules
- sboxUv2.display.output module
- sboxUv2.display.pollock module
- sboxUv2.exploration package
- sboxUv2.random_objects package
- sboxUv2.scripts package
- Subpackages
- sboxUv2.scripts.apnDB package
- Submodules
- sboxUv2.scripts.apnDB.BeierleLeander module
- sboxUv2.scripts.apnDB.eightBitAPN module
- sboxUv2.scripts.apnDB.firstQAM module
- sboxUv2.scripts.apnDB.generate module
- sboxUv2.scripts.apnDB.reprs6 module
- sboxUv2.scripts.apnDB.reprs7 module
- sboxUv2.scripts.apnDB.reprs8 module
- sboxUv2.scripts.apnDB.secondQAM module
- sboxUv2.scripts.apnDB package
- Subpackages
- sboxUv2.statistics package
- Submodules
- sboxUv2.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()
- sboxUv2.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
sboxUv2.config module
The maximum number of threads used in each function.
- sboxUv2.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.