Lines Matching defs:ctr
28 * increment counter 'ctr',
30 * (LSB at ctr[len-1], MSB at ctr[0])
33 aesctr_inc(u8 *ctr, u32 len)
39 if (++ctr[i]) /* continue on overflow */
45 ctr[i] += add;
46 /* constant time for: x = ctr[i] ? 1 : 0 */
47 x = ctr[i];
65 memcpy(x->ctr, iv, AES_BLOCK_SIZE);
76 rijndaelEncrypt(x->ek, x->rounds, x->ctr, buf);
77 aesctr_inc(x->ctr, AES_BLOCK_SIZE);