|
template<domain D, type T> |
D uint | radixSortWithIndex (D T[[1]] array, D uint[[1]] indexVector) |
|
Function for sorting values in a vector using the radix sort algorithm.
- Note
- D - all protection domains
-
Supported types - uint / xor_uint64
- Parameters
-
array | - a vector of supported type |
indexVector | - a vector of indexes that correspond to a value in the input array |
- Returns
- returns the sorted indexVector where every index corresponds to a value in the input vector
- Leakage
- Shuffled reordering decisions are declassified
◆ radixSortWithIndex()
D uint radixSortWithIndex |
( |
D T[[1]] |
array, |
|
|
D uint[[1]] |
indexVector |
|
) |
| |