Lines Matching refs:in

27 size_t CRYPTO_cts128_encrypt_block(const unsigned char *in,  in CRYPTO_cts128_encrypt_block()  argument
42 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, block); in CRYPTO_cts128_encrypt_block()
44 in += len; in CRYPTO_cts128_encrypt_block()
48 ivec[n] ^= in[n]; in CRYPTO_cts128_encrypt_block()
56 size_t CRYPTO_nistcts128_encrypt_block(const unsigned char *in, in CRYPTO_nistcts128_encrypt_block() argument
71 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, block); in CRYPTO_nistcts128_encrypt_block()
76 in += len; in CRYPTO_nistcts128_encrypt_block()
80 ivec[n] ^= in[n]; in CRYPTO_nistcts128_encrypt_block()
87 size_t CRYPTO_cts128_encrypt(const unsigned char *in, unsigned char *out, in CRYPTO_cts128_encrypt() argument
105 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_cts128_encrypt()
107 in += len; in CRYPTO_cts128_encrypt()
112 (*cbc) (in, out - 16, residue, key, ivec, 1); in CRYPTO_cts128_encrypt()
116 memcpy(tmp.c, in, residue); in CRYPTO_cts128_encrypt()
123 size_t CRYPTO_nistcts128_encrypt(const unsigned char *in, unsigned char *out, in CRYPTO_nistcts128_encrypt() argument
140 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_nistcts128_encrypt()
145 in += len; in CRYPTO_nistcts128_encrypt()
149 (*cbc) (in, out - 16 + residue, residue, key, ivec, 1); in CRYPTO_nistcts128_encrypt()
152 memcpy(tmp.c, in, residue); in CRYPTO_nistcts128_encrypt()
158 size_t CRYPTO_cts128_decrypt_block(const unsigned char *in, in CRYPTO_cts128_decrypt_block() argument
178 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, block); in CRYPTO_cts128_decrypt_block()
179 in += len; in CRYPTO_cts128_decrypt_block()
183 (*block) (in, tmp.c + 16, key); in CRYPTO_cts128_decrypt_block()
186 memcpy(tmp.c, in + 16, residue); in CRYPTO_cts128_decrypt_block()
190 unsigned char c = in[n]; in CRYPTO_cts128_decrypt_block()
195 out[n] = tmp.c[n] ^ in[n]; in CRYPTO_cts128_decrypt_block()
200 size_t CRYPTO_nistcts128_decrypt_block(const unsigned char *in, in CRYPTO_nistcts128_decrypt_block() argument
218 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, block); in CRYPTO_nistcts128_decrypt_block()
225 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, block); in CRYPTO_nistcts128_decrypt_block()
226 in += len; in CRYPTO_nistcts128_decrypt_block()
230 (*block) (in + residue, tmp.c + 16, key); in CRYPTO_nistcts128_decrypt_block()
233 memcpy(tmp.c, in, residue); in CRYPTO_nistcts128_decrypt_block()
237 unsigned char c = in[n]; in CRYPTO_nistcts128_decrypt_block()
239 ivec[n] = in[n + residue]; in CRYPTO_nistcts128_decrypt_block()
248 size_t CRYPTO_cts128_decrypt(const unsigned char *in, unsigned char *out, in CRYPTO_cts128_decrypt() argument
267 (*cbc) (in, out, len, key, ivec, 0); in CRYPTO_cts128_decrypt()
268 in += len; in CRYPTO_cts128_decrypt()
276 (*cbc) (in, tmp.c, 16, key, tmp.c + 16, 0); in CRYPTO_cts128_decrypt()
278 memcpy(tmp.c, in + 16, residue); in CRYPTO_cts128_decrypt()
288 size_t CRYPTO_nistcts128_decrypt(const unsigned char *in, unsigned char *out, in CRYPTO_nistcts128_decrypt() argument
304 (*cbc) (in, out, len, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
311 (*cbc) (in, out, len, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
312 in += len; in CRYPTO_nistcts128_decrypt()
320 (*cbc) (in + residue, tmp.c, 16, key, tmp.c + 16, 0); in CRYPTO_nistcts128_decrypt()
322 memcpy(tmp.c, in, residue); in CRYPTO_nistcts128_decrypt()