Searched defs:qop (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssapi_ext.h75 * qop configuration file handling.
81 char *qop; member in struct:_qop_num
88 char *qop, /* input qop string */
90 OM_uint32 *num /* output qop num */
96 OM_uint32 num, /* input qop num */
97 char **qop /* output qop name */
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_misc.c116 __rpc_gss_wrap_data(service, qop, context, seq_num, out_xdrs, xdr_func,
118 OM_uint32 qop;
170 if (gss_seal(&minor, context, TRUE, qop, &in_buf,
178 if (gss_sign(&minor, context, qop, &in_buf,
225 int qop; local
240 &qop);
254 if (!conf || qop != qop_check)
260 major = gss_verify(&minor, context, &in_buf, &out_buf, &qop);
270 if (qop != qop_check)
309 __find_max_data_length(service, context, qop, max_tp_unit_le
[all...]
H A Drpcsec_gss_utils.c89 __rpc_gss_qop_to_num(char *qop, char *mech, OM_uint32 *num) argument
91 if (__gss_qop_to_num(qop, mech, num) != GSS_S_COMPLETE)
99 char *qop; local
101 if (__gss_num_to_qop(mech, num, &qop) != GSS_S_COMPLETE)
103 return (qop);
H A Drpcsec_gss.c82 OM_uint32 qop; /* requested QOP */ member in struct:_rpc_gss_data
101 __rpc_gss_seccreate(clnt, server_name, mech, service, qop, options_req,
107 char *qop; /* requested QOP */
125 if (!__rpc_gss_qop_to_num(qop, mech, &qop_num)) {
178 ap->qop = qop_num;
415 __rpc_gss_set_defaults(auth, service, qop)
418 char *qop;
440 if (!__rpc_gss_qop_to_num(qop, mech, &qop_num))
443 ap->qop = qop_num;
524 if ((major = gss_sign(&minor, ap->context, ap->qop,
[all...]
H A Dsvc_rpcsec_gss.c87 OM_uint32 qop; member in struct:_svc_rpc_gss_data
488 svcauth->raw_cred.qop = __rpc_gss_num_to_qop(
695 gss_parms->qop_rcvd = (uint_t)client_data->qop;
976 client_data->qop = gss_parms->qop_rcvd;
977 client_data->raw_cred.qop = __rpc_gss_num_to_qop(
993 gss_parms->qop_rcvd != client_data->qop) {
1158 if (gss_sign(&minor, cl->context, cl->qop, &in_buf,
1193 client_data->qop = GSS_C_QOP_DEFAULT;
/illumos-gate/usr/src/lib/libgss/
H A Dg_utils.c43 static const char QOP_NUM_FILE[] = "/etc/gss/qop";
50 * This routine fetches qop and num from "/etc/gss/qop".
55 * we don't expect the qop file to be changed and reread often.
71 if (!qop_num_pairs[0].qop) {
110 qopname = name; /* will contain qop name */
118 qop_num_pairs[qop_num_pair_cnt].qop = strdup(name);
119 if (qop_num_pairs[qop_num_pair_cnt].qop == NULL)
126 free(qop_num_pairs[qop_num_pair_cnt].qop);
140 free(qop_num_pairs[qop_num_pair_cnt].qop);
164 __gss_qop_to_num( char *qop, char *mech, OM_uint32 *num ) argument
[all...]
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_misc.c134 __rpc_gss_wrap_data(service, qop, context, seq_num, out_xdrs,
136 OM_uint32 qop;
186 if ((major = kgss_seal(&minor, context, TRUE, qop, &in_buf,
197 if ((major = kgss_sign(&minor, context, qop, &in_buf,
245 int qop = 0; local
262 &qop);
279 if (!conf || qop != qop_check)
287 &qop);
299 if (qop != qop_check)
H A Drpcsec_gss.c83 OM_uint32 qop; /* requested QOP */ member in struct:_rpc_gss_data
258 uint_t qop,
342 service_type, qop, options_req, options_ret, cr, &auth);
424 uint_t qop, /* requested QOP */
485 ap->qop = qop;
956 if ((major = kgss_sign(&minor, ap->context, ap->qop, &in_buf,
1404 return (__rpc_gss_wrap_data(ap->service, ap->qop, ap->context,
1430 ap->qop,
1559 rpc_gss_set_defaults(auth, service, qop)
254 rpc_gss_secget(CLIENT *clnt, char *principal, rpc_gss_OID mechanism, rpc_gss_service_t service_type, uint_t qop, rpc_gss_options_req_t *options_req, rpc_gss_options_ret_t *options_ret, void *cache_key, cred_t *cr, AUTH **retauth) argument
420 rpc_gss_seccreate(CLIENT *clnt, char *principal, rpc_gss_OID mechanism, rpc_gss_service_t service_type, uint_t qop, rpc_gss_options_req_t *options_req, rpc_gss_options_ret_t *options_ret, cred_t *cr, AUTH **retauth) argument
[all...]
H A Dsvc_rpcsec_gss.c93 OM_uint32 qop; member in struct:_svc_rpc_gss_data
1069 gss_parms->qop_rcvd = (uint_t)client_data->qop;
1176 gss_parms->qop_rcvd = (uint_t)client_data->qop;
1196 client_data->qop = gss_parms->qop_rcvd;
1197 client_data->raw_cred.qop = gss_parms->qop_rcvd;
1210 if (client_data->locked && gss_parms->qop_rcvd != client_data->qop) {
1212 RPCGSS_LOG0(1, "_svcrpcsec_gss: can not change qop\n");
1491 if ((kgss_sign(&minor, cl->context, cl->qop, &in_buf,
1539 client_data->qop = GSS_C_QOP_DEFAULT;
/illumos-gate/usr/src/lib/libnsl/include/rpcsvc/
H A Dnis_dhext.h80 char *qop; member in struct:__anon3663
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcsec_gss_if.c157 char *qop, /* requested QOP */
164 service_type, qop, options_req, options_ret));
168 rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, char *qop) argument
172 return ((*calls.rpc_gss_set_defaults)(auth, service, qop));
261 rpc_gss_qop_to_num(char *qop, char *mech, uint_t *num) argument
265 return ((*calls.rpc_gss_qop_to_num)(qop, mech, num));
152 rpc_gss_seccreate( CLIENT *clnt, char *principal, char *mechanism, rpc_gss_service_t service_type, char *qop, rpc_gss_options_req_t *options_req, rpc_gss_options_ret_t *options_ret) argument
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsec_gss.h104 uint_t qop; member in struct:__anon6898
107 char *qop; member in struct:__anon6898
163 uint_t qop; member in struct:gss_clnt_data32
177 uint_t qop; member in struct:gss_clnt_data
214 char *qop, /* requested QOP */
248 char *qop,
266 char *qop
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.c280 * __dh_is_valid_QOP: Return true if qop is valid entry into the QOP
284 __dh_is_valid_QOP(dh_qop_t qop) argument
288 is_valid = qop < QOP_ENTRIES;
299 __alloc_sig(dh_qop_t qop, dh_signature_t sig) argument
305 if (!__dh_is_valid_QOP(qop))
309 v = QOP_table[qop].verifier;
330 __get_sig_size(dh_qop_t qop, unsigned int *size) argument
333 if (__dh_is_valid_QOP(qop)) {
335 verifier_t v = QOP_table[qop].verifier;
348 * __mk_sig: Generate a signature using a given qop ove
354 __mk_sig(dh_qop_t qop, char *tok, long len, gss_buffer_t mesg, dh_key_set_t keys, dh_signature_t sig ) argument
393 __verify_sig(dh_token_t token, dh_qop_t qop, dh_key_set_t keys, dh_signature_t sig ) argument
494 __QOPSeal(dh_qop_t qop, gss_buffer_t input, int conf_req, dh_key_set_t keys, gss_buffer_t output, int *conf_ret ) argument
547 __QOPUnSeal(dh_qop_t qop, gss_buffer_t input, int conf_req, dh_key_set_t keys, gss_buffer_t output ) argument
[all...]
/illumos-gate/usr/src/man/man4/
H A DMakefile240 qop.4 \
288 qop.4 := LINKSRC = mech.4
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c74 const char *realm, *nonce, *cnonce, *qop, *user, *resp, *dom; member in struct:__anon3486
289 if (attr->qlen != 4 || strncasecmp(attr->qop, "auth", 4) != 0) {
316 MD5Update(&ctx, (CONST_UCHAR *) attr->qop, attr->qlen);
352 static const char qstr[] = ",qop=auth";
362 attr->qop == NULL || attr->qlen == 0 ||
459 static const char qstr[] = "qop";
557 attr_out->qop = val;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_krb5.h143 enum qop { enum
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dautofs.h345 uint_t qop; member in struct:sec_gssdata
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c333 unsigned char *pszQop, /* qop-value: "", "auth",
337 HASHHEX HEntity, /* H(entity body) if qop="auth-int" */
2376 char *qop,
2387 if (qop == NULL)
2388 qop = "auth";
2403 (unsigned char *) qop, /* qop-value: "", "auth",
2407 HEntity, /* H(entity body) if qop="auth-int" */
2427 (unsigned char *) qop, /* qop
2371 create_response(context_t * text, const sasl_utils_t * utils, unsigned char *nonce, unsigned int ncvalue, unsigned char *cnonce, char *qop, char *digesturi, HASH Secret, char *authorization_id, char **response_value) argument
2566 char qop[1024], cipheropts[1024]; local
2854 char *qop = NULL; local
3846 calculate_response(context_t * text, const sasl_utils_t * utils, unsigned char *username, unsigned char *realm, unsigned char *nonce, unsigned int ncvalue, unsigned char *cnonce, char *qop, unsigned char *digesturi, sasl_secret_t * passwd, unsigned char *authorization_id, char **response_value) argument
3947 char *qop = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h1246 qop4 qop; member in struct:rpcsec_gss_info

Completed in 107 milliseconds