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

/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dcrc.c44 unsigned long crc, poly; local
48 poly = CRC_GEN;
53 crc = (crc >> 1) ^ poly;
/freebsd-13-stable/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));
H A Dxz_crc64.c23 const uint64_t poly = 0xC96C5795D7870F42; local
32 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
/freebsd-13-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_mesh.h64 int *poly; /* characteristic polynomial of matrix */ member in struct:_mesh_node
/freebsd-13-stable/crypto/openssl/crypto/ec/
H A Dec2_smpl.c57 group->poly[0] = 0;
58 group->poly[1] = 0;
59 group->poly[2] = 0;
60 group->poly[3] = 0;
61 group->poly[4] = 0;
62 group->poly[5] = -1;
77 dest->poly[0] = src->poly[0];
78 dest->poly[1] = src->poly[
[all...]
H A Dec2_oct.c61 if (!BN_GF2m_mod_arr(x, x_, group->poly))
64 if (!BN_GF2m_mod_sqrt_arr(y, group->b, group->poly, ctx))
75 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx)) {
H A Dec_asn1.c26 /* Find the last non-zero element of group->poly[] */
28 i < (int)OSSL_NELEM(group->poly) && group->poly[i] != 0;
49 || !((group->poly[0] != 0) && (group->poly[1] != 0)
50 && (group->poly[2] == 0))) {
57 *k = group->poly[1];
70 || !((group->poly[0] != 0) && (group->poly[1] != 0)
71 && (group->poly[
[all...]
H A Dec_local.h230 * then of the form: t^poly[0] + t^poly[1] + ... + t^poly[k] where m =
231 * poly[0] > poly[1] > ... > poly[k] = 0. The array is terminated with
232 * poly[k+1]=-1. All elliptic curve irreducibles have at most 5 non-zero
235 int poly[6]; member in struct:ec_group_st
/freebsd-13-stable/sys/contrib/zlib/
H A Dcrc32.c92 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-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_mesh.c65 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-13-stable/contrib/openbsm/bin/auditd/
H A Dauditd_darwin.c287 mach_msg_type_name_t poly; local
340 MACH_MSG_TYPE_MAKE_SEND, &control_port, &poly); local
/freebsd-13-stable/sys/mips/nlm/dev/net/
H A Dnae.c240 nlm_setup_flow_crc_poly(uint64_t nae_base, uint32_t poly) argument
242 nlm_write_nae_reg(nae_base, NAE_FLOW_CRC16_POLY_CFG, poly);
/freebsd-13-stable/sys/dev/e1000/
H A De1000_ich8lan.c2752 u32 poly = 0xEDB88320; /* Polynomial for 802.3 CRC calculation */ local
2762 crc = (crc >> 1) ^ (poly & mask);

Completed in 181 milliseconds