59 #if defined( INC_ALL )
69 static IDEA_INT inverse(
unsigned int xin);
75 kt= &(ks->
data[0][0]);
76 n2s(key,kt[0]);
n2s(key,kt[1]);
n2s(key,kt[2]);
n2s(key,kt[3]);
77 n2s(key,kt[4]);
n2s(key,kt[5]);
n2s(key,kt[6]);
n2s(key,kt[7]);
85 *(kt++)= ((r2<<9) | (r1>>7))&0xffff;
87 *(kt++)= ((r1<<9) | (r0>>7))&0xffff;
89 *(kt++)= ((r0<<9) | (r1>>7))&0xffff;
91 *(kt++)= ((r1<<9) | (r0>>7))&0xffff;
93 *(kt++)= ((r0<<9) | (r1>>7))&0xffff;
95 *(kt++)= ((r1<<9) | (r0>>7))&0xffff;
98 *(kt++)= ((r0<<9) | (r1>>7))&0xffff;
99 *(kt++)= ((r1<<9) | (r2>>7))&0xffff;
109 tp= &(dk->
data[0][0]);
110 fp= &(ek->
data[8][0]);
113 *(tp++)=inverse(fp[0]);
114 *(tp++)=((
int)(0x10000L-fp[2])&0xffff);
115 *(tp++)=((
int)(0x10000L-fp[1])&0xffff);
116 *(tp++)=inverse(fp[3]);
123 tp= &(dk->
data[0][0]);
134 static IDEA_INT inverse(
unsigned int xin)
136 long n1,n2,q,r,b1,b2,t;
151 {
if (b2 < 0) b2=0x10001+b2; }