Searched refs:poly (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dcrc.c46 unsigned long crc, poly; local
50 poly = CRC_GEN;
55 crc = (crc >> 1) ^ poly;
/freebsd-9.3-release/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_crc32.c32 const uint32_t poly = 0xEDB88320; local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
/freebsd-9.3-release/crypto/openssl/crypto/ec/
H A Dec2_smpt.c101 if (!BN_GF2m_mod_arr(x, x_, group->poly))
104 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx))
115 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx)) {
H A Dec2_smpl.c157 group->poly[0] = 0;
158 group->poly[1] = 0;
159 group->poly[2] = 0;
160 group->poly[3] = 0;
161 group->poly[4] = 0;
177 dest->poly[0] = src->poly[0];
178 dest->poly[1] = src->poly[1];
179 dest->poly[
[all...]
H A Dec_asn1.c74 while (group->poly[i] != 0)
92 ec_GF2m_simple_group_set_curve || !((group->poly[0] != 0)
93 && (group->poly[1] != 0)
94 && (group->poly[2] == 0))) {
101 *k = group->poly[1];
113 ec_GF2m_simple_group_set_curve || !((group->poly[0] != 0)
114 && (group->poly[1] != 0)
115 && (group->poly[2] != 0)
116 && (group->poly[3] != 0)
117 && (group->poly[
[all...]
H A Dec_lcl.h227 * then of the form: t^poly[0] + t^poly[1] + ... + t^poly[k] where m =
228 * poly[0] > poly[1] > ... > poly[k] = 0.
230 unsigned int poly[5]; member in struct:ec_group_st
H A Dec2_mult.c303 if (!BN_GF2m_mod_arr(x1, &point->X, group->poly))
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dopensolaris_crc32.c115 unsigned long poly; /* polynomial exclusive-or pattern */ local
127 poly = 0UL;
129 poly |= 1UL << (31 - p[n]);
135 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
/freebsd-9.3-release/contrib/llvm/tools/clang/utils/TableGen/
H A DNeonEmitter.cpp165 ClassS, // signed/unsigned/poly, e.g., "s8", "u8" or "p8" suffix
483 static char ClassifyType(StringRef ty, bool &quad, bool &poly, bool &usgn) { argument
495 // remember poly.
497 poly = true;
513 static char ModType(const char mod, char type, bool &quad, bool &poly, argument
517 if (poly) {
518 poly = false;
526 poly = false;
536 poly = false;
636 bool poly local
731 bool poly = false; local
831 bool poly = false; local
2256 bool poly = false; local
2589 bool dummy, quad = false, poly = false; local
2629 bool dummy, quad = false, poly = false; local
3048 bool quad = false, poly = false, usgn = false; local
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dtree-chrec.c60 tree poly,
63 gcc_assert (poly);
65 gcc_assert (TREE_CODE (poly) == POLYNOMIAL_CHREC);
67 gcc_assert (type == chrec_type (poly));
73 (CHREC_VARIABLE (poly),
74 chrec_fold_plus (type, CHREC_LEFT (poly), cst),
75 CHREC_RIGHT (poly));
79 (CHREC_VARIABLE (poly),
80 chrec_fold_minus (type, CHREC_LEFT (poly), cst),
81 CHREC_RIGHT (poly));
57 chrec_fold_poly_cst(enum tree_code code, tree type, tree poly, tree cst) argument
[all...]
/freebsd-9.3-release/lib/libz/
H A Dcrc32.c94 z_crc_t poly; /* polynomial exclusive-or pattern */ local
106 poly = 0;
108 poly |= (z_crc_t)1 << (31 - p[n]);
114 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
/freebsd-9.3-release/contrib/openbsm/bin/auditd/
H A Dauditd_darwin.c289 mach_msg_type_name_t poly; local
342 MACH_MSG_TYPE_MAKE_SEND, &control_port, &poly); local
/freebsd-9.3-release/usr.sbin/lmcconfig/
H A Dlmcconfig.c1272 printf("Scram poly: \t\t%s\n", mii16 & MII16_DS3_POLY ? "X^20" : "X^43");
2090 u_int32_t poly = 0xEDB88320L;
2094 crc = (crc >> 1) ^ (((crc ^ data) & 1) ? poly : 0);
2106 u_int8_t poly = 0x07;
2112 crc = (crc << 1) ^ ((((crc >> 7) ^ (data >> bit)) & 1) ? poly : 0);
2089 u_int32_t poly = 0xEDB88320L; local
2105 u_int8_t poly = 0x07; local
/freebsd-9.3-release/sys/dev/e1000/
H A De1000_ich8lan.c2152 u32 poly = 0xEDB88320; /* Polynomial for 802.3 CRC calculation */ local
2162 crc = (crc >> 1) ^ (poly & mask);

Completed in 107 milliseconds