8 |f| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc.
11 |h| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc.
14 void fe_mul121666(int32_t h[10], int32_t f[10]) {
25 int64_t h0 = f0 * (int64_t) 121666;
26 int64_t h1 = f1 * (int64_t) 121666;
27 int64_t h2 = f2 * (int64_t) 121666;
28 int64_t h3 = f3 * (int64_t) 121666;
29 int64_t h4 = f4 * (int64_t) 121666;
30 int64_t h5 = f5 * (int64_t) 121666;
31 int64_t h6 = f6 * (int64_t) 121666;
32 int64_t h7 = f7 * (int64_t) 121666;
33 int64_t h8 = f8 * (int64_t) 121666;
34 int64_t h9 = f9 * (int64_t) 121666;
46 carry9 = (h9 + (int64_t) (1<<24)) >> 25; h0 += carry9 * 19; h9 -= carry9 << 25;
47 carry1 = (h1 + (int64_t) (1<<24)) >> 25; h2 += carry1; h1 -= carry1 << 25;
48 carry3 = (h3 + (int64_t) (1<<24)) >> 25; h4 += carry3; h3 -= carry3 << 25;
49 carry5 = (h5 + (int64_t) (1<<24)) >> 25; h6 += carry5; h5 -= carry5 << 25;
50 carry7 = (h7 + (int64_t) (1<<24)) >> 25; h8 += carry7; h7 -= carry7 << 25;
52 carry0 = (h0 + (int64_t) (1<<25)) >> 26; h1 += carry0; h0 -= carry0 << 26;
53 carry2 = (h2 + (int64_t) (1<<25)) >> 26; h3 += carry2; h2 -= carry2 << 26;
54 carry4 = (h4 + (int64_t) (1<<25)) >> 26; h5 += carry4; h4 -= carry4 << 26;
55 carry6 = (h6 + (int64_t) (1<<25)) >> 26; h7 += carry6; h6 -= carry6 << 26;
56 carry8 = (h8 + (int64_t) (1<<25)) >> 26; h9 += carry8; h8 -= carry8 << 26;