|
Botan
1.11.15
|
Functions | |
| u16bit | expand_mask_u16bit (u16bit in) |
| u32bit | expand_mask_u32bit (u32bit in) |
| u32bit | max_32 (u32bit a, u32bit b) |
| u32bit | min_32 (u32bit a, u32bit b) |
| u16bit Botan::TA_CM::expand_mask_u16bit | ( | u16bit | in | ) |
Expand an input to a bit mask depending on it being being zero or non-zero @ param in the input
Definition at line 45 of file ta_utils.cpp.
{
return expand_mask<u16bit>(in);
}
| u32bit Botan::TA_CM::expand_mask_u32bit | ( | u32bit | in | ) |
Function used in timing attack countermeasures See Wagner, Molnar, et al "The Program Counter Security Model"
| in | an integer |
Definition at line 40 of file ta_utils.cpp.
{
return expand_mask<u32bit>(in);
}
| u32bit Botan::TA_CM::max_32 | ( | u32bit | a, |
| u32bit | b | ||
| ) |
Branch-free maximum Note: assumes twos-complement signed representation
| a | an integer |
| b | an integer |
Definition at line 50 of file ta_utils.cpp.
| u32bit Botan::TA_CM::min_32 | ( | u32bit | a, |
| u32bit | b | ||
| ) |
Branch-free minimum Note: assumes twos-complement signed representation
| a | an integer |
| b | an integer |
Definition at line 57 of file ta_utils.cpp.
1.7.6.1