HomeSort by relevance Sort by last modified time
    Searched refs:ovec (Results 1 - 3 of 3) sorted by null

  /external/openssl/crypto/des/
cfb_enc.c 81 unsigned char ovec[16]; local
84 unsigned char *ovec=(unsigned char *)sh; local
119 iv=&ovec[0];
128 memmove(ovec,ovec+num,8);
131 ovec[i]=ovec[i+num]<<rem |
132 ovec[i+num+1]>>(8-rem);
136 iv=&ovec[0];
162 iv=&ovec[0]
    [all...]
cfb64ede.c 159 unsigned char ovec[16]; local
187 iv=&ovec[0];
192 /* shift ovec left most of the bits... */
193 memmove(ovec,ovec+num/8,8+(num%8 ? 1 : 0));
198 ovec[i]<<=num%8;
199 ovec[i]|=ovec[i+1]>>(8-num%8);
201 iv=&ovec[0];
225 iv=&ovec[0]
    [all...]
  /external/openssl/crypto/modes/
cfb128.c 181 unsigned char ovec[16*2 + 1]; /* +1 because we dererefence (but don't use) one byte off the end */ local
186 memcpy(ovec,ivec,16);
192 out[n] = (ovec[16+n] = in[n] ^ ivec[n]);
195 out[n] = (ovec[16+n] = in[n]) ^ ivec[n];
196 /* shift ovec left... */
200 memcpy(ivec,ovec+num,16);
203 ivec[n] = ovec[n+num]<<rem | ovec[n+num+1]>>(8-rem);
205 /* it is not necessary to cleanse ovec, since the IV is not secret */

Completed in 184 milliseconds