/illumos-gate/usr/src/common/util/ |
H A D | getoptstr.c | 55 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 D | ecl_curve.c | 59 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 D | ec2_test.c | 114 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 D | ecdecode.c | 111 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, ¶ms->fieldID.u.prime, 129 CHECK_OK(hexString2SECItem(NULL, ¶ms->fieldID.u.poly, 132 CHECK_OK(hexString2SECItem(NULL, ¶ms->curve.a, 134 CHECK_OK(hexString2SECItem(NULL, ¶ms->curve.b, 141 CHECK_OK(hexString2SECItem(NULL, ¶ms 155 EC_FillParams(PRArenaPool *arena, const SECItem *encodedParams, ECParams *params, int kmflag) argument 581 ECParams *params; local [all...] |
H A D | ecl.c | 230 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 D | ecp_test.c | 113 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 D | kobj_bootflags.c | 47 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(¶ms); 85 while ((c = getoptstr(¶ms)) != -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 D | drv.c | 33 static struct edd_params params; variable in typeref:struct:edd_params 39 params.len = sizeof(struct edd_params); 44 v86.ds = VTOPSEG(¶ms); 45 v86.esi = VTOPOFF(¶ms); 51 return (params.sectors);
|
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/ |
H A D | bsdbf.c | 43 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 D | aes_s2k.c | 48 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 D | arcfour_str2key.c | 25 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 D | string_to_key.c | 40 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 D | pbkdf2.c | 57 CK_PKCS5_PBKD2_PARAMS params; local 67 mechanism.pParameter = ¶ms; 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 D | client_internal.h | 106 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 D | Assert.java | 46 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 D | libipmi.c | 32 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 D | ipmi_bmc.c | 69 ipmi_bmc_open(ipmi_handle_t *ihp, nvlist_t *params) argument
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | bootflags.c | 59 struct gos_params params; local 68 params.gos_opts = "HXF:VnI:D:advhko:"; 69 params.gos_strp = args; 70 getoptstr_init(¶ms); 71 while ((c = getoptstr(¶ms)) != -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 D | kpasswd.c | 118 kadm5_config_params params; local 121 memset((char *)¶ms, 0, sizeof (params)); 213 params.mask |= KADM5_CONFIG_REALM; 214 params.realm = admin_realm; 225 ¶ms, KADM5_STRUCT_VERSION,
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_session.c | 45 kcf_req_params_t params; local 66 KCF_WRAP_SESSION_OPS_PARAMS(¶ms, 70 ¶ms, B_FALSE); 86 kcf_req_params_t params; local 110 KCF_WRAP_SESSION_OPS_PARAMS(¶ms, 114 ¶ms, B_FALSE); 125 kcf_req_params_t params; local 146 KCF_WRAP_SESSION_OPS_PARAMS(¶ms, KCF_OP_SESSION_LOGIN, 149 ¶ms, B_FALSE); 161 kcf_req_params_t params; local [all...] |
H A D | kcf_object.c | 45 kcf_req_params_t params; local 66 KCF_WRAP_OBJECT_OPS_PARAMS(¶ms, KCF_OP_OBJECT_CREATE, 70 ¶ms, B_FALSE); 82 kcf_req_params_t params; local 103 KCF_WRAP_OBJECT_OPS_PARAMS(¶ms, KCF_OP_OBJECT_DESTROY, 107 ¶ms, B_FALSE); 120 kcf_req_params_t params; local 142 KCF_WRAP_OBJECT_OPS_PARAMS(¶ms, KCF_OP_OBJECT_COPY, 146 ¶ms, 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 D | server_dict.c | 100 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 D | kproplog.c | 197 kadm5_config_params params; local 239 (void) memset((char *)¶ms, 0, sizeof (params)); 241 if (kadm5_get_config_params(context, NULL, NULL, ¶ms, ¶ms)) { 248 params.dbname); 250 if (ulog_map(context, ¶ms, 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 D | krb5_acct_mgmt.c | 68 kadm5_config_params params; local 95 (void) memset((char *)¶ms, 0, sizeof (params)); 96 params.mask |= KADM5_CONFIG_REALM; 97 params.realm = admin_realm; 109 ¶ms, KADM5_STRUCT_VERSION,
|
H A D | krb5_password.c | 334 kadm5_config_params params; local 336 (void) memset((char *)¶ms, 0, sizeof (params)); 363 params.mask |= KADM5_CONFIG_REALM; 364 params.realm = admin_realm; 377 ¶ms, KADM5_STRUCT_VERSION, 434 kadm5_config_params params; local 436 (void) memset((char *)¶ms, 0, sizeof (params)); 459 params [all...] |