|
SecreC 2 language
2.8.0 (2023.09)
Language and standard library reference
|
Functions | |
| template<domain D :shared3p > | |
| uint | publicRandomPermutation (D uint domainProxy, uint n) |
| template<domain D :shared3p > | |
| D uint | privateRandomPermutation (uint n) |
| template<domain D :shared3p , type T> | |
| D T | applyPublicPermutation (D T[[1]] x, uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | applyPublicPermutationRows (D T[[2]] X, uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | applyPublicPermutationCols (D T[[2]] X, uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | applyPrivatePermutation (D T[[1]] data, D uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | applyPrivatePermutationRows (D T[[2]] data, D uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | applyPrivatePermutationCols (D T[[2]] data, D uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | unapplyPublicPermutation (D T[[1]] x, uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | unapplyPublicPermutationRows (D T[[2]] X, uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | unapplyPublicPermutationCols (D T[[2]] X, uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | unapplyPrivatePermutation (D T[[1]] x, D uint[[1]] p) |
| uint | inversePermutation (uint[[1]] permutation) |
| template<domain D :shared3p , type T> | |
| D T | unapplyPrivatePermutationRows (D T[[2]] X, D uint[[1]] p) |
| template<domain D :shared3p , type T> | |
| D T | unapplyPrivatePermutationCols (D T[[2]] X, D uint[[1]] p) |