Home
last modified time | relevance | path

Searched refs:aad_len_u64 (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/modes/
Dccm.c116 uint64_t aad_len_u64 = aad_len; in ccm128_init_state() local
117 if (aad_len_u64 < 0x10000 - 0x100) { in ccm128_init_state()
118 state->cmac.c[0] ^= (uint8_t)(aad_len_u64 >> 8); in ccm128_init_state()
119 state->cmac.c[1] ^= (uint8_t)aad_len_u64; in ccm128_init_state()
121 } else if (aad_len_u64 <= 0xffffffff) { in ccm128_init_state()
124 state->cmac.c[2] ^= (uint8_t)(aad_len_u64 >> 24); in ccm128_init_state()
125 state->cmac.c[3] ^= (uint8_t)(aad_len_u64 >> 16); in ccm128_init_state()
126 state->cmac.c[4] ^= (uint8_t)(aad_len_u64 >> 8); in ccm128_init_state()
127 state->cmac.c[5] ^= (uint8_t)aad_len_u64; in ccm128_init_state()
132 state->cmac.c[2] ^= (uint8_t)(aad_len_u64 >> 56); in ccm128_init_state()
[all …]