Lines Matching refs:upr
552 /* upr(x,n): rotates bytes within words by n positions, moving bytes to
564 #define upr(x,n) (((aes_32t)(x) << (8 * (n))) | ((aes_32t)(x) >> (32 - 8 * (n))))
572 #define upr(x,n) (((aes_32t)(x) >> (8 * (n))) | ((aes_32t)(x) << (32 - 8 * (n))))
725 #define fwd_mcol(x) one_table(x,upr,t_use(f,m),vf1,rf1,0)
728 #define fwd_mcol(x) (g2 = gf_mulx(x), g2 ^ upr((x) ^ g2, 3) ^ upr((x), 2) ^ upr((x), 1))
734 #define inv_mcol(x) one_table(x,upr,t_use(i,m),vf1,rf1,0)
738 (x) ^ g2 ^ g4 ^ upr(g2 ^ g9, 3) ^ upr(g4, 2) ^ upr(g9, 1))
746 #define ls_box(x,c) one_table(x,upr,t_use(f,l),vf1,rf2,c)
748 #define ls_box(x,c) one_table(x,upr,t_use(l,s),vf1,rf2,c)