Searched refs:ovec (Results 1 – 3 of 3) sorted by relevance
/third_party/openssl/crypto/des/ |
D | cfb_enc.c | 35 unsigned char ovec[16]; in DES_cfb_encrypt() local 38 unsigned char *ovec = (unsigned char *)sh; in DES_cfb_encrypt() local 75 iv = &ovec[0]; in DES_cfb_encrypt() 84 memmove(ovec, ovec + num, 8); in DES_cfb_encrypt() 87 ovec[i] = ovec[i + num] << rem | in DES_cfb_encrypt() 88 ovec[i + num + 1] >> (8 - rem); in DES_cfb_encrypt() 92 iv = &ovec[0]; in DES_cfb_encrypt() 118 iv = &ovec[0]; in DES_cfb_encrypt() 127 memmove(ovec, ovec + num, 8); in DES_cfb_encrypt() 130 ovec[i] = ovec[i + num] << rem | in DES_cfb_encrypt() [all …]
|
D | cfb64ede.c | 95 unsigned char ovec[16]; in DES_ede3_cfb_encrypt() local 125 iv = &ovec[0]; in DES_ede3_cfb_encrypt() 131 memmove(ovec, ovec + num / 8, 8 + (num % 8 ? 1 : 0)); in DES_ede3_cfb_encrypt() 135 ovec[i] <<= num % 8; in DES_ede3_cfb_encrypt() 136 ovec[i] |= ovec[i + 1] >> (8 - num % 8); in DES_ede3_cfb_encrypt() 138 iv = &ovec[0]; in DES_ede3_cfb_encrypt() 162 iv = &ovec[0]; in DES_ede3_cfb_encrypt() 168 memmove(ovec, ovec + num / 8, 8 + (num % 8 ? 1 : 0)); in DES_ede3_cfb_encrypt() 172 ovec[i] <<= num % 8; in DES_ede3_cfb_encrypt() 173 ovec[i] |= ovec[i + 1] >> (8 - num % 8); in DES_ede3_cfb_encrypt() [all …]
|
/third_party/openssl/crypto/modes/ |
D | cfb128.c | 151 unsigned char ovec[16 * 2 + 1]; /* +1 because we dereference (but don't in cfbr_encrypt_block() local 158 memcpy(ovec, ivec, 16); in cfbr_encrypt_block() 164 out[n] = (ovec[16 + n] = in[n] ^ ivec[n]); in cfbr_encrypt_block() 167 out[n] = (ovec[16 + n] = in[n]) ^ ivec[n]; in cfbr_encrypt_block() 172 memcpy(ivec, ovec + num, 16); in cfbr_encrypt_block() 175 ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem); in cfbr_encrypt_block()
|