/freebsd-11-stable/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-stable/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-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_mesh.h | 64 int *poly; /* characteristic polynomial of matrix */ member in struct:_mesh_node
|
/freebsd-11-stable/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 | 76 /* Find the last non-zero element of group->poly[] */ 78 i < (int)OSSL_NELEM(group->poly) && group->poly[i] != 0; 99 || !((group->poly[0] != 0) && (group->poly[1] != 0) 100 && (group->poly[2] == 0))) { 107 *k = group->poly[1]; 120 || !((group->poly[0] != 0) && (group->poly[1] != 0) 121 && (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-stable/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-stable/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-stable/sys/contrib/zlib/ |
H A D | crc32.c | 92 z_crc_t poly; /* polynomial exclusive-or pattern */ local 104 poly = 0; 106 poly |= (z_crc_t)1 << (31 - p[n]); 112 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_mesh.c | 65 int poly[MAX_DEGREE+1]; /* polynomial */ member in struct:mesh_info 218 "Failed allocating poly - out of memory\n"); 274 return memcmp(p, s->node->poly, n*sizeof(int)); 395 * with row and col removed in poly. caller must free poly 398 int ***matrix, int **poly) 451 *poly = p; 536 * by computing the determinant of m-x*I and return in poly 537 * as an array. caller must free poly 539 static int char_poly(lash_t *p_lash, int rank, int **matrix, int **poly) argument 397 sub_determinant(lash_t *p_lash, int n, int l, int row, int col, int ***matrix, int **poly) argument [all...] |
/freebsd-11-stable/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-stable/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-stable/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-stable/sys/dev/e1000/ |
H A D | e1000_ich8lan.c | 2748 u32 poly = 0xEDB88320; /* Polynomial for 802.3 CRC calculation */ local 2758 crc = (crc >> 1) ^ (poly & mask);
|