D | adiantum.cpp | 58 static unsigned int round_up(unsigned int a, unsigned int b) { in round_up() argument 59 return a + -a % b; in round_up() 64 static void le128_add(uint8_t res[16], const uint8_t a[16], in le128_add() 68 int sum = a[i] + b[i] + carry; in le128_add() 75 static void le128_sub(uint8_t res[16], const uint8_t a[16], in le128_sub() 79 int sum = a[i] - b[i] - carry; in le128_sub() 104 #define CHACHA_QUARTERROUND(a, b, c, d) \ argument 106 a += b; \ 107 d = rol32(d ^ a, 16); \ 110 a += b; \ [all …]
|