Lines Matching refs:n

29     u32 n = 16, c = 1;  in ctr128_inc()  local
32 --n; in ctr128_inc()
33 c += counter[n]; in ctr128_inc()
34 counter[n] = (u8)c; in ctr128_inc()
36 } while (n); in ctr128_inc()
42 size_t *data, c, d, n; in ctr128_inc_aligned() local
52 n = 16 / sizeof(size_t); in ctr128_inc_aligned()
54 --n; in ctr128_inc_aligned()
55 d = data[n] += c; in ctr128_inc_aligned()
58 } while (n); in ctr128_inc_aligned()
79 unsigned int n; in CRYPTO_ctr128_encrypt() local
82 n = *num; in CRYPTO_ctr128_encrypt()
87 while (n && len) { in CRYPTO_ctr128_encrypt()
88 *(out++) = *(in++) ^ ecount_buf[n]; in CRYPTO_ctr128_encrypt()
90 n = (n + 1) % 16; in CRYPTO_ctr128_encrypt()
101 for (n = 0; n < 16; n += sizeof(size_t)) in CRYPTO_ctr128_encrypt()
102 *(size_t_aX *)(out + n) = in CRYPTO_ctr128_encrypt()
103 *(size_t_aX *)(in + n) in CRYPTO_ctr128_encrypt()
104 ^ *(size_t_aX *)(ecount_buf + n); in CRYPTO_ctr128_encrypt()
108 n = 0; in CRYPTO_ctr128_encrypt()
114 out[n] = in[n] ^ ecount_buf[n]; in CRYPTO_ctr128_encrypt()
115 ++n; in CRYPTO_ctr128_encrypt()
118 *num = n; in CRYPTO_ctr128_encrypt()
125 if (n == 0) { in CRYPTO_ctr128_encrypt()
129 out[l] = in[l] ^ ecount_buf[n]; in CRYPTO_ctr128_encrypt()
131 n = (n + 1) % 16; in CRYPTO_ctr128_encrypt()
134 *num = n; in CRYPTO_ctr128_encrypt()
140 u32 n = 12, c = 1; in ctr96_inc() local
143 --n; in ctr96_inc()
144 c += counter[n]; in ctr96_inc()
145 counter[n] = (u8)c; in ctr96_inc()
147 } while (n); in ctr96_inc()
156 unsigned int n, ctr32; in CRYPTO_ctr128_encrypt_ctr32() local
158 n = *num; in CRYPTO_ctr128_encrypt_ctr32()
160 while (n && len) { in CRYPTO_ctr128_encrypt_ctr32()
161 *(out++) = *(in++) ^ ecount_buf[n]; in CRYPTO_ctr128_encrypt_ctr32()
163 n = (n + 1) % 16; in CRYPTO_ctr128_encrypt_ctr32()
206 out[n] = in[n] ^ ecount_buf[n]; in CRYPTO_ctr128_encrypt_ctr32()
207 ++n; in CRYPTO_ctr128_encrypt_ctr32()
211 *num = n; in CRYPTO_ctr128_encrypt_ctr32()