Symbol: poly
crypto/libressl/crypto/ec/ec2_mult.c
302
if (!BN_GF2m_mod_arr(x1, &point->X, group->poly))
crypto/libressl/crypto/ec/ec2_oct.c
121
if (!BN_GF2m_mod_arr(x, x_, group->poly))
crypto/libressl/crypto/ec/ec2_oct.c
128
if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx))
crypto/libressl/crypto/ec/ec2_oct.c
139
if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx)) {
crypto/libressl/crypto/ec/ec2_smpl.c
160
group->poly[0] = 0;
crypto/libressl/crypto/ec/ec2_smpl.c
161
group->poly[1] = 0;
crypto/libressl/crypto/ec/ec2_smpl.c
162
group->poly[2] = 0;
crypto/libressl/crypto/ec/ec2_smpl.c
163
group->poly[3] = 0;
crypto/libressl/crypto/ec/ec2_smpl.c
164
group->poly[4] = 0;
crypto/libressl/crypto/ec/ec2_smpl.c
165
group->poly[5] = -1;
crypto/libressl/crypto/ec/ec2_smpl.c
183
dest->poly[0] = src->poly[0];
crypto/libressl/crypto/ec/ec2_smpl.c
184
dest->poly[1] = src->poly[1];
crypto/libressl/crypto/ec/ec2_smpl.c
185
dest->poly[2] = src->poly[2];
crypto/libressl/crypto/ec/ec2_smpl.c
186
dest->poly[3] = src->poly[3];
crypto/libressl/crypto/ec/ec2_smpl.c
187
dest->poly[4] = src->poly[4];
crypto/libressl/crypto/ec/ec2_smpl.c
188
dest->poly[5] = src->poly[5];
crypto/libressl/crypto/ec/ec2_smpl.c
189
if (bn_wexpand(&dest->a, (int) (dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL)
crypto/libressl/crypto/ec/ec2_smpl.c
191
if (bn_wexpand(&dest->b, (int) (dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL)
crypto/libressl/crypto/ec/ec2_smpl.c
211
i = BN_GF2m_poly2arr(&group->field, group->poly, 6) - 1;
crypto/libressl/crypto/ec/ec2_smpl.c
217
if (!BN_GF2m_mod_arr(&group->a, a, group->poly))
crypto/libressl/crypto/ec/ec2_smpl.c
219
if (bn_wexpand(&group->a, (int) (group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL)
crypto/libressl/crypto/ec/ec2_smpl.c
225
if (!BN_GF2m_mod_arr(&group->b, b, group->poly))
crypto/libressl/crypto/ec/ec2_smpl.c
227
if (bn_wexpand(&group->b, (int) (group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL)
crypto/libressl/crypto/ec/ec2_smpl.c
295
if (!BN_GF2m_mod_arr(b, &group->b, group->poly))
crypto/libressl/crypto/ec/ec2_smpl.c
764
return BN_GF2m_mod_mul_arr(r, a, b, group->poly, ctx);
crypto/libressl/crypto/ec/ec2_smpl.c
773
return BN_GF2m_mod_sqr_arr(r, a, group->poly, ctx);
crypto/libressl/crypto/ec/ec_asn1.c
101
|| !((group->poly[0] != 0) && (group->poly[1] != 0) && (group->poly[2] == 0))) {
crypto/libressl/crypto/ec/ec_asn1.c
106
*k = group->poly[1];
crypto/libressl/crypto/ec/ec_asn1.c
120
|| !((group->poly[0] != 0) && (group->poly[1] != 0) && (group->poly[2] != 0) && (group->poly[3] != 0) && (group->poly[4] == 0))) {
crypto/libressl/crypto/ec/ec_asn1.c
125
*k1 = group->poly[3];
crypto/libressl/crypto/ec/ec_asn1.c
127
*k2 = group->poly[2];
crypto/libressl/crypto/ec/ec_asn1.c
129
*k3 = group->poly[1];
crypto/libressl/crypto/ec/ec_asn1.c
80
while (group->poly[i] != 0)
crypto/libressl/crypto/ec/ec_lcl.h
224
int poly[6]; /* Field specification for curves over GF(2^m).
sys/crypto/chachapoly.c
118
poly1305_update(&ctx->poly, pad0, PADDING_LEN(ctx->ad_len));
sys/crypto/chachapoly.c
128
poly1305_update(&ctx->poly, out, in_len);
sys/crypto/chachapoly.c
130
poly1305_update(&ctx->poly, in, in_len);
sys/crypto/chachapoly.c
164
poly1305_update(&ctx->poly, pad0, PADDING_LEN(ctx->ad_len));
sys/crypto/chachapoly.c
171
poly1305_update(&ctx->poly, out, in_len);
sys/crypto/chachapoly.c
173
poly1305_update(&ctx->poly, in, in_len);
sys/crypto/chachapoly.c
180
poly1305_update(&ctx->poly, pad0, PADDING_LEN(in_len));
sys/crypto/chachapoly.c
187
poly1305_update(&ctx->poly, (uint8_t *)lens, sizeof(lens));
sys/crypto/chachapoly.c
188
poly1305_finish(&ctx->poly, tag);
sys/crypto/chachapoly.c
30
poly1305_state poly;
sys/crypto/chachapoly.c
75
poly1305_init(&ctx->poly, poly_key);
sys/crypto/chachapoly.c
98
poly1305_update(&ctx->poly, ad, ad_len);
sys/dev/netif/ig_hal/e1000_ich8lan.c
2736
u32 poly = 0xEDB88320; /* Polynomial for 802.3 CRC calculation */
sys/dev/netif/ig_hal/e1000_ich8lan.c
2746
crc = (crc >> 1) ^ (poly & mask);
sys/dev/netif/sn/if_sn.c
1395
const u_int poly = 0xedb88320;
sys/dev/netif/sn/if_sn.c
1402
v = (v >> 1)^(((v ^ c) & 0x01) ? poly : 0);
usr.bin/calendar/basics.c
157
return poly(y2000, coef2006, nitems(coef2006)) / 86400.0;
usr.bin/calendar/basics.c
159
return poly(y2000, coef1987, nitems(coef1987)) / 86400.0;
usr.bin/calendar/basics.c
161
return poly(c, coef1900, nitems(coef1900));
usr.bin/calendar/basics.c
163
return poly(c, coef1800, nitems(coef1800));
usr.bin/calendar/basics.c
165
return poly(y1700, coef1700, nitems(coef1700)) / 86400.0;
usr.bin/calendar/basics.c
167
return poly(y1600, coef1600, nitems(coef1600)) / 86400.0;
usr.bin/calendar/basics.c
169
return poly(y1000, coef500, nitems(coef500)) / 86400.0;
usr.bin/calendar/basics.c
171
return poly(y0, coef0, nitems(coef0)) / 86400.0;
usr.bin/calendar/basics.c
223
return mod_f(poly(c, coef, nitems(coef)), 360);
usr.bin/calendar/basics.c
293
double correction = poly(c, coef, nitems(coef));
usr.bin/calendar/moon.c
140
double approx = j2000 + poly(c, coef_ap, nitems(coef_ap));
usr.bin/calendar/moon.c
153
double solar_anomaly = poly(c, coef_sa, nitems(coef_sa));
usr.bin/calendar/moon.c
154
double lunar_anomaly = poly(c, coef_la, nitems(coef_la));
usr.bin/calendar/moon.c
155
double moon_argument = poly(c, coef_ma, nitems(coef_ma));
usr.bin/calendar/moon.c
156
double omega = poly(c, coef_om, nitems(coef_om));
usr.bin/calendar/moon.c
190
return mod_f(poly(c, coef, nitems(coef)), 360);
usr.bin/calendar/moon.c
203
return mod_f(poly(c, coef, nitems(coef)), 360);
usr.bin/calendar/moon.c
216
return mod_f(poly(c, coef, nitems(coef)), 360);
usr.bin/calendar/moon.c
229
return mod_f(poly(c, coef, nitems(coef)), 360);
usr.bin/calendar/moon.c
242
return mod_f(poly(c, coef, nitems(coef)), 360);
usr.bin/calendar/sun.c
68
double A = poly(c, coefsA, nitems(coefsA));
usr.bin/calendar/sun.c
69
double B = poly(c, coefsB, nitems(coefsB));
usr.bin/calendar/utils.h
254
double poly(double x, const double *coefs, size_t n);