Home | History | Annotate | Download | only in testprof

Lines Matching refs:iv2

6    unsigned char pt[64], ct[64], tmp[64], key[16], iv[16], iv2[16];
43 l = sizeof(iv2);
44 DO(cbc_getiv(iv2, &l, &cbc));
45 if (l != 16 || memcmp(iv2, iv, 16)) {
52 DO(cbc_setiv(iv2, l, &cbc));
65 l = sizeof(iv2);
66 DO(cfb_getiv(iv2, &l, &cfb));
67 /* note we don't memcmp iv2/iv since cfb_start processes the IV for the first block */
88 l = sizeof(iv2);
89 DO(ofb_getiv(iv2, &l, &ofb));
90 if (l != 16 || memcmp(iv2, iv, 16)) {
97 DO(ofb_setiv(iv2, l, &ofb));