Lines Matching refs:counter
29 uint32_t counter = 0x0; in aes_gcm_siv_initkey() local
32 uint32_t counter; in aes_gcm_siv_initkey() member
59 memcpy(&data.block[sizeof(data.counter)], ctx->nonce, NONCE_SIZE); in aes_gcm_siv_initkey()
65 data.counter = counter; in aes_gcm_siv_initkey()
67 data.counter = GSWAP4(counter); in aes_gcm_siv_initkey()
74 counter++; in aes_gcm_siv_initkey()
80 data.counter = counter; in aes_gcm_siv_initkey()
82 data.counter = GSWAP4(counter); in aes_gcm_siv_initkey()
89 counter++; in aes_gcm_siv_initkey()
342 uint32_t counter; in aes_gcm_siv_ctr32() local
352 counter = GSWAP4(block.x32[0]); in aes_gcm_siv_ctr32()
361 counter++; in aes_gcm_siv_ctr32()
362 block.x32[0] = GSWAP4(counter); in aes_gcm_siv_ctr32()