Searched refs:gf_mulx (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daesopt.h594 #define gf_mulx(x) ((((x) & m2) << 1) ^ ((((x) & m1) >> 7) * BPOLY)) macro
597 * The following defines provide alternative definitions of gf_mulx that might
599 * that a temporary variable u needs to be defined where gf_mulx is used.
601 * #define gf_mulx(x) (u = (x) & m1, u |= (u >> 1), ((x) & m2) << 1) ^ \
604 * #define gf_mulx(x) (u = (x) & m1, ((x) & m2) << 1) ^ ((u - (u >> 7)) \
733 #define fwd_mcol(x) (g2 = gf_mulx(x), g2 ^ upr((x) ^ g2, 3) ^ \
743 #define inv_mcol(x) (g2 = gf_mulx(x), g4 = gf_mulx(g2), g9 = \
744 (x) ^ gf_mulx(g4), g4 ^= g9, \

Completed in 80 milliseconds