Lines Matching refs:i
20 unsigned int i; in crypto_stream_salsa2012() local
26 for (i = 0; i < 32; ++i) { in crypto_stream_salsa2012()
27 kcopy[i] = k[i]; in crypto_stream_salsa2012()
29 for (i = 0; i < 8; ++i) { in crypto_stream_salsa2012()
30 in[i] = n[i]; in crypto_stream_salsa2012()
32 for (i = 8; i < 16; ++i) { in crypto_stream_salsa2012()
33 in[i] = 0; in crypto_stream_salsa2012()
38 for (i = 8; i < 16; ++i) { in crypto_stream_salsa2012()
39 u += (unsigned int)in[i]; in crypto_stream_salsa2012()
40 in[i] = u; in crypto_stream_salsa2012()
48 for (i = 0; i < (unsigned int)clen; ++i) { in crypto_stream_salsa2012()
49 c[i] = block[i]; in crypto_stream_salsa2012()
66 unsigned int i; in crypto_stream_salsa2012_xor() local
72 for (i = 0; i < 32; ++i) { in crypto_stream_salsa2012_xor()
73 kcopy[i] = k[i]; in crypto_stream_salsa2012_xor()
75 for (i = 0; i < 8; ++i) { in crypto_stream_salsa2012_xor()
76 in[i] = n[i]; in crypto_stream_salsa2012_xor()
78 for (i = 8; i < 16; ++i) { in crypto_stream_salsa2012_xor()
79 in[i] = 0; in crypto_stream_salsa2012_xor()
83 for (i = 0; i < 64; ++i) { in crypto_stream_salsa2012_xor()
84 c[i] = m[i] ^ block[i]; in crypto_stream_salsa2012_xor()
87 for (i = 8; i < 16; ++i) { in crypto_stream_salsa2012_xor()
88 u += (unsigned int)in[i]; in crypto_stream_salsa2012_xor()
89 in[i] = u; in crypto_stream_salsa2012_xor()
98 for (i = 0; i < (unsigned int)mlen; ++i) { in crypto_stream_salsa2012_xor()
99 c[i] = m[i] ^ block[i]; in crypto_stream_salsa2012_xor()