Home
last modified time | relevance | path

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

/dragonfly/crypto/libressl/crypto/des/
HDcfb_enc.c80 unsigned char ovec[16]; in DES_cfb_encrypt() local
83 unsigned char *ovec=(unsigned char *)sh; in DES_cfb_encrypt() local
113 iv=&ovec[0]; in DES_cfb_encrypt()
122 memmove(ovec,ovec+num,8); in DES_cfb_encrypt()
125 ovec[i]=ovec[i+num]<<rem | in DES_cfb_encrypt()
126 ovec[i+num+1]>>(8-rem); in DES_cfb_encrypt()
130 iv=&ovec[0]; in DES_cfb_encrypt()
156 iv=&ovec[0]; in DES_cfb_encrypt()
165 memmove(ovec,ovec+num,8); in DES_cfb_encrypt()
168 ovec[i]=ovec[i+num]<<rem | in DES_cfb_encrypt()
[all …]
HDcfb64ede.c149 unsigned char ovec[16]; in DES_ede3_cfb_encrypt() local
177 iv=&ovec[0]; in DES_ede3_cfb_encrypt()
183 memmove(ovec,ovec+num/8,8+(num%8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
188 ovec[i]<<=num%8; in DES_ede3_cfb_encrypt()
189 ovec[i]|=ovec[i+1]>>(8-num%8); in DES_ede3_cfb_encrypt()
191 iv=&ovec[0]; in DES_ede3_cfb_encrypt()
215 iv=&ovec[0]; in DES_ede3_cfb_encrypt()
221 memmove(ovec,ovec+num/8,8+(num%8 ? 1 : 0)); in DES_ede3_cfb_encrypt()
226 ovec[i]<<=num%8; in DES_ede3_cfb_encrypt()
227 ovec[i]|=ovec[i+1]>>(8-num%8); in DES_ede3_cfb_encrypt()
[all …]
/dragonfly/crypto/libressl/crypto/modes/
HDcfb128.c179 …unsigned char ovec[16*2 + 1]; /* +1 because we dererefence (but don't use) one byte off the end */ in cfbr_encrypt_block() local
184 memcpy(ovec,ivec,16); in cfbr_encrypt_block()
190 out[n] = (ovec[16+n] = in[n] ^ ivec[n]); in cfbr_encrypt_block()
193 out[n] = (ovec[16+n] = in[n]) ^ ivec[n]; in cfbr_encrypt_block()
198 memcpy(ivec,ovec+num,16); in cfbr_encrypt_block()
201 ivec[n] = ovec[n+num]<<rem | ovec[n+num+1]>>(8-rem); in cfbr_encrypt_block()
/dragonfly/contrib/tnftp/src/
HDprogressbar.c425 struct sigvec vec, ovec; local
430 if (sigvec(sig, &vec, &ovec) < 0)
432 return (ovec.sv_handler);