Lines Matching defs:in
4 * Redistribution and use in source and binary forms, with or without
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in
19 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
27 * nor may "OpenSSL" appear in their names without prior written
33 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
111 * used is contained in *num, and the encrypted counter is kept in
114 * that the counter is in the x lower bits of the IV (ivec), and that the
119 void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
128 assert(in && out && key && ecount_buf && num);
137 *(out++) = *(in++) ^ ecount_buf[n];
143 if (((size_t)in | (size_t)out | (size_t)ecount_buf)
152 *(size_t *)(in + n) ^ *(size_t *)(ecount_buf + n);
155 in += 16;
162 out[n] = in[n] ^ ecount_buf[n];
177 out[l] = in[l] ^ ecount_buf[n];
198 void CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out,
206 assert(in && out && key && ecount_buf && num);
212 *(out++) = *(in++) ^ ecount_buf[n];
238 (*func) (in, out, blocks, key, ivec);
247 in += blocks;
257 out[n] = in[n] ^ ecount_buf[n];