Home
last modified time | relevance | path

Searched refs:ovec (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/decrepit/des/
Dcfb64ede.c141 uint8_t ovec[16]; in DES_ede3_cfb_encrypt() local
172 iv = &ovec[0]; in DES_ede3_cfb_encrypt()
178 OPENSSL_memmove(ovec, ovec + num / 8, 8 + (num % 8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
182 ovec[i] <<= num % 8; in DES_ede3_cfb_encrypt()
183 ovec[i] |= ovec[i + 1] >> (8 - num % 8); in DES_ede3_cfb_encrypt()
186 iv = &ovec[0]; in DES_ede3_cfb_encrypt()
208 iv = &ovec[0]; in DES_ede3_cfb_encrypt()
214 OPENSSL_memmove(ovec, ovec + num / 8, 8 + (num % 8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
218 ovec[i] <<= num % 8; in DES_ede3_cfb_encrypt()
219 ovec[i] |= ovec[i + 1] >> (8 - num % 8); in DES_ede3_cfb_encrypt()
[all …]
/external/boringssl/src/crypto/fipsmodule/modes/
Dcfb.c135 uint8_t ovec[16 * 2 + 1]; /* +1 because we dererefence (but don't use) one in cfbr_encrypt_block() local
143 OPENSSL_memcpy(ovec, ivec, 16); 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()