Home
last modified time | relevance | path

Searched refs:poly (Results 1 – 25 of 34) sorted by relevance

12

/trueos/crypto/openssl/crypto/ec/
HDec2_smpl.c167 group->poly[0] = 0; in ec_GF2m_simple_group_clear_finish()
168 group->poly[1] = 0; in ec_GF2m_simple_group_clear_finish()
169 group->poly[2] = 0; in ec_GF2m_simple_group_clear_finish()
170 group->poly[3] = 0; in ec_GF2m_simple_group_clear_finish()
171 group->poly[4] = 0; in ec_GF2m_simple_group_clear_finish()
172 group->poly[5] = -1; in ec_GF2m_simple_group_clear_finish()
188 dest->poly[0] = src->poly[0]; in ec_GF2m_simple_group_copy()
189 dest->poly[1] = src->poly[1]; in ec_GF2m_simple_group_copy()
190 dest->poly[2] = src->poly[2]; in ec_GF2m_simple_group_copy()
191 dest->poly[3] = src->poly[3]; in ec_GF2m_simple_group_copy()
[all …]
HDec_asn1.c74 while (group->poly[i] != 0) in EC_GROUP_get_basis_type()
94 || !((group->poly[0] != 0) && (group->poly[1] != 0) in EC_GROUP_get_trinomial_basis()
95 && (group->poly[2] == 0))) { in EC_GROUP_get_trinomial_basis()
102 *k = group->poly[1]; in EC_GROUP_get_trinomial_basis()
115 || !((group->poly[0] != 0) && (group->poly[1] != 0) in EC_GROUP_get_pentanomial_basis()
116 && (group->poly[2] != 0) && (group->poly[3] != 0) in EC_GROUP_get_pentanomial_basis()
117 && (group->poly[4] == 0))) { in EC_GROUP_get_pentanomial_basis()
124 *k1 = group->poly[3]; in EC_GROUP_get_pentanomial_basis()
126 *k2 = group->poly[2]; in EC_GROUP_get_pentanomial_basis()
128 *k3 = group->poly[1]; in EC_GROUP_get_pentanomial_basis()
HDec2_oct.c120 if (!BN_GF2m_mod_arr(x, x_, group->poly)) in ec_GF2m_simple_set_compressed_coordinates()
123 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) in ec_GF2m_simple_set_compressed_coordinates()
134 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx)) { in ec_GF2m_simple_set_compressed_coordinates()
HDec2_mult.c305 if (!BN_GF2m_mod_arr(x1, &point->X, group->poly)) in ec_GF2m_montgomery_point_multiply()
/trueos/crypto/heimdal/lib/krb5/
HDcrc.c44 unsigned long crc, poly; in _krb5_crc_init_table() local
48 poly = CRC_GEN; in _krb5_crc_init_table()
53 crc = (crc >> 1) ^ poly; in _krb5_crc_init_table()
/trueos/lib/libmach/mach/
HDmach_misc.c33 mach_port_t poly,
40 mach_port_t *poly,
92 mach_port_name_t *poly __unused, in mach_port_extract_right()
102 mach_port_name_t poly, mach_msg_type_name_t polyPoly) in mach_port_insert_right() argument
105 return (_kernelrpc_mach_port_insert_right_trap(target, name, poly, polyPoly)); in mach_port_insert_right()
/trueos/contrib/llvm/tools/clang/utils/TableGen/
HDNeonEmitter.cpp483 static char ClassifyType(StringRef ty, bool &quad, bool &poly, bool &usgn) { in ClassifyType() argument
497 poly = true; in ClassifyType()
513 static char ModType(const char mod, char type, bool &quad, bool &poly, in ModType() argument
517 if (poly) { in ModType()
518 poly = false; in ModType()
526 poly = false; in ModType()
536 poly = false; in ModType()
636 bool poly = false; in TypeString() local
648 char type = ClassifyType(typestr, quad, poly, usgn); in TypeString()
651 type = ModType(mod, type, quad, poly, usgn, scal, cnst, pntr); in TypeString()
[all …]
/trueos/contrib/gcc/
HDtree-chrec.c59 tree poly, in chrec_fold_poly_cst() argument
62 gcc_assert (poly); in chrec_fold_poly_cst()
64 gcc_assert (TREE_CODE (poly) == POLYNOMIAL_CHREC); in chrec_fold_poly_cst()
66 gcc_assert (type == chrec_type (poly)); in chrec_fold_poly_cst()
72 (CHREC_VARIABLE (poly), in chrec_fold_poly_cst()
73 chrec_fold_plus (type, CHREC_LEFT (poly), cst), in chrec_fold_poly_cst()
74 CHREC_RIGHT (poly)); in chrec_fold_poly_cst()
78 (CHREC_VARIABLE (poly), in chrec_fold_poly_cst()
79 chrec_fold_minus (type, CHREC_LEFT (poly), cst), in chrec_fold_poly_cst()
80 CHREC_RIGHT (poly)); in chrec_fold_poly_cst()
[all …]
/trueos/sys/contrib/xz-embedded/linux/lib/xz/
HDxz_crc32.c32 const uint32_t poly = 0xEDB88320; in xz_crc32_init() local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1)); in xz_crc32_init()
/trueos/sys/cddl/contrib/opensolaris/uts/common/zmod/
HDopensolaris_crc32.c115 unsigned long poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
127 poly = 0UL; in make_crc_table()
129 poly |= 1UL << (31 - p[n]); in make_crc_table()
135 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
/trueos/sys/sys/mach/
HDmach_port_server.h194 (task, name, poly, polyPoly) in mach_port_insert_right() argument
197 mach_port_t poly;
199 { return mach_port_insert_right(task, name, poly, polyPoly); }
204 mach_port_t poly,
217 (task, name, msgt_name, poly, polyPoly) in mach_port_extract_right() argument
221 mach_port_t *poly;
223 { return mach_port_extract_right(task, name, msgt_name, poly, polyPoly); }
229 mach_port_t *poly,
983 (task, name, poly, polyPoly) in mach_port_insert_right() argument
986 mach_port_t poly;
[all …]
HDmach_traps.h211 mach_port_name_t poly,
657 PAD_ARG_(mach_port_name_t, poly);
/trueos/include/mach/
HDmach_traps.h21 mach_port_t poly,
29 mach_port_t *poly,
/trueos/lib/libz/
HDcrc32.c94 z_crc_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
106 poly = 0; in make_crc_table()
108 poly |= (z_crc_t)1 << (31 - p[n]); in make_crc_table()
114 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
/trueos/usr.bin/migcom/
HDroutine.c1062 register argument_t *poly; in rtAddPolyArg() local
1065 poly = argAlloc(); in rtAddPolyArg()
1066 poly->argName = strconcat(arg->argName, "Poly"); in rtAddPolyArg()
1067 poly->argType = itMakePolyType(); in rtAddPolyArg()
1068 poly->argParent = arg; in rtAddPolyArg()
1069 poly->argNext = arg->argNext; in rtAddPolyArg()
1070 arg->argNext = poly; in rtAddPolyArg()
1071 arg->argPoly = poly; in rtAddPolyArg()
1099 poly->argKind = akPoly; in rtAddPolyArg()
1101 poly->argKind = akAddFeature(poly->argKind, in rtAddPolyArg()
[all …]
HDuser.c918 register argument_t *poly = arg->argPoly; in WriteKPD_port() local
921 poly->argByReferenceUser ? "*" : "", poly->argVarName); in WriteKPD_port()
927 register argument_t *poly = arg->argPoly; in WriteKPD_port() local
930 poly->argByReferenceUser ? "*" : "", poly->argVarName); in WriteKPD_port()
1124 register argument_t *poly = arg->argPoly; in WriteKPD_oolport() local
1125 const char *pref = poly->argByReferenceUser ? "*" : ""; in WriteKPD_oolport()
1128 pref, poly->argVarName); in WriteKPD_oolport()
1146 register argument_t *poly = arg->argPoly; in WriteKPD_oolport() local
1147 const char *pref = poly->argByReferenceUser ? "*" : ""; in WriteKPD_oolport()
1150 string, pref, poly->argVarName); in WriteKPD_oolport()
[all …]
HDserver.c1246 register argument_t *poly = arg->argPoly; in WriteExtractKPD_oolport() local
1247 register const char *pref = poly->argByReferenceServer ? "*" : ""; in WriteExtractKPD_oolport()
1250 pref, poly->argVarName, arg->argRequestPos, arg->argMsgField); in WriteExtractKPD_oolport()
1816 register argument_t *poly = arg->argPoly; in WriteKPD_port() local
1819 fprintf(file, "\t%sdisposition = %s;\n", string, poly->argVarName); in WriteKPD_port()
1821 fprintf(file, "\t%sdisposition = OutP->%s;\n", string, poly->argSuffix); in WriteKPD_port()
/trueos/contrib/openbsm/bin/auditd/
HDauditd_darwin.c289 mach_msg_type_name_t poly; in mach_setup() local
342 MACH_MSG_TYPE_MAKE_SEND, &control_port, &poly); in mach_setup()
/trueos/sys/compat/mach/
HDmach_port_server.c227 mach_msg_port_descriptor_t poly; member
788 mach_msg_port_descriptor_t poly; member
2059 if (In0P->poly.type != MACH_MSG_PORT_DESCRIPTOR) in __MIG_check__Request__mach_port_insert_right_t()
2078 (task, name, poly, polyPoly) in mach_port_insert_right() argument
2081 mach_port_t poly;
2083 { return mach_port_insert_right(task, name, poly, polyPoly); }
2088 mach_port_t poly,
2105 mach_msg_port_descriptor_t poly; in _Xmach_port_insert_right() member
2148 OutP->RetCode = mach_port_insert_right(task, In0P->name, In0P->poly.name, In0P->poly.disposition); in _Xmach_port_insert_right()
2190 (task, name, msgt_name, poly, polyPoly) in mach_port_extract_right() argument
[all …]
HDmach_traps.c216 rv = ipc_object_copyin(task->itk_space, uap->poly, uap->polyPoly, (ipc_object_t *)&port); in sys__kernelrpc_mach_port_insert_right_trap()
/trueos/sys/compat/mach/ipc/
HDmach_port.c1302 ipc_port_t poly, in mach_port_insert_right() argument
1314 if (!IO_VALID((ipc_object_t) poly)) { in mach_port_insert_right()
1318 return ipc_object_copyout_name(space, (ipc_object_t) poly, in mach_port_insert_right()
1343 ipc_port_t *poly, in mach_port_extract_right() argument
1354 kr = ipc_object_copyin(space, name, msgt_name, (ipc_object_t *) poly); in mach_port_extract_right()
/trueos/usr.sbin/lmcconfig/
HDlmcconfig.c2087 u_int32_t poly = 0xEDB88320L; in crc32() local
2091 crc = (crc >> 1) ^ (((crc ^ data) & 1) ? poly : 0); in crc32()
2103 u_int8_t poly = 0x07; in crc8() local
2109 crc = (crc << 1) ^ ((((crc >> 7) ^ (data >> bit)) & 1) ? poly : 0); in crc8()
/trueos/contrib/groff/tmac/
HDhyphenex.us494 poly-ene
495 poly-eth-yl-ene
500 poly-styrene
/trueos/sys/mips/nlm/dev/net/
HDnae.c238 nlm_setup_flow_crc_poly(uint64_t nae_base, uint32_t poly) in nlm_setup_flow_crc_poly() argument
240 nlm_write_nae_reg(nae_base, NAE_FLOW_CRC16_POLY_CFG, poly); in nlm_setup_flow_crc_poly()
/trueos/sys/compat/mach/defs/
HDmach_port.defs172 poly : mach_port_poly_t);
192 out poly : mach_port_poly_t);

12