Lines Matching refs:ivec
29 const void *key, unsigned char ivec[16], in CRYPTO_cts128_encrypt_block()
42 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, block); in CRYPTO_cts128_encrypt_block()
48 ivec[n] ^= in[n]; in CRYPTO_cts128_encrypt_block()
49 (*block) (ivec, ivec, key); in CRYPTO_cts128_encrypt_block()
51 memcpy(out - 16, ivec, 16); in CRYPTO_cts128_encrypt_block()
59 unsigned char ivec[16], in CRYPTO_nistcts128_encrypt_block()
71 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, block); in CRYPTO_nistcts128_encrypt_block()
80 ivec[n] ^= in[n]; in CRYPTO_nistcts128_encrypt_block()
81 (*block) (ivec, ivec, key); in CRYPTO_nistcts128_encrypt_block()
82 memcpy(out - 16 + residue, ivec, 16); in CRYPTO_nistcts128_encrypt_block()
89 unsigned char ivec[16], cbc128_f cbc) in CRYPTO_cts128_encrypt()
105 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_cts128_encrypt()
112 (*cbc) (in, out - 16, residue, key, ivec, 1); in CRYPTO_cts128_encrypt()
118 (*cbc) (tmp.c, out - 16, 16, key, ivec, 1); in CRYPTO_cts128_encrypt()
125 unsigned char ivec[16], cbc128_f cbc) in CRYPTO_nistcts128_encrypt()
140 (*cbc) (in, out, len, key, ivec, 1); 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()
160 const void *key, unsigned char ivec[16], in CRYPTO_cts128_decrypt_block()
178 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, block); in CRYPTO_cts128_decrypt_block()
191 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cts128_decrypt_block()
192 ivec[n] = c; in CRYPTO_cts128_decrypt_block()
203 unsigned char ivec[16], in CRYPTO_nistcts128_decrypt_block()
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()
238 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_nistcts128_decrypt_block()
239 ivec[n] = in[n + residue]; in CRYPTO_nistcts128_decrypt_block()
250 unsigned char ivec[16], cbc128_f cbc) in CRYPTO_cts128_decrypt()
267 (*cbc) (in, out, len, key, ivec, 0); in CRYPTO_cts128_decrypt()
280 (*cbc) (tmp.c, out, 16 + residue, key, ivec, 0); in CRYPTO_cts128_decrypt()
282 (*cbc) (tmp.c, tmp.c, 32, key, ivec, 0); in CRYPTO_cts128_decrypt()
290 unsigned char ivec[16], cbc128_f cbc) in CRYPTO_nistcts128_decrypt()
304 (*cbc) (in, out, len, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
311 (*cbc) (in, out, len, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
324 (*cbc) (tmp.c, out, 16 + residue, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
326 (*cbc) (tmp.c, tmp.c, 32, key, ivec, 0); in CRYPTO_nistcts128_decrypt()