/freebsd-11.0-release/crypto/heimdal/lib/krb5/ |
H A D | crc.c | 44 unsigned long crc, poly; local 48 poly = CRC_GEN; 53 crc = (crc >> 1) ^ poly;
|
/freebsd-11.0-release/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_crc32.c | 32 const uint32_t poly = 0xEDB88320; local 41 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
|
H A D | xz_crc64.c | 23 const uint64_t poly = 0xC96C5795D7870F42; local 32 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
|
/freebsd-11.0-release/crypto/openssl/crypto/ec/ |
H A D | ec2_smpl.c | 167 group->poly[0] = 0; 168 group->poly[1] = 0; 169 group->poly[2] = 0; 170 group->poly[3] = 0; 171 group->poly[4] = 0; 172 group->poly[5] = -1; 188 dest->poly[0] = src->poly[0]; 189 dest->poly[1] = src->poly[ [all...] |
H A D | ec2_oct.c | 120 if (!BN_GF2m_mod_arr(x, x_, group->poly)) 123 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) 134 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx)) {
|
H A D | ec_asn1.c | 74 while (group->poly[i] != 0) 94 || !((group->poly[0] != 0) && (group->poly[1] != 0) 95 && (group->poly[2] == 0))) { 102 *k = group->poly[1]; 115 || !((group->poly[0] != 0) && (group->poly[1] != 0) 116 && (group->poly[2] != 0) && (group->poly[3] != 0) 117 && (group->poly[ [all...] |
H A D | ec2_mult.c | 307 if (!BN_GF2m_mod_arr(x1, &point->X, group->poly))
|
H A D | ec_lcl.h | 239 * then of the form: t^poly[0] + t^poly[1] + ... + t^poly[k] where m = 240 * poly[0] > poly[1] > ... > poly[k] = 0. The array is terminated with 241 * poly[k+1]=-1. All elliptic curve irreducibles have at most 5 non-zero 244 int poly[6]; member in struct:ec_group_st
|
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | opensolaris_crc32.c | 115 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-11.0-release/contrib/gcc/ |
H A D | tree-chrec.c | 60 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-11.0-release/lib/libz/ |
H A D | crc32.c | 94 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-11.0-release/contrib/openbsm/bin/auditd/ |
H A D | auditd_darwin.c | 287 mach_msg_type_name_t poly; local 340 MACH_MSG_TYPE_MAKE_SEND, &control_port, &poly); local
|
/freebsd-11.0-release/usr.sbin/lmcconfig/ |
H A D | lmcconfig.c | 1270 printf("Scram poly: \t\t%s\n", mii16 & MII16_DS3_POLY ? "X^20" : "X^43"); 2088 u_int32_t poly = 0xEDB88320L; 2092 crc = (crc >> 1) ^ (((crc ^ data) & 1) ? poly : 0); 2104 u_int8_t poly = 0x07; 2110 crc = (crc << 1) ^ ((((crc >> 7) ^ (data >> bit)) & 1) ? poly : 0); 2087 u_int32_t poly = 0xEDB88320L; local 2103 u_int8_t poly = 0x07; local
|
/freebsd-11.0-release/sys/mips/nlm/dev/net/ |
H A D | nae.c | 238 nlm_setup_flow_crc_poly(uint64_t nae_base, uint32_t poly) argument 240 nlm_write_nae_reg(nae_base, NAE_FLOW_CRC16_POLY_CFG, poly);
|
/freebsd-11.0-release/sys/dev/e1000/ |
H A D | e1000_ich8lan.c | 2742 u32 poly = 0xEDB88320; /* Polynomial for 802.3 CRC calculation */ local 2752 crc = (crc >> 1) ^ (poly & mask);
|