|
template<domain D :shared3p , dim N> |
D bool | bit_extract (D xor_uint8[[N]] input) |
|
template<domain D :shared3p , dim N> |
D bool | bit_extract (D xor_uint16[[N]] input) |
|
template<domain D :shared3p , dim N> |
D bool | bit_extract (D xor_uint32[[N]] input) |
|
template<domain D :shared3p , dim N> |
D bool | bit_extract (D xor_uint64[[N]] input) |
|
Function for converting xor_uint(X) type value to the bit representation.
- Note
- D - shared3p protection domain
-
Supported types - xor_uint8 / xor_uint16 / xor_uint32 / xor_uint64
-
The input is arbitrary dimensional array, output is flattened to one boolean vector. Reshape the result to get appropriate dimensionality.
- Parameters
-
input | - the input value to convert |
- Returns
- returns filattened vector of extracted bits
- Leakage
- None
◆ bit_extract() [1/4]
D bool bit_extract |
( |
D xor_uint16[[N]] |
input | ) |
|
◆ bit_extract() [2/4]
D bool bit_extract |
( |
D xor_uint32[[N]] |
input | ) |
|
◆ bit_extract() [3/4]
D bool bit_extract |
( |
D xor_uint64[[N]] |
input | ) |
|
◆ bit_extract() [4/4]
D bool bit_extract |
( |
D xor_uint8[[N]] |
input | ) |
|