|
Botan 1.10.17
|
Functions | |
| template<typename T> | |
| void | cond_zero_mem (T cond, T *array, size_t elems) |
| template<typename T> | |
| void | conditional_copy_mem (T value, T *to, const T *from0, const T *from1, size_t elems) |
| template<typename T> | |
| T | expand_mask (T x) |
| template<typename T> | |
| T | expand_top_bit (T a) |
| template<typename T> | |
| T | is_equal (T x, T y) |
| template<typename T> | |
| T | is_less (T x, T y) |
| template<typename T> | |
| T | is_lte (T x, T y) |
| template<typename T> | |
| T | is_zero (T x) |
| template<typename T> | |
| T | max (T a, T b) |
| template<typename T> | |
| T | min (T a, T b) |
| template<typename T> | |
| T | select (T mask, T from0, T from1) |
| template<typename PredT, typename ValT> | |
| ValT | val_or_zero (PredT pred_val, ValT val) |
|
inline |
Definition at line 100 of file ct_utils.h.
References cond_zero_mem(), expand_mask(), and select().
Referenced by cond_zero_mem().
|
inline |
Definition at line 85 of file ct_utils.h.
References conditional_copy_mem(), expand_mask(), and select().
Referenced by conditional_copy_mem().
|
inline |
Definition at line 33 of file ct_utils.h.
References expand_mask().
Referenced by Botan::bigint_cnd_abs(), Botan::bigint_cnd_add(), Botan::bigint_cnd_sub(), Botan::bigint_cnd_swap(), cond_zero_mem(), conditional_copy_mem(), expand_mask(), expand_top_bit(), is_less(), is_lte(), is_zero(), and val_or_zero().
|
inline |
Definition at line 114 of file ct_utils.h.
References expand_mask(), and expand_top_bit().
Referenced by expand_top_bit(), max(), and min().
|
inline |
Definition at line 63 of file ct_utils.h.
References is_equal(), and is_zero().
Referenced by Botan::BigInt::const_time_lookup(), and is_equal().
|
inline |
Definition at line 69 of file ct_utils.h.
References expand_mask(), and is_less().
Referenced by is_less().
|
inline |
Definition at line 79 of file ct_utils.h.
References expand_mask(), and is_lte().
Referenced by is_lte().
|
inline |
Definition at line 57 of file ct_utils.h.
References expand_mask(), and is_zero().
Referenced by is_equal(), and is_zero().
|
inline |
Definition at line 120 of file ct_utils.h.
References expand_top_bit(), max(), and select().
Referenced by max().
|
inline |
Definition at line 127 of file ct_utils.h.
References expand_top_bit(), min(), and select().
Referenced by min().
|
inline |
Definition at line 45 of file ct_utils.h.
References select().
Referenced by Botan::bigint_cnd_abs(), Botan::bigint_cnd_add(), Botan::bigint_cnd_sub(), Botan::bigint_cnd_swap(), cond_zero_mem(), conditional_copy_mem(), Botan::BigInt::const_time_lookup(), max(), min(), select(), and val_or_zero().
|
inline |
Definition at line 51 of file ct_utils.h.
References expand_mask(), select(), and val_or_zero().
Referenced by val_or_zero().