Lines Matching refs:ivec
72 unsigned char ivec[16], block128_f block) in CRYPTO_cbc128_encrypt()
75 const unsigned char *iv = ivec; in CRYPTO_cbc128_encrypt()
77 assert(in && out && key && ivec); in CRYPTO_cbc128_encrypt()
81 ((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) { in CRYPTO_cbc128_encrypt()
116 memcpy(ivec,iv,16); in CRYPTO_cbc128_encrypt()
121 unsigned char ivec[16], block128_f block) in CRYPTO_cbc128_decrypt()
126 assert(in && out && key && ivec); in CRYPTO_cbc128_decrypt()
130 const unsigned char *iv = ivec; in CRYPTO_cbc128_decrypt()
133 ((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) { in CRYPTO_cbc128_decrypt()
155 memcpy(ivec,iv,16); in CRYPTO_cbc128_decrypt()
158 ((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) { in CRYPTO_cbc128_decrypt()
164 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cbc128_decrypt()
165 ivec[n] = c; in CRYPTO_cbc128_decrypt()
179 *(size_t *)(tmp.c+n) ^ *(size_t *)(ivec+n); in CRYPTO_cbc128_decrypt()
180 *(size_t *)(ivec+n) = c; in CRYPTO_cbc128_decrypt()
194 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cbc128_decrypt()
195 ivec[n] = c; in CRYPTO_cbc128_decrypt()
199 ivec[n] = in[n]; in CRYPTO_cbc128_decrypt()