Searched refs:qop (Results 1 - 25 of 40) sorted by relevance

12

/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/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...]
H A Dcrypto.h57 __dh_is_valid_QOP(dh_qop_t qop);
60 __QOPSeal(dh_qop_t qop, gss_buffer_t input, int conf_req,
64 __QOPUnSeal(dh_qop_t qop, gss_buffer_t input, int conf_req,
H A DMICwrap.c42 * __dh_gss_sign: Sign (Caluculate a check sum as specified by the qop
43 * and encrypt it with a cipher also determined by the qop using the context
44 * session keys). the message with the given qop and return
52 int qop_req, /* Requested qop */
91 /* Set the token qop, seq_number and client flag */
92 mic->qop = qop_req;
114 * major return value is GSS_S_COMPLETE, then *qop will be the qop that
124 int *qop /* qop use
[all...]
H A Ddhmech_prot.x101 dh_qop_t qop;
H A Dtoken.c69 return (body->dh_token_body_desc_u.sign.qop);
71 return (body->dh_token_body_desc_u.seal.mic.qop);
/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.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 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 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/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
H A Drpcsec_defs.h179 OM_uint32 qop, int max_tp_unit_len);
/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/uts/common/gssapi/include/
H A DmechglueP.h738 #define KGSS_SIGN(minor_st, ctx, qop, msg, tkn) \
740 KCTX_TO_CTX(ctx), qop, msg, tkn, KCTX_TO_CTXV(ctx))
742 #define KGSS_VERIFY(minor_st, ctx, msg, tkn, qop) \
744 KCTX_TO_CTX(ctx), msg, tkn, qop, KCTX_TO_CTXV(ctx))
754 #define KGSS_SEAL(minor_st, ctx, conf_req, qop, msg, conf_state, tkn) \
756 KCTX_TO_CTX(ctx), conf_req, qop, msg, conf_state, tkn,\
759 #define KGSS_UNSEAL(minor_st, ctx, msg, tkn, conf, qop) \
761 KCTX_TO_CTX(ctx), msg, tkn, conf, qop, \
782 #define KGSS_SIGN(minor_st, ctx, qop, msg, tkn) \
784 KCTX_TO_CTX(ctx), qop, ms
[all...]
/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/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/cmd/gss/etc/
H A DMakefile28 GSSTXTS= mech qop gsscred.conf
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c267 if (mp->qop)
268 free(mp->qop);
375 const int qp_offset = 5; /* qop */
409 * qop: optional field
410 * Make qop NULL if the field was empty or was "default" or
417 m->qop = NULL;
419 m->qop = strdup(*(flds + qp_offset));
501 tp->qop = mp->qop ? strdup(mp->qop)
[all...]
/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/lib/libnsl/include/rpcsvc/
H A Dnis_dhext.h80 char *qop; member in struct:__anon3663
/illumos-gate/usr/src/man/man4/
H A DMakefile240 qop.4 \
288 qop.4 := LINKSRC = mech.4
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_secinfo.c67 * to rpcsec_gss data (mech, service, default-qop). Now, V4 can return the
100 val[0].flavor_info.qop = 0;
107 val[i].flavor_info.qop = 0;
114 val[4].flavor_info.qop = 0;
120 val[5].flavor_info.qop = 0;
145 * mechanism service qop nfs-pseudo-flavor
227 data->qop = (uint_t)info->qop;
/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;

Completed in 81 milliseconds

12