Permute a vector according to a private permutation. Reverses the effect of applyPrivatePermutation.
- Note
- D - shared3p protection domain
-
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / float32 / float64 / fix32 / fix64
- Parameters
-
| x | - vector to be permuted |
| p | - permutation. Output at index p[i] will be x[i]. |
- Returns
x permuted according to permutation p
- Leakage
- None
◆ unapplyPrivatePermutation()
template<domain D :shared3p , type T>
| D T unapplyPrivatePermutation |
( |
D T |
x, |
|
|
D uint |
p |
|
) |
| |