Lines Matching refs:bval
556 bval(x,n): extracts a byte from a word
566 #define bval(x,n) ((aes_08t)((x) >> (8 * (n))))
574 #define bval(x,n) ((aes_08t)((x) >> (24 - 8 * (n))))
583 #define word_out(x,c,v) { ((aes_08t*)(x)+4*c)[0] = bval(v,0); ((aes_08t*)(x)+4*c)[1] = bval(v,1); \
584 ((aes_08t*)(x)+4*c)[2] = bval(v,2); ((aes_08t*)(x)+4*c)[3] = bval(v,3); }
692 box[bval(vf(x,0,c),rf(0,c))], \
693 box[bval(vf(x,1,c),rf(1,c))], \
694 box[bval(vf(x,2,c),rf(2,c))], \
695 box[bval(vf(x,3,c),rf(3,c))])
698 ( tab[bval(vf(x,0,c),rf(0,c))] \
699 ^ op(tab[bval(vf(x,1,c),rf(1,c))],1) \
700 ^ op(tab[bval(vf(x,2,c),rf(2,c))],2) \
701 ^ op(tab[bval(vf(x,3,c),rf(3,c))],3))
704 ( tab[0][bval(vf(x,0,c),rf(0,c))] \
705 ^ tab[1][bval(vf(x,1,c),rf(1,c))] \
706 ^ tab[2][bval(vf(x,2,c),rf(2,c))] \
707 ^ tab[3][bval(vf(x,3,c),rf(3,c))])
710 ( tab##0[bval(vf(x,0,c),rf(0,c))] \
711 ^ tab##1[bval(vf(x,1,c),rf(1,c))] \
712 ^ tab##2[bval(vf(x,2,c),rf(2,c))] \
713 ^ tab##3[bval(vf(x,3,c),rf(3,c))])