Home
last modified time | relevance | path

Searched refs:coeffs (Results 1 – 25 of 2417) sorted by relevance

12345678910>>...97

/dports/science/cdk/cdk-cdk-2.3/descriptor/qsarmolecular/src/main/java/org/openscience/cdk/qsar/descriptors/molecular/
H A DJPlogPDescriptor.java148 Map<Integer, Double> coeffs = null; field in JPlogPDescriptor.JPlogPCalculator
155 coeffs = new HashMap<>(); in JPlogPCalculator()
175 increment = coeffs.get(atomtype); in calcLogP()
697 coeffs.put(5401, 0.10394247591686294); in initcoeffs()
699 coeffs.put(5402, 0.05199289233087018); in initcoeffs()
702 coeffs.put(5403, 0.6787470799044643); in initcoeffs()
754 coeffs.put(5202, 0.2039139119266068); in initcoeffs()
788 coeffs.put(116101, 1.25794766342382); in initcoeffs()
819 coeffs.put(7108, 0.2615348564811823); in initcoeffs()
866 return coeffs; in getCoeffs()
[all …]
/dports/math/eclib/eclib-20210318/libsrc/
H A Dquadratic.cc43 coeffs[1] = 2 * (coeffs[0]*m.m11*m.m12 + coeffs[2]*m.m21*m.m22) in transform()
52 coeffs[2]+= (aq0+coeffs[1])*a; in x_shift()
60 coeffs[0]+= (aq2+coeffs[1])*a; in y_shift()
67 swap(coeffs[0],coeffs[2]); coeffs[1]=-coeffs[1]; in invert()
76 coeffs[0]=-coeffs[0]; in reduce()
77 coeffs[2]=-coeffs[2]; in reduce()
78 coeffs[1]=-coeffs[1]; in reduce()
82 int reduced = (coeffs[0]<=coeffs[2]); in reduce()
96 {return sqr(q2.coeffs[0]*q1.coeffs[2]) + sqr(q1.coeffs[0]*q2.coeffs[2]) + in resultant()
97 …q2.coeffs[2]*q2.coeffs[0]*sqr(q1.coeffs[1]) - q2.coeffs[1]*q1.coeffs[1]*(q2.coeffs[0]*q1.coeffs[2]… in resultant()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/core/
H A DSkColorSpacePriv.h99 if (SkScalarIsNaN(coeffs.fA) || SkScalarIsNaN(coeffs.fB) || in is_valid_transfer_fn()
100 SkScalarIsNaN(coeffs.fC) || SkScalarIsNaN(coeffs.fD) || in is_valid_transfer_fn()
101 SkScalarIsNaN(coeffs.fE) || SkScalarIsNaN(coeffs.fF) || in is_valid_transfer_fn()
113 if (0.0f == coeffs.fA || 0.0f == coeffs.fG) { in is_valid_transfer_fn()
129 if ((0.0f == coeffs.fA || 0.0f == coeffs.fG) && 0.0f == coeffs.fC) { in is_valid_transfer_fn()
140 if (coeffs.fA < 0.0f || coeffs.fG < 0.0f) { in is_valid_transfer_fn()
195 coeffs->fA = 1.0f; in value_to_parametric()
196 coeffs->fB = 0.0f; in value_to_parametric()
197 coeffs->fC = 0.0f; in value_to_parametric()
198 coeffs->fD = 0.0f; in value_to_parametric()
[all …]
/dports/audio/gsequencer/gsequencer-3.10.4/ags/audio/
H A Dags_fluid_interpolate_7th_order_util.c551 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_s8() local
724 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_s16() local
897 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_s24() local
1070 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_s32() local
1243 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_s64() local
1416 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_float() local
1589 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_double() local
1762 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_pitch_complex() local
2003 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_fill_s8() local
2161 gdouble *coeffs; in ags_fluid_interpolate_7th_order_util_fill_s16() local
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/kyber/pqcrystals-kyber_kyber1024-90s_avx2/
H A Dindcpa.c245 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
246 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
254 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
305 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
306 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
314 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
354 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
355 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
363 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
431 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/kyber/pqcrystals-kyber_kyber512-90s_avx2/
H A Dindcpa.c245 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
246 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
254 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
305 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
306 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
314 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
354 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
355 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
363 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
431 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/kyber/pqcrystals-kyber_kyber512_avx2/
H A Dindcpa.c245 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
246 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
254 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
305 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
306 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
314 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
354 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
355 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
363 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
431 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/kyber/pqcrystals-kyber_kyber768-90s_avx2/
H A Dindcpa.c245 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
246 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
254 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
305 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
306 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
314 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
354 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
355 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
363 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
431 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/kyber/pqcrystals-kyber_kyber768_avx2/
H A Dindcpa.c245 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
246 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
254 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
305 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
306 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
314 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
354 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
355 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
363 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
431 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/kyber/pqcrystals-kyber_kyber1024_avx2/
H A Dindcpa.c245 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
246 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
254 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
305 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
306 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
314 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
354 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
355 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_A… in gen_matrix()
363 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in gen_matrix()
431 shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 34); in gen_matrix()
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/pqc/math/ntru/polynomial/
H A DBigIntPolynomial.java44 this.coeffs = coeffs; in BigIntPolynomial()
55 coeffs = new BigInteger[p.coeffs.length]; in BigIntPolynomial()
118 c.coeffs[k - N] = c.coeffs[k - N].add(c.coeffs[k]); in mult()
166 c.coeffs[i] = c1.coeffs[i]; in multRecursive()
170 c.coeffs[n1 + i] = c.coeffs[n1 + i].add(c3.coeffs[i]); in multRecursive()
174 c.coeffs[2 * n1 + i] = c.coeffs[2 * n1 + i].add(c2.coeffs[i]); in multRecursive()
199 if (b.coeffs.length > coeffs.length) in add()
202 coeffs = Arrays.copyOf(coeffs, b.coeffs.length); in add()
210 coeffs[i] = coeffs[i].add(b.coeffs[i]); in add()
224 coeffs = Arrays.copyOf(coeffs, b.coeffs.length); in sub()
[all …]
H A DLongPolynomial2.java44 this.coeffs = coeffs;
71 c.coeffs[k - N] = (c.coeffs[k - N] + c.coeffs[k]) & 0x7FF0007FFL;
79 c.coeffs[k - N] = c.coeffs[k - N] + (c.coeffs[k - 1] >> 24);
80 c.coeffs[k - N] = c.coeffs[k - N] + ((c.coeffs[k] & 2047) << 24);
162 c.coeffs[n1 + i] = (c.coeffs[n1 + i] + c3.coeffs[i]) & 0x7FF0007FFL;
179 if (b.coeffs.length > coeffs.length)
181 coeffs = Arrays.copyOf(coeffs, b.coeffs.length);
185 coeffs[i] = (coeffs[i] + b.coeffs[i]) & 0x7FF0007FFL;
196 if (b.coeffs.length > coeffs.length)
198 coeffs = Arrays.copyOf(coeffs, b.coeffs.length);
[all …]
H A DBigDecimalPolynomial.java38 this.coeffs = coeffs; in BigDecimalPolynomial()
100 c.coeffs[k - N] = c.coeffs[k - N].add(c.coeffs[k]); in mult()
102 c.coeffs = copyOf(c.coeffs, N); in mult()
148 c.coeffs[i] = c1.coeffs[i]; in multRecursive()
152 c.coeffs[n1 + i] = c.coeffs[n1 + i].add(c3.coeffs[i]); in multRecursive()
156 c.coeffs[2 * n1 + i] = c.coeffs[2 * n1 + i].add(c2.coeffs[i]); in multRecursive()
169 if (b.coeffs.length > coeffs.length) in add()
172 coeffs = copyOf(coeffs, b.coeffs.length); in add()
180 coeffs[i] = coeffs[i].add(b.coeffs[i]); in add()
194 coeffs = copyOf(coeffs, b.coeffs.length); in sub()
[all …]
H A DIntegerPolynomial.java128 this.coeffs = coeffs; in IntegerPolynomial()
138 coeffs = new int[p.coeffs.length]; in IntegerPolynomial()
440 Fq.coeffs[j] = b.coeffs[i]; in invertFq()
566 Fp.coeffs[j] = f.coeffs[0] * b.coeffs[i]; in invertF3()
830 v2.coeffs = Arrays.copyOf(v2.coeffs, v2.coeffs.length - 1); in resultant()
848 coeffs[i] = (coeffs[i] - b.coeffs[i - k] * c) % p; in multShiftSub()
903 coeffs = Arrays.copyOf(coeffs, b.coeffs.length); in add()
907 coeffs[i] += b.coeffs[i]; in add()
932 coeffs = Arrays.copyOf(coeffs, b.coeffs.length); in sub()
936 coeffs[i] -= b.coeffs[i]; in sub()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium2-aes_ref/
H A Dpoly.c33 a->coeffs[i] = reduce32(a->coeffs[i]);
51 a->coeffs[i] = caddq(a->coeffs[i]);
70 c->coeffs[i] = a->coeffs[i] + b->coeffs[i];
91 c->coeffs[i] = a->coeffs[i] - b->coeffs[i];
163 c->coeffs[i] = montgomery_reduce((int64_t)a->coeffs[i] * b->coeffs[i]);
185 a1->coeffs[i] = power2round(&a0->coeffs[i], a->coeffs[i]);
208 a1->coeffs[i] = decompose(&a0->coeffs[i], a->coeffs[i]);
231 h->coeffs[i] = make_hint(a0->coeffs[i], a1->coeffs[i]);
253 b->coeffs[i] = use_hint(a->coeffs[i], h->coeffs[i]);
283 t = a->coeffs[i] - (t & 2*a->coeffs[i]);
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium2_ref/
H A Dpoly.c33 a->coeffs[i] = reduce32(a->coeffs[i]); in poly_reduce()
51 a->coeffs[i] = caddq(a->coeffs[i]); in poly_caddq()
70 c->coeffs[i] = a->coeffs[i] + b->coeffs[i]; in poly_add()
91 c->coeffs[i] = a->coeffs[i] - b->coeffs[i]; in poly_sub()
163 c->coeffs[i] = montgomery_reduce((int64_t)a->coeffs[i] * b->coeffs[i]); in poly_pointwise_montgomery()
185 a1->coeffs[i] = power2round(&a0->coeffs[i], a->coeffs[i]); in poly_power2round()
208 a1->coeffs[i] = decompose(&a0->coeffs[i], a->coeffs[i]); in poly_decompose()
231 h->coeffs[i] = make_hint(a0->coeffs[i], a1->coeffs[i]); in poly_make_hint()
253 b->coeffs[i] = use_hint(a->coeffs[i], h->coeffs[i]); in poly_use_hint()
283 t = a->coeffs[i] - (t & 2*a->coeffs[i]); in poly_chknorm()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium3-aes_ref/
H A Dpoly.c33 a->coeffs[i] = reduce32(a->coeffs[i]); in poly_reduce()
51 a->coeffs[i] = caddq(a->coeffs[i]); in poly_caddq()
70 c->coeffs[i] = a->coeffs[i] + b->coeffs[i]; in poly_add()
91 c->coeffs[i] = a->coeffs[i] - b->coeffs[i]; in poly_sub()
163 c->coeffs[i] = montgomery_reduce((int64_t)a->coeffs[i] * b->coeffs[i]); in poly_pointwise_montgomery()
185 a1->coeffs[i] = power2round(&a0->coeffs[i], a->coeffs[i]); in poly_power2round()
208 a1->coeffs[i] = decompose(&a0->coeffs[i], a->coeffs[i]); in poly_decompose()
231 h->coeffs[i] = make_hint(a0->coeffs[i], a1->coeffs[i]); in poly_make_hint()
253 b->coeffs[i] = use_hint(a->coeffs[i], h->coeffs[i]); in poly_use_hint()
283 t = a->coeffs[i] - (t & 2*a->coeffs[i]); in poly_chknorm()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium3_ref/
H A Dpoly.c33 a->coeffs[i] = reduce32(a->coeffs[i]);
51 a->coeffs[i] = caddq(a->coeffs[i]);
70 c->coeffs[i] = a->coeffs[i] + b->coeffs[i];
91 c->coeffs[i] = a->coeffs[i] - b->coeffs[i];
163 c->coeffs[i] = montgomery_reduce((int64_t)a->coeffs[i] * b->coeffs[i]);
185 a1->coeffs[i] = power2round(&a0->coeffs[i], a->coeffs[i]);
208 a1->coeffs[i] = decompose(&a0->coeffs[i], a->coeffs[i]);
231 h->coeffs[i] = make_hint(a0->coeffs[i], a1->coeffs[i]);
253 b->coeffs[i] = use_hint(a->coeffs[i], h->coeffs[i]);
283 t = a->coeffs[i] - (t & 2*a->coeffs[i]);
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium_5-aes_ref/
H A Dpoly.c33 a->coeffs[i] = reduce32(a->coeffs[i]); in poly_reduce()
51 a->coeffs[i] = caddq(a->coeffs[i]); in poly_caddq()
70 c->coeffs[i] = a->coeffs[i] + b->coeffs[i]; in poly_add()
91 c->coeffs[i] = a->coeffs[i] - b->coeffs[i]; in poly_sub()
163 c->coeffs[i] = montgomery_reduce((int64_t)a->coeffs[i] * b->coeffs[i]); in poly_pointwise_montgomery()
185 a1->coeffs[i] = power2round(&a0->coeffs[i], a->coeffs[i]); in poly_power2round()
208 a1->coeffs[i] = decompose(&a0->coeffs[i], a->coeffs[i]); in poly_decompose()
231 h->coeffs[i] = make_hint(a0->coeffs[i], a1->coeffs[i]); in poly_make_hint()
253 b->coeffs[i] = use_hint(a->coeffs[i], h->coeffs[i]); in poly_use_hint()
283 t = a->coeffs[i] - (t & 2*a->coeffs[i]); in poly_chknorm()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium_5_ref/
H A Dpoly.c33 a->coeffs[i] = reduce32(a->coeffs[i]); in poly_reduce()
51 a->coeffs[i] = caddq(a->coeffs[i]); in poly_caddq()
70 c->coeffs[i] = a->coeffs[i] + b->coeffs[i]; in poly_add()
91 c->coeffs[i] = a->coeffs[i] - b->coeffs[i]; in poly_sub()
163 c->coeffs[i] = montgomery_reduce((int64_t)a->coeffs[i] * b->coeffs[i]); in poly_pointwise_montgomery()
185 a1->coeffs[i] = power2round(&a0->coeffs[i], a->coeffs[i]); in poly_power2round()
208 a1->coeffs[i] = decompose(&a0->coeffs[i], a->coeffs[i]); in poly_decompose()
231 h->coeffs[i] = make_hint(a0->coeffs[i], a1->coeffs[i]); in poly_make_hint()
253 b->coeffs[i] = use_hint(a->coeffs[i], h->coeffs[i]); in poly_use_hint()
283 t = a->coeffs[i] - (t & 2*a->coeffs[i]); in poly_chknorm()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/ntru/pqclean_ntruhrss701_clean/
H A Dpoly_lift.c20 b.coeffs[0] = a->coeffs[0] * (2 - t) + a->coeffs[1] * 0 + a->coeffs[2] * t; in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
21 b.coeffs[1] = a->coeffs[1] * (2 - t) + a->coeffs[2] * 0; in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
22 b.coeffs[2] = a->coeffs[2] * (2 - t); in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
28 b.coeffs[2] += a->coeffs[i] * zj; in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
32 b.coeffs[2] += a->coeffs[0] * zj; in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
35 b.coeffs[0] = b.coeffs[0]; in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
36 b.coeffs[1] = b.coeffs[1]; in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
37 b.coeffs[2] = b.coeffs[2]; in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
39 b.coeffs[i] = b.coeffs[i - 3] + 2 * (a->coeffs[i] + a->coeffs[i - 1] + a->coeffs[i - 2]); in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
49 r->coeffs[0] = -(b.coeffs[0]); in PQCLEAN_NTRUHRSS701_CLEAN_poly_lift()
[all …]
/dports/databases/spatialite/libspatialite-5.0.1/src/control_points/
H A Dgaia_control_points.c884 coeffs.E[0], coeffs.E[1], coeffs.E[2], coeffs.E[3], in gaiaPolynomialAsText()
885 coeffs.E[4], coeffs.E[5], coeffs.E[6], coeffs.E[6], in gaiaPolynomialAsText()
890 coeffs.N[2], coeffs.N[3], coeffs.N[4], coeffs.N[5], in gaiaPolynomialAsText()
891 coeffs.N[6], coeffs.N[6], coeffs.N[7], coeffs.N[8], in gaiaPolynomialAsText()
895 coeffs.Z[0], coeffs.Z[1], coeffs.Z[2], coeffs.Z[3], in gaiaPolynomialAsText()
896 coeffs.Z[4], coeffs.Z[5], coeffs.Z[6], coeffs.Z[6], in gaiaPolynomialAsText()
907 coeffs.E[0], coeffs.E[1], coeffs.E[2], coeffs.E[3], in gaiaPolynomialAsText()
908 coeffs.E[4], coeffs.E[5], coeffs.E[6], coeffs.E[6], in gaiaPolynomialAsText()
909 coeffs.E[7], coeffs.E[8], coeffs.E[9], coeffs.N[0], in gaiaPolynomialAsText()
910 coeffs.N[1], coeffs.N[2], coeffs.N[3], coeffs.N[4], in gaiaPolynomialAsText()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium2_avx2/
H A Dpoly.c392 ctr = rej_uniform_avx(a->coeffs, buf.coeffs); in poly_uniform_preinit()
441 …shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, SEEDBYT… in poly_uniform_4x()
442 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_N… in poly_uniform_4x()
450 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in poly_uniform_4x()
528 ctr = rej_eta_avx(a->coeffs, buf.coeffs); in poly_uniform_eta_preinit()
582 shake256x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 66); in poly_uniform_eta_4x()
583 …shake256x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_E… in poly_uniform_eta_4x()
591 shake256x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in poly_uniform_eta_4x()
666 shake256x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 66); in poly_uniform_gamma1_4x()
712 c->coeffs[i] = c->coeffs[b]; in poly_challenge()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium_5_avx2/
H A Dpoly.c392 ctr = rej_uniform_avx(a->coeffs, buf.coeffs); in poly_uniform_preinit()
441 …shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, SEEDBYT… in poly_uniform_4x()
442 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_N… in poly_uniform_4x()
450 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in poly_uniform_4x()
528 ctr = rej_eta_avx(a->coeffs, buf.coeffs); in poly_uniform_eta_preinit()
582 shake256x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 66); in poly_uniform_eta_4x()
583 …shake256x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_E… in poly_uniform_eta_4x()
591 shake256x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in poly_uniform_eta_4x()
666 shake256x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 66); in poly_uniform_gamma1_4x()
712 c->coeffs[i] = c->coeffs[b]; in poly_challenge()
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/sig/dilithium/pqcrystals-dilithium_dilithium2-aes_avx2/
H A Dpoly.c392 ctr = rej_uniform_avx(a->coeffs, buf.coeffs); in poly_uniform_preinit()
441 …shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, SEEDBYT… in poly_uniform_4x()
442 …shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_N… in poly_uniform_4x()
450 shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in poly_uniform_4x()
528 ctr = rej_eta_avx(a->coeffs, buf.coeffs); in poly_uniform_eta_preinit()
582 shake256x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 66); in poly_uniform_eta_4x()
583 …shake256x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_E… in poly_uniform_eta_4x()
591 shake256x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 1, &state); in poly_uniform_eta_4x()
666 shake256x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, 66); in poly_uniform_gamma1_4x()
712 c->coeffs[i] = c->coeffs[b]; in poly_challenge()
[all …]

12345678910>>...97