/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl_mult.c | 57 * of the group of points on the elliptic curve. Input and output values 60 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, argument 66 ARGCHK((k != NULL) && (group != NULL), MP_BADARG); 69 /* want scalar to be less than or equal to group order */ 70 if (mp_cmp(k, &group->order) > 0) { 72 MP_CHECKOK(mp_mod(k, &group->order, &kt)); 81 if (group->base_point_mul) { 82 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group)); 84 MP_CHECKOK(group 114 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 169 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 319 ECPoints_mul(const ECGroup *group, const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument [all...] |
H A D | ecp_test.c | 119 ECGroup_free(group); \ 120 group = ECGroup_fromHex(params, KM_SLEEP); \ 121 if (group == NULL) { \ 122 printf(" Error: could not construct group.\n"); \ 126 MP_CHECKOK( ectest_curve_GFp(group, ectestPrint, ectestTime, 1, KM_SLEEP) ); \ 132 ECGroup_free(group); \ 133 group = ECGroup_fromName(name, KM_SLEEP); \ 134 if (group == NULL) { \ 135 printf(" Warning: could not construct group.\n"); \ 138 MP_CHECKOK( ectest_curve_GFp(group, ectestPrin 146 ectest_curve_GFp(ECGroup *group, int ectestPrint, int ectestTime, int generic, int kmflag) argument 430 ECGroup *group = NULL; local [all...] |
H A D | ec2_193.c | 280 ec_group_set_gf2m193(ECGroup *group, ECCurveName name) argument 282 group->meth->field_mod = &ec_GF2m_193_mod; 283 group->meth->field_mul = &ec_GF2m_193_mul; 284 group->meth->field_sqr = &ec_GF2m_193_sqr;
|
H A D | ec2_233.c | 303 ec_group_set_gf2m233(ECGroup *group, ECCurveName name) argument 305 group->meth->field_mod = &ec_GF2m_233_mod; 306 group->meth->field_mul = &ec_GF2m_233_mul; 307 group->meth->field_sqr = &ec_GF2m_233_sqr;
|
H A D | ec2_aff.c | 81 const ECGroup *group) 109 MP_CHECKOK(group->meth->field_add(py, qy, &tempy, group->meth)); 110 MP_CHECKOK(group->meth->field_add(px, qx, &tempx, group->meth)); 111 MP_CHECKOK(group->meth-> 112 field_div(&tempy, &tempx, &lambda, group->meth)); 113 MP_CHECKOK(group->meth->field_sqr(&lambda, &tempx, group->meth)); 114 MP_CHECKOK(group 79 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 161 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 181 ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GF2m_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 285 ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ec2_mont.c | 62 gf2m_Mdouble(mp_int *x, mp_int *z, const ECGroup *group, int kmflag) argument 70 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); 71 MP_CHECKOK(group->meth->field_sqr(z, &t1, group->meth)); 72 MP_CHECKOK(group->meth->field_mul(x, &t1, z, group->meth)); 73 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); 74 MP_CHECKOK(group 89 gf2m_Madd(const mp_int *x, mp_int *x1, mp_int *z1, mp_int *x2, mp_int *z2, const ECGroup *group, int kmflag) argument 121 gf2m_Mxy(const mp_int *x, const mp_int *y, mp_int *x1, mp_int *z1, mp_int *x2, mp_int *z2, const ECGroup *group) argument 195 ec_GF2m_pt_mul_mont(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ecp_aff.c | 87 const ECGroup *group) 116 MP_CHECKOK(group->meth->field_sub(py, qy, &tempy, group->meth)); 117 MP_CHECKOK(group->meth->field_sub(px, qx, &tempx, group->meth)); 118 MP_CHECKOK(group->meth-> 119 field_div(&tempy, &tempx, &lambda, group->meth)); 129 MP_CHECKOK(group->meth->field_sqr(qx, &tempx, group->meth)); 131 if (group 85 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 171 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 205 ec_GFp_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 298 ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ecp_jm.c | 66 mp_int *raz4, mp_int scratch[], const ECGroup *group) 89 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); 90 MP_CHECKOK(group->meth->field_add(t0, t0, M, group->meth)); 91 MP_CHECKOK(group->meth->field_add(t0, M, t0, group->meth)); 92 MP_CHECKOK(group->meth->field_add(t0, paz4, M, group->meth)); 95 MP_CHECKOK(group 64 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *paz4, mp_int *rx, mp_int *ry, mp_int *rz, mp_int *raz4, mp_int scratch[], const ECGroup *group) argument 134 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *paz4, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, mp_int *raz4, mp_int scratch[], const ECGroup *group) argument 224 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | write.c | 325 /* write group tag */ 345 papi_attribute_t **group = NULL; local 351 name, &group); 354 NULL, &group)) 356 c, group);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclcheck.c | 34 * If there are any GROUP entries, then the group id must be unique. 56 struct entry group; member in struct:entry_stat 142 cnt = (tally.group.count)++; 143 idp = &(tally.group.id); 211 /* If there are group or user entries, there must be one class entry */ 212 if (tally.user.count > 0 || tally.group.count > 0) 274 if ((tallyp->group).count > 0) 275 free((tallyp->group).id);
|
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | revnetgroup.c | 87 static void storegroup(char *group, struct grouplist *glist, int byuser); 88 static void enter(char *name, char *group); 89 static void appendgroup(groupentrylist grlist, char *group); 90 static groupentrylist newentry(char *name, char *group); 99 char *group; local 114 while (group = nextgroup()) { 115 glist = my_getgroup(group); 116 storegroup(group, glist, byuser); 131 char *group; local 139 group 182 storegroup(char *group, struct grouplist *glist, int byuser) argument 209 newentry(char *name, char *group) argument 226 appendgroup(groupentrylist grlist, char *group) argument 242 enter(char *name, char *group) argument 273 char *group; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | grub.h | 55 in_addr group; member in struct:igmptable_t 93 extern void join_group(int slot, unsigned long group);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_admin.c | 100 char *group = "param-group-cache"; local 182 rc = _nscd_cfg_get_handle(group, dbname, &h, NULL); 186 dbname, group); 195 dbname, group);
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/ |
H A D | LocalityDomain.java | 174 LocalityGroup group = getGroup(id); 175 if (group != null && exclude.contains(group) == false) 176 result.add(group); 182 * Return the locality group which contains the majority of 183 * the cpus in the supplied list. If more than one group 184 * satisfies this criteria, then the choice of group is 200 LocalityGroup group = getGroup(id); 201 Integer score = (Integer) grps.get(group); 204 grps.put(group, ne 274 getGroups(LocalityGroup group, Set descendents) argument 308 getGroup(LocalityGroup group, int cpuid) argument [all...] |
/illumos-gate/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 53 static char *group; variable 93 group = optarg; 109 if (login != NULL && (user != NULL || group != NULL || grplst != NULL)) 249 "\t%s [-u user] [-g group] [-G groups] pid ...\n" 274 struct group *grp = getgrnam(grnam); 280 (void) fprintf(stderr, "%s: %s: unknown group" 332 if (group != NULL) 333 gid = str2gid(group);
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon_y.y | 61 %type <opt> direction dstip dstport every execute group interface 100 | group { $$ = $1; } 153 group: IPM_GROUP '=' YY_NUMBER { $$ = new_opt(IPM_GROUP); label 254 { "group", IPM_GROUP },
|
/illumos-gate/usr/src/tools/install.bin/ |
H A D | install.bin.c | 47 static void chown_file(const char *file, const char *group, const char *owner); 56 "usage: install [-sd][-m mode][-g group][-u owner] " 99 chown_file(const char *file, const char *group, const char *owner) argument 104 if (group) { 105 grp = stdfind(group, groupnames); 107 (void) fprintf(stderr, "unknown group(%s)\n", group); 162 char *group = NULL; local 176 group = optarg; 231 if (group || owne [all...] |
/illumos-gate/usr/src/ucbcmd/chown/ |
H A D | chown.c | 70 char *cp, *group; local 72 struct group *grp; 97 fprintf(stderr, "usage: chown [-fR] owner[.group] file ...\n"); 101 group = strchr(argv[0], '.'); 102 if (group != NULL) { 103 *group++ = '\0'; 104 if (!isnumber(group)) { 105 if ((grp = getgrnam(group)) == NULL) 106 fatal(255, "unknown group: %s", group); [all...] |
/illumos-gate/usr/src/cmd/make/include/vroot/ |
H A D | args.h | 47 struct { int user; int group;} chown; member in struct:Args::__anon37
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.c | 171 * Lookup and enumeration routines for +@group and -@group. 187 netgr_in(compat_backend_ptr_t be, const char *group, const char *user) argument 194 return (innetgr(group, 0, user, be->yp_domain)); 273 #define MAXFIELDS 9 /* Sufficient for passwd (7), shadow (9), group (4) */ 699 struct group *g; 702 * struct passwd or group. 711 g = (struct group *)argp->returnval; 1270 } else { /* group */ 1272 be->workarea = calloc(1, sizeof (struct group)); [all...] |
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | common.c | 166 massage_printer_attributes_group(papi_attribute_t **group, char *printer_uri) argument 168 if (papiAttributeListFind(group, "printer-uri-supported") != NULL) 169 papiAttributeListAddString(&group, PAPI_ATTR_REPLACE, 174 massage_job_attributes_group(papi_attribute_t **group, char *printer_uri) argument 176 if (papiAttributeListFind(group, "job-printer-uri") != NULL) 177 papiAttributeListAddString(&group, PAPI_ATTR_REPLACE, 180 if (papiAttributeListFind(group, "job-printer-uri") != NULL) { 184 papiAttributeListGetInteger(group, NULL, "job-id", &id); 186 papiAttributeListAddString(&group, PAPI_ATTR_REPLACE, 199 papi_attribute_t **group local [all...] |
H A D | ipp-listener.c | 304 papi_attribute_t **group = NULL; local 307 "operations", &group); 308 if (group != NULL) { 313 (void) papiAttributeListGetBoolean(group, NULL, 353 /* Add a default operational attributes group to the response */ 360 "operational-attributes-group", operational); 430 /* Get the operational attributes group from the request */ 432 "operational-attributes-group", &operational);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 421 * an appropriate optionset to group. 425 sa_proto_legacy_opts(char *proto, sa_group_t group, char *options) argument 431 ret = ops->sa_legacy_opts(group, options); 436 * sa_proto_legacy_format(proto, group, hier) 438 * Return a legacy format string representing either the group's 443 sa_proto_legacy_format(char *proto, sa_group_t group, int hier) argument 449 ret = ops->sa_legacy_format(group, hier);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 24 * It must not have the set group id bit set. This program must be installed 35 * user and group id correctly, and then exec the shell. 120 * group, and setuid/gid bits correctly set. This copy of 204 /* compute the desired new effective user and group id */ 213 /* see if group needs setting */ 344 static void setids(int mode,int owner,int group) argument 347 setregid(rgroupid,group); 364 static void setids(int mode,uid_t owner,gid_t group) argument 418 * child takes on desired user and group. The only 424 if((mode & S_ISGID) && setgid(group) < [all...] |
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_logging.c | 437 * Given a counter group and counter name within the group, returns the value 441 sip_get_counter_value(int group, int counter, void *cntval, size_t cntlen) argument 443 if (group != SIP_TRAFFIC_COUNTERS || cntval == NULL) 604 sip_enable_counters(int group) argument 606 if (group != SIP_TRAFFIC_COUNTERS) 627 sip_disable_counters(int group) argument 629 if (group != SIP_TRAFFIC_COUNTERS)
|