Lines Matching defs:in
5 * Redistribution and use in source and binary forms, with or without
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
20 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
28 * nor may "OpenSSL" appear in their names without prior written
34 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
79 void AES_ige_encrypt(const unsigned char *in, unsigned char *out,
86 OPENSSL_assert(in && out && key && ivec);
93 if (in != out &&
95 || ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(long) ==
101 aes_block_t *inp = (aes_block_t *) in;
113 in += AES_BLOCK_SIZE;
127 load_block(tmp, in);
138 in += AES_BLOCK_SIZE;
145 if (in != out &&
147 || ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(long) ==
154 aes_block_t *inp = (aes_block_t *) in;
166 in += AES_BLOCK_SIZE;
180 load_block(tmp, in);
192 in += AES_BLOCK_SIZE;
202 * Note that its effectively impossible to do biIGE in anything other
208 void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out,
222 OPENSSL_assert(in && out && key && ivec);
228 * XXX: Do a separate case for when in != out (strictly should check
237 out[n] = in[n] ^ iv[n];
242 memcpy(prev, in, AES_BLOCK_SIZE);
245 in += AES_BLOCK_SIZE;
285 in += length;
288 in -= AES_BLOCK_SIZE;
290 memcpy(tmp, in, AES_BLOCK_SIZE);
291 memcpy(tmp2, in, AES_BLOCK_SIZE);
319 in += AES_BLOCK_SIZE;