Lines Matching defs:IV
75 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) {
81 if (IV != NULL) {
82 bcopy(IV, cipher->IV, MAX_IV_SIZE);
84 bzero(cipher->IV, MAX_IV_SIZE);
115 ((word32*)block)[0] = ((word32*)cipher->IV)[0] ^ ((word32*)input)[0];
116 ((word32*)block)[1] = ((word32*)cipher->IV)[1] ^ ((word32*)input)[1];
117 ((word32*)block)[2] = ((word32*)cipher->IV)[2] ^ ((word32*)input)[2];
118 ((word32*)block)[3] = ((word32*)cipher->IV)[3] ^ ((word32*)input)[3];
133 *((word32*)iv[0]) = *((word32*)(cipher->IV ));
134 *((word32*)iv[1]) = *((word32*)(cipher->IV+ 4));
135 *((word32*)iv[2]) = *((word32*)(cipher->IV+ 8));
136 *((word32*)iv[3]) = *((word32*)(cipher->IV+12));
214 iv = cipher->IV;
272 *((word32*)iv[0]) = *((word32*)(cipher->IV ));
273 *((word32*)iv[1]) = *((word32*)(cipher->IV+ 4));
274 *((word32*)iv[2]) = *((word32*)(cipher->IV+ 8));
275 *((word32*)iv[3]) = *((word32*)(cipher->IV+12));
292 *((word32*)iv[0]) = *((word32*)(cipher->IV));
293 *((word32*)iv[1]) = *((word32*)(cipher->IV+ 4));
294 *((word32*)iv[2]) = *((word32*)(cipher->IV+ 8));
295 *((word32*)iv[3]) = *((word32*)(cipher->IV+12));
374 bcopy(cipher->IV, iv, 16);