Home
last modified time | relevance | path

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

/external/openssl/crypto/des/
Dcfb_enc.c81 unsigned char ovec[16]; in DES_cfb_encrypt() local
84 unsigned char *ovec=(unsigned char *)sh; in DES_cfb_encrypt() local
119 iv=&ovec[0]; in DES_cfb_encrypt()
128 memmove(ovec,ovec+num,8); in DES_cfb_encrypt()
131 ovec[i]=ovec[i+num]<<rem | in DES_cfb_encrypt()
132 ovec[i+num+1]>>(8-rem); in DES_cfb_encrypt()
136 iv=&ovec[0]; in DES_cfb_encrypt()
162 iv=&ovec[0]; in DES_cfb_encrypt()
171 memmove(ovec,ovec+num,8); in DES_cfb_encrypt()
174 ovec[i]=ovec[i+num]<<rem | in DES_cfb_encrypt()
[all …]
Dcfb64ede.c159 unsigned char ovec[16]; in DES_ede3_cfb_encrypt() local
187 iv=&ovec[0]; in DES_ede3_cfb_encrypt()
193 memmove(ovec,ovec+num/8,8+(num%8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
198 ovec[i]<<=num%8; in DES_ede3_cfb_encrypt()
199 ovec[i]|=ovec[i+1]>>(8-num%8); in DES_ede3_cfb_encrypt()
201 iv=&ovec[0]; in DES_ede3_cfb_encrypt()
225 iv=&ovec[0]; in DES_ede3_cfb_encrypt()
231 memmove(ovec,ovec+num/8,8+(num%8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
236 ovec[i]<<=num%8; in DES_ede3_cfb_encrypt()
237 ovec[i]|=ovec[i+1]>>(8-num%8); in DES_ede3_cfb_encrypt()
[all …]
/external/openssl/crypto/modes/
Dcfb128.c188 …unsigned char ovec[16*2 + 1]; /* +1 because we dererefence (but don't use) one byte off the end */ in cfbr_encrypt_block() local
193 memcpy(ovec,ivec,16); 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()