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/)"
103 * 128bit block we have used is contained in *num, and the
104 * encrypted counter is kept in ecount_buf. Both *num and
108 * This algorithm assumes that the counter is in the x lower bits
114 void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
122 assert(in && out && key && ecount_buf && num);
130 *(out++) = *(in++) ^ ecount_buf[n];
136 if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
144 *(size_t *)(in+n) ^ *(size_t *)(ecount_buf+n);
147 in += 16;
154 out[n] = in[n] ^ ecount_buf[n];
168 out[l] = in[l] ^ ecount_buf[n];
190 void CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out,
197 assert(in && out && key && ecount_buf && num);
203 *(out++) = *(in++) ^ ecount_buf[n];
229 (*func)(in,out,blocks,key,ivec);
237 in += blocks;
246 out[n] = in[n] ^ ecount_buf[n];