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/)"
65 * used is contained in *num;
67 void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out,
75 assert(in && out && key && ivec && num);
84 *(out++) = ivec[n] ^= *(in++);
89 if (((size_t)in | (size_t)out | (size_t)ivec) %
97 *(size_t *)(ivec + n) ^= *(size_t *)(in + n);
101 in += 16;
107 out[n] = ivec[n] ^= in[n];
121 out[l] = ivec[n] ^= in[l];
132 *(out++) = ivec[n] ^ (c = *(in++));
138 if (((size_t)in | (size_t)out | (size_t)ivec) %
145 size_t t = *(size_t *)(in + n);
151 in += 16;
158 out[n] = ivec[n] ^ (c = in[n]);
174 out[l] = ivec[n] ^ (c = in[l]);
184 * This expects a single block of size nbits for both in and out. Note that
185 * it corrupts any extra bits in the last byte of out
187 static void cfbr_encrypt_block(const unsigned char *in, unsigned char *out,
199 /* fill in the first half of the new IV with the current IV */
206 out[n] = (ovec[16 + n] = in[n] ^ ivec[n]);
209 out[n] = (ovec[16 + n] = in[n]) ^ ivec[n];
223 void CRYPTO_cfb128_1_encrypt(const unsigned char *in, unsigned char *out,
231 assert(in && out && key && ivec && num);
235 c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0;
242 void CRYPTO_cfb128_8_encrypt(const unsigned char *in, unsigned char *out,
249 assert(in && out && key && ivec && num);
253 cfbr_encrypt_block(&in[n], &out[n], 8, key, ivec, enc, block);