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