Lines Matching defs:IV
15 LRW_MODE implementation, Set the current IV, Tom St Denis
21 Set the IV for LRW
22 @param IV The IV, must be 16 octets
27 int lrw_setiv(const unsigned char *IV, unsigned long len, symmetric_LRW *lrw)
34 LTC_ARGCHK(IV != NULL);
45 /* copy the IV */
46 XMEMCPY(lrw->IV, IV, 16);
55 XMEMCPY(T, &lrw->PC[0][IV[0]][0], 16);
59 *((LTC_FAST_TYPE *)(T + y)) ^= *((LTC_FAST_TYPE *)(&lrw->PC[x][IV[x]][y]));
63 T[y] ^= lrw->PC[x][IV[x]][y];
69 gcm_gf_mult(lrw->tweak, IV, lrw->pad);