Home
last modified time | relevance | path

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

/openssl/crypto/des/
H A Dcfb_enc.c41 unsigned char ovec[16]; in DES_cfb_encrypt() local
44 unsigned char *ovec = (unsigned char *)sh; in DES_cfb_encrypt() local
81 iv = &ovec[0]; in DES_cfb_encrypt()
90 memmove(ovec, ovec + num, 8); in DES_cfb_encrypt()
93 ovec[i] = ovec[i + num] << rem | in DES_cfb_encrypt()
94 ovec[i + num + 1] >> (8 - rem); in DES_cfb_encrypt()
98 iv = &ovec[0]; in DES_cfb_encrypt()
124 iv = &ovec[0]; in DES_cfb_encrypt()
133 memmove(ovec, ovec + num, 8); in DES_cfb_encrypt()
136 ovec[i] = ovec[i + num] << rem | in DES_cfb_encrypt()
[all …]
H A Dcfb64ede.c101 unsigned char ovec[16]; in DES_ede3_cfb_encrypt() local
131 iv = &ovec[0]; in DES_ede3_cfb_encrypt()
137 memmove(ovec, ovec + num / 8, 8 + (num % 8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
141 ovec[i] <<= num % 8; in DES_ede3_cfb_encrypt()
142 ovec[i] |= ovec[i + 1] >> (8 - num % 8); in DES_ede3_cfb_encrypt()
144 iv = &ovec[0]; in DES_ede3_cfb_encrypt()
168 iv = &ovec[0]; in DES_ede3_cfb_encrypt()
174 memmove(ovec, ovec + num / 8, 8 + (num % 8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
178 ovec[i] <<= num % 8; in DES_ede3_cfb_encrypt()
179 ovec[i] |= ovec[i + 1] >> (8 - num % 8); in DES_ede3_cfb_encrypt()
[all …]
/openssl/crypto/modes/
H A Dcfb128.c156 unsigned char ovec[16 * 2 + 1]; /* +1 because we dereference (but don't in cfbr_encrypt_block() local
163 memcpy(ovec, ivec, 16); 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()

Completed in 12 milliseconds