Searched defs:params (Results 1 - 25 of 173) sorted by relevance

1234567

/illumos-gate/usr/src/common/util/
H A Dgetoptstr.c55 getoptstr_init(struct gos_params *params) argument
57 params->gos_pos = 1;
63 * With params->gos_opts set to a string of options and params->gos_strp set to
66 * params->gos_opts string. If the option is followed by a ':' in gos_opts,
67 * then params->gos_optargp will point to the beginning of the argument in
68 * the string, and params->gos_optarglen will contain its length.
70 * case, params->gos_strp is advanced to the next argument.
74 * params->gos_last_opt, and in the former case, params
80 getoptstr(struct gos_params *params) argument
[all...]
/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_curve.c59 ECCurveParams_dup(const ECCurveParams * params, int kmflag) argument
69 if (params->text != NULL) {
71 ret->text = kmem_alloc(strlen(params->text) + 1, kmflag);
72 bcopy(params->text, ret->text, strlen(params->text) + 1);
74 CHECK(ret->text = strdup(params->text));
77 ret->field = params->field;
78 ret->size = params->size;
79 if (params->irr != NULL) {
81 ret->irr = kmem_alloc(strlen(params
153 EC_FreeCurveParams(ECCurveParams * params) argument
[all...]
H A Dec2_test.c114 params = EC_GetNamedCurveParams(name, KM_SLEEP); \
115 if (params == NULL) { \
116 printf(" Error: could not construct params.\n"); \
121 group = ECGroup_fromHex(params, KM_SLEEP); \
468 ECCurveParams *params = NULL; local
527 EC_FreeCurveParams(params);
H A Decdecode.c111 gf_populate_params(ECCurveName name, ECFieldType field_type, ECParams *params, argument
120 params->name = name;
121 curveParams = ecCurve_map[params->name];
123 params->fieldID.size = curveParams->size;
124 params->fieldID.type = field_type;
126 CHECK_OK(hexString2SECItem(NULL, &params->fieldID.u.prime,
129 CHECK_OK(hexString2SECItem(NULL, &params->fieldID.u.poly,
132 CHECK_OK(hexString2SECItem(NULL, &params->curve.a,
134 CHECK_OK(hexString2SECItem(NULL, &params->curve.b,
141 CHECK_OK(hexString2SECItem(NULL, &params
155 EC_FillParams(PRArenaPool *arena, const SECItem *encodedParams, ECParams *params, int kmflag) argument
581 ECParams *params; local
[all...]
H A Decl.c230 const ECCurveParams * params, int kmflag)
250 MP_CHECKOK(mp_read_radix(&irr, params->irr, 16));
251 MP_CHECKOK(mp_read_radix(&curvea, params->curvea, 16));
252 MP_CHECKOK(mp_read_radix(&curveb, params->curveb, 16));
253 MP_CHECKOK(mp_read_radix(&genx, params->genx, 16));
254 MP_CHECKOK(mp_read_radix(&geny, params->geny, 16));
255 MP_CHECKOK(mp_read_radix(&order, params->order, 16));
265 if (params->field == ECField_GFp) {
272 &order, params->cofactor);
281 &order, params
229 ecgroup_fromNameAndHex(const ECCurveName name, const ECCurveParams * params, int kmflag) argument
386 ECGroup_fromHex(const ECCurveParams * params, int kmflag) argument
396 ECCurveParams *params = NULL; local
[all...]
H A Decp_test.c113 params = EC_GetNamedCurveParams(name, KM_SLEEP); \
114 if (params == NULL) { \
115 printf(" Error: could not construct params.\n"); \
120 group = ECGroup_fromHex(params, KM_SLEEP); \
431 ECCurveParams *params = NULL; local
472 EC_FreeCurveParams(params);
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_bootflags.c47 struct gos_params params; local
79 params.gos_opts = "abcdDf:F:gGHhi:km:o:O:rsvVwxZ:";
81 params.gos_opts = "abcdgGhi:km:O:rsvwx";
83 params.gos_strp = cp;
84 getoptstr_init(&params);
85 while ((c = getoptstr(&params)) != -1) {
106 (char *)params.gos_optargp,
107 params.gos_optarglen + 1);
124 if (params.gos_optarglen + 1 > sizeof (initname)) {
128 (void) strncpy(initname, params
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Ddrv.c33 static struct edd_params params; variable in typeref:struct:edd_params
39 params.len = sizeof(struct edd_params);
44 v86.ds = VTOPSEG(&params);
45 v86.esi = VTOPOFF(&params);
51 return (params.sectors);
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Dbsdbf.c43 const char **params)
47 if (params != NULL) {
48 logr = atoi(params[0]);
61 const char **params)
39 crypt_gensalt_impl(char *gsbuffer, size_t gsbufflen, const char *oldsalt, const struct passwd *userinfo, const char **params) argument
57 crypt_genhash_impl(char *ctbuffer, size_t ctbufflen, const char *plaintext, const char *salt, const char **params) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/aes/
H A Daes_s2k.c48 const krb5_data *params,
58 if (params) {
59 unsigned char *p = (unsigned char *) params->data;
60 if (params->length != 4)
44 krb5int_aes_string_to_key(krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c25 const krb5_data *params, krb5_keyblock *key)
31 if (params != NULL)
22 krb5int_arcfour_string_to_key(krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstring_to_key.c40 const krb5_data *params,
57 const krb5_data *params, krb5_keyblock *key)
102 params, key);
54 krb5_c_string_to_key_with_params(krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key) argument
H A Dpbkdf2.c57 CK_PKCS5_PBKD2_PARAMS params; local
67 mechanism.pParameter = &params;
68 mechanism.ulParameterLen = sizeof (params);
102 params.saltSource = CKZ_SALT_SPECIFIED;
103 params.pSaltSourceData = (void *)salt->data;
104 params.ulSaltSourceDataLen = salt->length;
105 params.iterations = count;
106 params.prf = CKP_PKCS5_PBKD2_HMAC_SHA1;
107 params.pPrfData = NULL;
108 params
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_internal.h106 kadm5_config_params params; member in struct:_kadm5_server_handle_t
115 if (srvr->params.kpasswd_protocol == KRB5_CHGPWD_RPCSEC && ! srvr->clnt) \
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAssert.java46 static void slpassert(boolean bool, String msgTag, Object[] params) { argument
49 printMessageAndDie(conf, msgTag, params);
55 printMessageAndDie(SLPConfig conf, String msgTag, Object[] params) { argument
58 String msg = conf.formatMessage(msgTag, params);
/illumos-gate/usr/src/lib/libipmi/common/
H A Dlibipmi.c32 ipmi_open(int *errp, char **msg, uint_t xport_type, nvlist_t *params) argument
61 if ((ihp->ih_tdata = ihp->ih_transport->it_open(ihp, params)) == NULL ||
H A Dipmi_bmc.c69 ipmi_bmc_open(ipmi_handle_t *ihp, nvlist_t *params) argument
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dbootflags.c59 struct gos_params params; local
68 params.gos_opts = "HXF:VnI:D:advhko:";
69 params.gos_strp = args;
70 getoptstr_init(&params);
71 while ((c = getoptstr(&params)) != -1) {
83 if (params.gos_optarglen >=
90 params.gos_optargp, params.gos_optarglen);
91 cmd_line_boot_archive[params.gos_optarglen] = '\0';
106 if (params
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/kpasswd/
H A Dkpasswd.c118 kadm5_config_params params; local
121 memset((char *)&params, 0, sizeof (params));
213 params.mask |= KADM5_CONFIG_REALM;
214 params.realm = admin_realm;
225 &params, KADM5_STRUCT_VERSION,
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_session.c45 kcf_req_params_t params; local
66 KCF_WRAP_SESSION_OPS_PARAMS(&params,
70 &params, B_FALSE);
86 kcf_req_params_t params; local
110 KCF_WRAP_SESSION_OPS_PARAMS(&params,
114 &params, B_FALSE);
125 kcf_req_params_t params; local
146 KCF_WRAP_SESSION_OPS_PARAMS(&params, KCF_OP_SESSION_LOGIN,
149 &params, B_FALSE);
161 kcf_req_params_t params; local
[all...]
H A Dkcf_object.c45 kcf_req_params_t params; local
66 KCF_WRAP_OBJECT_OPS_PARAMS(&params, KCF_OP_OBJECT_CREATE,
70 &params, B_FALSE);
82 kcf_req_params_t params; local
103 KCF_WRAP_OBJECT_OPS_PARAMS(&params, KCF_OP_OBJECT_DESTROY,
107 &params, B_FALSE);
120 kcf_req_params_t params; local
142 KCF_WRAP_OBJECT_OPS_PARAMS(&params, KCF_OP_OBJECT_COPY,
146 &params, B_FALSE);
159 kcf_req_params_t params; local
198 kcf_req_params_t params; local
236 kcf_req_params_t params; local
274 kcf_req_params_t params; local
314 kcf_req_params_t params; local
349 kcf_req_params_t params; local
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_dict.c100 int init_dict(kadm5_config_params *params) argument
111 if (! (params->mask & KADM5_CONFIG_DICT_FILE)) {
119 if ((fd = open(params->dict_file, O_RDONLY)) == -1) {
125 "continuing without one."), params->dict_file);
/illumos-gate/usr/src/cmd/krb5/kproplog/
H A Dkproplog.c197 kadm5_config_params params; local
239 (void) memset((char *)&params, 0, sizeof (params));
241 if (kadm5_get_config_params(context, NULL, NULL, &params, &params)) {
248 params.dbname);
250 if (ulog_map(context, &params, FKPROPLOG)) {
252 "%s.ulog\n\n"), params.dbname);
261 "%s.ulog\n\n"), params.dbname);
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_acct_mgmt.c68 kadm5_config_params params; local
95 (void) memset((char *)&params, 0, sizeof (params));
96 params.mask |= KADM5_CONFIG_REALM;
97 params.realm = admin_realm;
109 &params, KADM5_STRUCT_VERSION,
H A Dkrb5_password.c334 kadm5_config_params params; local
336 (void) memset((char *)&params, 0, sizeof (params));
363 params.mask |= KADM5_CONFIG_REALM;
364 params.realm = admin_realm;
377 &params, KADM5_STRUCT_VERSION,
434 kadm5_config_params params; local
436 (void) memset((char *)&params, 0, sizeof (params));
459 params
[all...]

Completed in 943 milliseconds

1234567