Lines Matching refs:ivec
27 unsigned char ivec[16], int *num, in CRYPTO_cfb128_encrypt()
45 *(out++) = ivec[n] ^= *(in++); in CRYPTO_cfb128_encrypt()
50 if (((size_t)in | (size_t)out | (size_t)ivec) % in CRYPTO_cfb128_encrypt()
55 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
58 *(size_t_aX *)(ivec + n) in CRYPTO_cfb128_encrypt()
67 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
69 out[n] = ivec[n] ^= in[n]; in CRYPTO_cfb128_encrypt()
81 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
83 out[l] = ivec[n] ^= in[l]; in CRYPTO_cfb128_encrypt()
94 *(out++) = ivec[n] ^ (c = *(in++)); in CRYPTO_cfb128_encrypt()
95 ivec[n] = c; in CRYPTO_cfb128_encrypt()
100 if (((size_t)in | (size_t)out | (size_t)ivec) % in CRYPTO_cfb128_encrypt()
105 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
109 = *(size_t_aX *)(ivec + n) ^ t; in CRYPTO_cfb128_encrypt()
110 *(size_t_aX *)(ivec + n) = t; in CRYPTO_cfb128_encrypt()
118 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
121 out[n] = ivec[n] ^ (c = in[n]); in CRYPTO_cfb128_encrypt()
122 ivec[n] = c; in CRYPTO_cfb128_encrypt()
135 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
137 out[l] = ivec[n] ^ (c = in[l]); in CRYPTO_cfb128_encrypt()
138 ivec[n] = c; in CRYPTO_cfb128_encrypt()
152 unsigned char ivec[16], int enc, in cfbr_encrypt_block()
163 memcpy(ovec, ivec, 16); in cfbr_encrypt_block()
165 (*block) (ivec, ivec, key); in cfbr_encrypt_block()
169 out[n] = (ovec[16 + n] = in[n] ^ ivec[n]); in cfbr_encrypt_block()
172 out[n] = (ovec[16 + n] = in[n]) ^ ivec[n]; in cfbr_encrypt_block()
177 memcpy(ivec, ovec + num, 16); in cfbr_encrypt_block()
180 ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem); in cfbr_encrypt_block()
188 unsigned char ivec[16], int *num, in CRYPTO_cfb128_1_encrypt()
196 cfbr_encrypt_block(c, d, 1, key, ivec, enc, block); in CRYPTO_cfb128_1_encrypt()
204 unsigned char ivec[16], int *num, in CRYPTO_cfb128_8_encrypt()
210 cfbr_encrypt_block(&in[n], &out[n], 8, key, ivec, enc, block); in CRYPTO_cfb128_8_encrypt()