|
| template<domain D :shared3p , dim N> |
| D bool | randomize (D bool arr) |
| |
| template<domain D :shared3p , dim N> |
| D uint8 | randomize (D uint8 arr) |
| |
| template<domain D :shared3p , dim N> |
| D uint16 | randomize (D uint16 arr) |
| |
| template<domain D :shared3p , dim N> |
| D uint32 | randomize (D uint32 arr) |
| |
| template<domain D :shared3p , dim N> |
| D uint | randomize (D uint arr) |
| |
| template<domain D :shared3p , dim N> |
| D int8 | randomize (D int8 arr) |
| |
| template<domain D :shared3p , dim N> |
| D int16 | randomize (D int16 arr) |
| |
| template<domain D :shared3p , dim N> |
| D int32 | randomize (D int32 arr) |
| |
| template<domain D :shared3p , dim N> |
| D int | randomize (D int arr) |
| |
| template<domain D :shared3p , dim N> |
| D xor_uint8 | randomize (D xor_uint8 arr) |
| |
| template<domain D :shared3p , dim N> |
| D xor_uint16 | randomize (D xor_uint16 arr) |
| |
| template<domain D :shared3p , dim N> |
| D xor_uint32 | randomize (D xor_uint32 arr) |
| |
| template<domain D :shared3p , dim N> |
| D xor_uint64 | randomize (D xor_uint64 arr) |
| |
| template<domain D :shared3p , dim N> |
| D fix32 | randomize (D fix32 arr) |
| |
| template<domain D :shared3p , dim N> |
| D fix64 | randomize (D fix64 arr) |
| |
Function for randomizing values.
- Note
- D - shared3p protection domain
-
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / xor_uint8 / xor_uint16 / xor_uint32 / xor_uint64
- Parameters
-
| arr | - an array of any dimension |
- Returns
- returns an array with randomized values
- Leakage
- None
◆ randomize() [1/15]
template<domain D :shared3p , dim N>
| D bool randomize |
( |
D bool |
arr | ) |
|
◆ randomize() [2/15]
template<domain D :shared3p , dim N>
| D fix32 randomize |
( |
D fix32 |
arr | ) |
|
◆ randomize() [3/15]
template<domain D :shared3p , dim N>
| D fix64 randomize |
( |
D fix64 |
arr | ) |
|
◆ randomize() [4/15]
template<domain D :shared3p , dim N>
| D int randomize |
( |
D int |
arr | ) |
|
◆ randomize() [5/15]
template<domain D :shared3p , dim N>
| D int16 randomize |
( |
D int16 |
arr | ) |
|
◆ randomize() [6/15]
template<domain D :shared3p , dim N>
| D int32 randomize |
( |
D int32 |
arr | ) |
|
◆ randomize() [7/15]
template<domain D :shared3p , dim N>
| D int8 randomize |
( |
D int8 |
arr | ) |
|
◆ randomize() [8/15]
template<domain D :shared3p , dim N>
| D uint randomize |
( |
D uint |
arr | ) |
|
◆ randomize() [9/15]
template<domain D :shared3p , dim N>
| D uint16 randomize |
( |
D uint16 |
arr | ) |
|
◆ randomize() [10/15]
template<domain D :shared3p , dim N>
| D uint32 randomize |
( |
D uint32 |
arr | ) |
|
◆ randomize() [11/15]
template<domain D :shared3p , dim N>
| D uint8 randomize |
( |
D uint8 |
arr | ) |
|
◆ randomize() [12/15]
template<domain D :shared3p , dim N>
| D xor_uint16 randomize |
( |
D xor_uint16 |
arr | ) |
|
◆ randomize() [13/15]
template<domain D :shared3p , dim N>
| D xor_uint32 randomize |
( |
D xor_uint32 |
arr | ) |
|
◆ randomize() [14/15]
template<domain D :shared3p , dim N>
| D xor_uint64 randomize |
( |
D xor_uint64 |
arr | ) |
|
◆ randomize() [15/15]
template<domain D :shared3p , dim N>
| D xor_uint8 randomize |
( |
D xor_uint8 |
arr | ) |
|