Lines Matching refs:a
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; \
111 d = rol32(d ^ a, 8); \
210 static uint64_t NH_Add(const uint8_t *a, uint32_t b) { in NH_Add() argument
211 return static_cast<uint32_t>(get_unaligned_le32(a) + b); in NH_Add()