• Home
  • Raw
  • Download

Lines Matching refs:ivec

61                            const AES_KEY *key, uint8_t ivec[16], unsigned *num,  in CRYPTO_cfb128_encrypt()
63 assert(in && out && key && ivec && num); in CRYPTO_cfb128_encrypt()
69 *(out++) = ivec[n] ^= *(in++); in CRYPTO_cfb128_encrypt()
74 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
76 size_t tmp = load_word_le(ivec + n) ^ load_word_le(in + n); in CRYPTO_cfb128_encrypt()
77 store_word_le(ivec + n, tmp); in CRYPTO_cfb128_encrypt()
86 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
88 out[n] = ivec[n] ^= in[n]; in CRYPTO_cfb128_encrypt()
97 *(out++) = ivec[n] ^ (c = *(in++)); in CRYPTO_cfb128_encrypt()
98 ivec[n] = c; in CRYPTO_cfb128_encrypt()
103 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
106 store_word_le(out + n, load_word_le(ivec + n) ^ t); in CRYPTO_cfb128_encrypt()
107 store_word_le(ivec + n, t); in CRYPTO_cfb128_encrypt()
115 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
118 out[n] = ivec[n] ^ (c = in[n]); in CRYPTO_cfb128_encrypt()
119 ivec[n] = c; in CRYPTO_cfb128_encrypt()
132 const AES_KEY *key, uint8_t ivec[16], int enc, in cfbr_encrypt_block()
143 OPENSSL_memcpy(ovec, ivec, 16); in cfbr_encrypt_block()
145 (*block)(ivec, ivec, key); in cfbr_encrypt_block()
150 out[n] = (ovec[16 + n] = in[n] ^ ivec[n]); in cfbr_encrypt_block()
155 out[n] = (ovec[16 + n] = in[n]) ^ ivec[n]; in cfbr_encrypt_block()
162 OPENSSL_memcpy(ivec, ovec + num, 16); in cfbr_encrypt_block()
165 ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem); in cfbr_encrypt_block()
174 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_cfb128_1_encrypt()
179 assert(in && out && key && ivec && num); in CRYPTO_cfb128_1_encrypt()
184 cfbr_encrypt_block(c, d, 1, key, ivec, enc, block); in CRYPTO_cfb128_1_encrypt()
192 unsigned char ivec[16], unsigned *num, int enc, in CRYPTO_cfb128_8_encrypt()
196 assert(in && out && key && ivec && num); in CRYPTO_cfb128_8_encrypt()
200 cfbr_encrypt_block(&in[n], &out[n], 8, key, ivec, enc, block); in CRYPTO_cfb128_8_encrypt()