• Home
  • Raw
  • Download

Lines Matching refs:ivec

75 			unsigned char ivec[16], int *num,  in CRYPTO_cfb128_encrypt()
81 assert(in && out && key && ivec && num); in CRYPTO_cfb128_encrypt()
89 *(out++) = ivec[n] ^= *(in++); in CRYPTO_cfb128_encrypt()
94 if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) in CRYPTO_cfb128_encrypt()
98 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
101 *(size_t*)(ivec+n) ^= *(size_t*)(in+n); in CRYPTO_cfb128_encrypt()
109 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
111 out[n] = ivec[n] ^= in[n]; in CRYPTO_cfb128_encrypt()
122 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
124 out[l] = ivec[n] ^= in[l]; in CRYPTO_cfb128_encrypt()
134 *(out++) = ivec[n] ^ (c = *(in++)); ivec[n] = c; in CRYPTO_cfb128_encrypt()
139 if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) in CRYPTO_cfb128_encrypt()
143 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
146 *(size_t*)(out+n) = *(size_t*)(ivec+n) ^ t; in CRYPTO_cfb128_encrypt()
147 *(size_t*)(ivec+n) = t; in CRYPTO_cfb128_encrypt()
155 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
158 out[n] = ivec[n] ^ (c = in[n]); ivec[n] = c; in CRYPTO_cfb128_encrypt()
170 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
172 out[l] = ivec[n] ^ (c = in[l]); ivec[n] = c; in CRYPTO_cfb128_encrypt()
184 unsigned char ivec[16],int enc, in cfbr_encrypt_block()
193 memcpy(ovec,ivec,16); in cfbr_encrypt_block()
195 (*block)(ivec,ivec,key); in cfbr_encrypt_block()
199 out[n] = (ovec[16+n] = in[n] ^ ivec[n]); in cfbr_encrypt_block()
202 out[n] = (ovec[16+n] = in[n]) ^ ivec[n]; in cfbr_encrypt_block()
207 memcpy(ivec,ovec+num,16); in cfbr_encrypt_block()
210 ivec[n] = ovec[n+num]<<rem | ovec[n+num+1]>>(8-rem); in cfbr_encrypt_block()
218 unsigned char ivec[16], int *num, in CRYPTO_cfb128_1_encrypt()
224 assert(in && out && key && ivec && num); in CRYPTO_cfb128_1_encrypt()
230 cfbr_encrypt_block(c,d,1,key,ivec,enc,block); in CRYPTO_cfb128_1_encrypt()
238 unsigned char ivec[16], int *num, in CRYPTO_cfb128_8_encrypt()
243 assert(in && out && key && ivec && num); in CRYPTO_cfb128_8_encrypt()
247 cfbr_encrypt_block(&in[n],&out[n],8,key,ivec,enc,block); in CRYPTO_cfb128_8_encrypt()