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

/macosx-10.5.8/xnu-1228.15.4/bsd/crypto/aes/i386/
H A Daesopt.h512 /* upr(x,n): rotates bytes within words by n positions, moving bytes to
524 #define upr(x,n) (((uint_32t)(x) << (8 * (n))) | ((uint_32t)(x) >> (32 - 8 * (n)))) macro
532 #define upr(x,n) (((uint_32t)(x) >> (8 * (n))) | ((uint_32t)(x) << (32 - 8 * (n)))) macro
687 #define fwd_mcol(x) one_table(x,upr,t_use(f,m),vf1,rf1,0)
690 #define fwd_mcol(x) (g2 = gf_mulx(x), g2 ^ upr((x) ^ g2, 3) ^ upr((x), 2) ^ upr((x), 1))
696 #define inv_mcol(x) one_table(x,upr,t_use(i,m),vf1,rf1,0)
700 (x) ^ g2 ^ g4 ^ upr(g2 ^ g9, 3) ^ upr(g
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/crypto/aes/ppc/
H A Daesopt.h552 /* 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)))) macro
572 #define upr(x,n) (((aes_32t)(x) >> (8 * (n))) | ((aes_32t)(x) << (32 - 8 * (n)))) macro
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(g
[all...]
H A Daestab.c314 t_set(f,n)[1][i] = upr(w,1);
315 t_set(f,n)[2][i] = upr(w,2);
316 t_set(f,n)[3][i] = upr(w,3);
325 t_set(f,l)[1][i] = upr(w,1);
326 t_set(f,l)[2][i] = upr(w,2);
327 t_set(f,l)[3][i] = upr(w,3);
335 t_set(l,s)[1][i] = upr(w,1);
336 t_set(l,s)[2][i] = upr(w,2);
337 t_set(l,s)[3][i] = upr(w,3);
348 t_set(i,m)[1][b] = upr(
[all...]
H A Daescrypt.c106 #define fwd_rnd(y,x,k,c) (s(y,c) = (k)[c] ^ one_table(x,upr,t_fn,fwd_var,rf1,c))
274 #define inv_rnd(y,x,k,c) (s(y,c) = (k)[c] ^ one_table(x,upr,t_in,inv_var,rf1,c))

Completed in 35 milliseconds