1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
6 * The library is free for all purposes without any express
12 Source donated by Elliptic Semiconductor Inc (www.ellipticsemi.com) to the LibTom Projects
18 @param I The value to multiply by x (LFSR shift)
20 void xts_mult_x(unsigned char *I)
25 for (x = t = 0; x < 16; x++) {
27 I[x] = ((I[x] << 1) | t) & 0xFF;
37 /* ref: $Format:%D$ */
38 /* git commit: $Format:%H$ */
39 /* commit time: $Format:%ai$ */