Lines Matching refs:out

28                                    unsigned char *out, size_t len,  in CRYPTO_cts128_encrypt_block()  argument
42 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, block); in CRYPTO_cts128_encrypt_block()
45 out += len; in CRYPTO_cts128_encrypt_block()
50 memcpy(out, out - 16, residue); in CRYPTO_cts128_encrypt_block()
51 memcpy(out - 16, ivec, 16); in CRYPTO_cts128_encrypt_block()
57 unsigned char *out, size_t len, in CRYPTO_nistcts128_encrypt_block() argument
71 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, block); in CRYPTO_nistcts128_encrypt_block()
77 out += len; in CRYPTO_nistcts128_encrypt_block()
82 memcpy(out - 16 + residue, ivec, 16); 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()
108 out += len; in CRYPTO_cts128_encrypt()
111 memcpy(tmp.c, out - 16, 16); in CRYPTO_cts128_encrypt()
112 (*cbc) (in, out - 16, residue, key, ivec, 1); in CRYPTO_cts128_encrypt()
113 memcpy(out, tmp.c, residue); in CRYPTO_cts128_encrypt()
117 memcpy(out, out - 16, residue); in CRYPTO_cts128_encrypt()
118 (*cbc) (tmp.c, out - 16, 16, key, ivec, 1); 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()
146 out += len; in CRYPTO_nistcts128_encrypt()
149 (*cbc) (in, out - 16 + residue, residue, key, ivec, 1); in CRYPTO_nistcts128_encrypt()
153 (*cbc) (tmp.c, out - 16 + residue, 16, key, ivec, 1); in CRYPTO_nistcts128_encrypt()
159 unsigned char *out, size_t len, in CRYPTO_cts128_decrypt_block() argument
178 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, block); in CRYPTO_cts128_decrypt_block()
180 out += len; in CRYPTO_cts128_decrypt_block()
191 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cts128_decrypt_block()
195 out[n] = tmp.c[n] ^ in[n]; in CRYPTO_cts128_decrypt_block()
201 unsigned char *out, size_t len, 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()
227 out += len; in CRYPTO_nistcts128_decrypt_block()
238 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_nistcts128_decrypt_block()
243 out[n] = tmp.c[n] ^ tmp.c[n - 16]; 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()
269 out += len; in CRYPTO_cts128_decrypt()
280 (*cbc) (tmp.c, out, 16 + residue, key, ivec, 0); in CRYPTO_cts128_decrypt()
283 memcpy(out, tmp.c, 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()
313 out += len; in CRYPTO_nistcts128_decrypt()
324 (*cbc) (tmp.c, out, 16 + residue, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
327 memcpy(out, tmp.c, 16 + residue); in CRYPTO_nistcts128_decrypt()