|
| template<domain D :shared3p > |
| D uint8 | sortingNetworkSort (D uint8 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D uint16 | sortingNetworkSort (D uint16 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D uint32 | sortingNetworkSort (D uint32 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D uint64 | sortingNetworkSort (D uint64 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D int8 | sortingNetworkSort (D int8 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D int16 | sortingNetworkSort (D int16 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D int32 | sortingNetworkSort (D int32 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D int64 | sortingNetworkSort (D int64 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D xor_uint8 | sortingNetworkSort (D xor_uint8 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D xor_uint16 | sortingNetworkSort (D xor_uint16 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D xor_uint32 | sortingNetworkSort (D xor_uint32 matrix, uint column) |
| |
| template<domain D :shared3p > |
| D xor_uint64 | sortingNetworkSort (D xor_uint64 matrix, uint column) |
| |
Function for sorting rows of a matrix based on values of a column.
- Note
- D - all protection domains
-
Supported types - uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / xor_uint8 / xor_uint16 / xor_uint32 / xor_uint64
- Parameters
-
| column | - index of the column used for ordering rows of the matrix |
| matrix | - a matrix of supported type |
- Returns
- returns a matrix with sorted rows
- Leakage
- None
◆ sortingNetworkSort() [1/12]
template<domain D :shared3p >
| D int16 sortingNetworkSort |
( |
D int16 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [2/12]
template<domain D :shared3p >
| D int32 sortingNetworkSort |
( |
D int32 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [3/12]
template<domain D :shared3p >
| D int64 sortingNetworkSort |
( |
D int64 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [4/12]
template<domain D :shared3p >
| D int8 sortingNetworkSort |
( |
D int8 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [5/12]
template<domain D :shared3p >
| D uint16 sortingNetworkSort |
( |
D uint16 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [6/12]
template<domain D :shared3p >
| D uint32 sortingNetworkSort |
( |
D uint32 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [7/12]
template<domain D :shared3p >
| D uint64 sortingNetworkSort |
( |
D uint64 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [8/12]
template<domain D :shared3p >
| D uint8 sortingNetworkSort |
( |
D uint8 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [9/12]
template<domain D :shared3p >
| D xor_uint16 sortingNetworkSort |
( |
D xor_uint16 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [10/12]
template<domain D :shared3p >
| D xor_uint32 sortingNetworkSort |
( |
D xor_uint32 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [11/12]
template<domain D :shared3p >
| D xor_uint64 sortingNetworkSort |
( |
D xor_uint64 |
matrix, |
|
|
uint |
column |
|
) |
| |
◆ sortingNetworkSort() [12/12]
template<domain D :shared3p >
| D xor_uint8 sortingNetworkSort |
( |
D xor_uint8 |
matrix, |
|
|
uint |
column |
|
) |
| |