Lines Matching defs:out
9 static void add(unsigned int out[32],const unsigned int a[32],const unsigned int b[32])
14 for (j = 0;j < 31;++j) { u += a[j] + b[j]; out[j] = u & 255; u >>= 8; }
15 u += a[31] + b[31]; out[31] = u;
18 static void sub(unsigned int out[32],const unsigned int a[32],const unsigned int b[32])
25 out[j] = u & 255;
29 out[31] = u;
60 static void mult(unsigned int out[32],const unsigned int a[32],const unsigned int b[32])
70 out[i] = u;
72 squeeze(out);
75 static void mult121665(unsigned int out[32],const unsigned int a[32])
81 for (j = 0;j < 31;++j) { u += 121665 * a[j]; out[j] = u & 255; u >>= 8; }
82 u += 121665 * a[31]; out[31] = u & 127;
84 for (j = 0;j < 31;++j) { u += out[j]; out[j] = u & 255; u >>= 8; }
85 u += out[j]; out[j] = u;
88 static void square(unsigned int out[32],const unsigned int a[32])
105 out[i] = u;
107 squeeze(out);
180 static void recip(unsigned int out[32],const unsigned int z[32])
244 /* 2^255 - 21 */ mult(out,t1,z11);