Home | History | Annotate | Download | only in aes

Lines Matching refs:ctr

69 	uint8_t *ctr = C->authctr + 16;
72 if (++ctr[15] == 0 && ++ctr[14] == 0)
79 uint8_t *ctr = C->authctr + 16;
82 ctr[14] = ctr[15] = 0;
93 uint8_t *ctr = C->authctr + 16;
174 /* Set up the AES input for AES-CTR encryption. */
175 ctr[0] = __SHIFTIN(L - 1, CCM_EFLAGS_L);
176 memcpy(ctr + 1, nonce, noncelen);
177 memset(ctr + 1 + noncelen, 0, 16 - 1 - noncelen);
187 uint8_t *ctr = C->authctr + 16;
236 aes_enc(C->enc, ctr, C->out, C->nr);
247 uint8_t *ctr = C->authctr + 16;
293 aes_enc(C->enc, ctr, C->out, C->nr);
310 const uint8_t *ctr = C->authctr + 16;
322 aes_enc(C->enc, ctr, C->out, C->nr);