/titanic_41/usr/src/lib/libgss/ |
H A D | g_utils.c | 71 if (!qop_num_pairs[0].qop) { in __gss_read_qop_file() 118 qop_num_pairs[qop_num_pair_cnt].qop = strdup(name); in __gss_read_qop_file() 119 if (qop_num_pairs[qop_num_pair_cnt].qop == NULL) in __gss_read_qop_file() 126 free(qop_num_pairs[qop_num_pair_cnt].qop); in __gss_read_qop_file() 140 free(qop_num_pairs[qop_num_pair_cnt].qop); in __gss_read_qop_file() 150 free(qop_num_pairs[qop_num_pair_cnt].qop); in __gss_read_qop_file() 165 char *qop, in __gss_qop_to_num() argument 176 if (qop == NULL || strlen(qop) == 0 || in __gss_qop_to_num() 177 strcasecmp(qop, Q_DEFAULT) == 0) { in __gss_qop_to_num() 187 (strcasecmp(qop, qop_num_pairs[i].qop) == 0)) { in __gss_qop_to_num() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 284 __dh_is_valid_QOP(dh_qop_t qop) in __dh_is_valid_QOP() argument 288 is_valid = qop < QOP_ENTRIES; in __dh_is_valid_QOP() 299 __alloc_sig(dh_qop_t qop, dh_signature_t sig) in __alloc_sig() argument 305 if (!__dh_is_valid_QOP(qop)) in __alloc_sig() 309 v = QOP_table[qop].verifier; in __alloc_sig() 330 __get_sig_size(dh_qop_t qop, unsigned int *size) in __get_sig_size() argument 333 if (__dh_is_valid_QOP(qop)) { in __get_sig_size() 335 verifier_t v = QOP_table[qop].verifier; in __get_sig_size() 354 __mk_sig(dh_qop_t qop, /* The QOP to use */ in __mk_sig() argument 368 if (!__dh_is_valid_QOP(qop)) in __mk_sig() [all …]
|
H A D | MICwrap.c | 92 mic->qop = qop_req; in __dh_gss_sign() 124 int *qop /* qop used */) in __dh_gss_verify() argument 175 if (qop != NULL) in __dh_gss_verify() 176 *qop = mic->qop; in __dh_gss_verify() 253 wrap->mic.qop = qop_req; in __dh_gss_seal() 264 if ((*minor = __QOPSeal(wrap->mic.qop, input, conf_req, in __dh_gss_seal() 355 *qop_used = wrap->mic.qop; in __dh_gss_unseal() 377 if ((*minor = __QOPUnSeal(wrap->mic.qop, &message, in __dh_gss_unseal()
|
H A D | crypto.h | 57 __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 D | dhmech_prot.x | 101 dh_qop_t qop; member
|
H A D | token.c | 69 return (body->dh_token_body_desc_u.sign.qop); in get_qop() 71 return (body->dh_token_body_desc_u.seal.mic.qop); in get_qop()
|
/titanic_41/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_misc.c | 116 __rpc_gss_wrap_data(service, qop, context, seq_num, out_xdrs, xdr_func, in __rpc_gss_wrap_data() argument 118 OM_uint32 qop; in __rpc_gss_wrap_data() 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_len) in __find_max_data_length() argument [all …]
|
H A D | rpcsec_gss_utils.c | 89 __rpc_gss_qop_to_num(char *qop, char *mech, OM_uint32 *num) in __rpc_gss_qop_to_num() argument 91 if (__gss_qop_to_num(qop, mech, num) != GSS_S_COMPLETE) in __rpc_gss_qop_to_num() 99 char *qop; in __rpc_gss_num_to_qop() local 101 if (__gss_num_to_qop(mech, num, &qop) != GSS_S_COMPLETE) in __rpc_gss_num_to_qop() 103 return (qop); in __rpc_gss_num_to_qop()
|
H A D | rpcsec_gss.c | 82 OM_uint32 qop; /* requested QOP */ member 101 __rpc_gss_seccreate(clnt, server_name, mech, service, qop, options_req, in __rpc_gss_seccreate() argument 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) in __rpc_gss_set_defaults() argument 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, &in_buf, [all …]
|
H A D | svc_rpcsec_gss.c | 87 OM_uint32 qop; member 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; in create_client()
|
/titanic_41/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss_misc.c | 134 __rpc_gss_wrap_data(service, qop, context, seq_num, out_xdrs, in __rpc_gss_wrap_data() argument 136 OM_uint32 qop; in __rpc_gss_wrap_data() 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 D | rpcsec_gss.c | 83 OM_uint32 qop; /* requested QOP */ member 258 uint_t qop, in rpc_gss_secget() argument 342 service_type, qop, options_req, options_ret, cr, &auth); in rpc_gss_secget() 424 uint_t qop, /* requested QOP */ in rpc_gss_seccreate() argument 485 ap->qop = qop; in rpc_gss_seccreate() 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) in rpc_gss_set_defaults() argument 1562 uint_t qop;
|
H A D | svc_rpcsec_gss.c | 91 OM_uint32 qop; member 1071 gss_parms->qop_rcvd = (uint_t)client_data->qop; in rpcsec_gss_continue_init() 1178 gss_parms->qop_rcvd = (uint_t)client_data->qop; in rpcsec_gss_data() 1198 client_data->qop = gss_parms->qop_rcvd; in rpcsec_gss_data() 1199 client_data->raw_cred.qop = gss_parms->qop_rcvd; in rpcsec_gss_data() 1212 if (client_data->locked && gss_parms->qop_rcvd != client_data->qop) { in rpcsec_gss_data() 1493 if ((kgss_sign(&minor, cl->context, cl->qop, &in_buf, 1541 client_data->qop = GSS_C_QOP_DEFAULT; in create_client()
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | rpcsec_gss.h | 104 uint_t qop; member 107 char *qop; member 163 uint_t qop; member 177 uint_t qop; member 214 char *qop, /* requested QOP */ 248 char *qop, 266 char *qop
|
/titanic_41/usr/src/uts/common/gssapi/include/ |
H A D | mechglueP.h | 738 #define KGSS_SIGN(minor_st, ctx, qop, msg, tkn) \ argument 740 KCTX_TO_CTX(ctx), qop, msg, tkn, KCTX_TO_CTXV(ctx)) 742 #define KGSS_VERIFY(minor_st, ctx, msg, tkn, qop) \ argument 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) \ argument 756 KCTX_TO_CTX(ctx), conf_req, qop, msg, conf_state, tkn,\ 759 #define KGSS_UNSEAL(minor_st, ctx, msg, tkn, conf, qop) \ argument 761 KCTX_TO_CTX(ctx), msg, tkn, conf, qop, \ 782 #define KGSS_SIGN(minor_st, ctx, qop, msg, tkn) \ argument 784 KCTX_TO_CTX(ctx), qop, msg, tkn, KCTX_TO_CTXV(ctx)) [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | rpcsec_gss_if.c | 157 char *qop, /* requested QOP */ in rpc_gss_seccreate() argument 164 service_type, qop, options_req, options_ret)); in rpc_gss_seccreate() 168 rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, char *qop) in rpc_gss_set_defaults() argument 172 return ((*calls.rpc_gss_set_defaults)(auth, service, qop)); in rpc_gss_set_defaults() 261 rpc_gss_qop_to_num(char *qop, char *mech, uint_t *num) in rpc_gss_qop_to_num() argument 265 return ((*calls.rpc_gss_qop_to_num)(qop, mech, num)); in rpc_gss_qop_to_num()
|
/titanic_41/usr/src/uts/common/gssapi/ |
H A D | gssapi_ext.h | 81 char *qop; member 88 char *qop, /* input qop string */ 97 char **qop /* output qop name */
|
/titanic_41/usr/src/pkg/manifests/ |
H A D | service-security-gss.mf | 48 file path=etc/gss/qop group=sys original_name=SUNWgssc:etc/gss/qop \ 59 link path=usr/share/man/man4/qop.4 target=mech.4
|
/titanic_41/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 267 if (mp->qop) in sf_free_mech_ent() 268 free(mp->qop); in sf_free_mech_ent() 417 m->qop = NULL; in get_secfile_ent() 419 m->qop = strdup(*(flds + qp_offset)); in get_secfile_ent() 501 tp->qop = mp->qop ? strdup(mp->qop) : NULL; in sf_copy_mech_ent()
|
/titanic_41/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 2376 char *qop, argument 2387 if (qop == NULL) 2388 qop = "auth"; 2403 (unsigned char *) qop, /* qop-value: "", "auth", 2427 (unsigned char *) qop, /* qop-value: "", "auth", 2566 char qop[1024], cipheropts[1024]; local 2580 qop[0] = '\0'; 2583 if (*qop) strcat(qop, ","); 2584 strcat(qop, "auth"); 2587 if (*qop) strcat(qop, ","); [all …]
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 100 val[0].flavor_info.qop = 0; in nfs4_secinfo_init() 107 val[i].flavor_info.qop = 0; in nfs4_secinfo_init() 114 val[4].flavor_info.qop = 0; in nfs4_secinfo_init() 120 val[5].flavor_info.qop = 0; in nfs4_secinfo_init() 227 data->qop = (uint_t)info->qop; in secinfo_create()
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | digest_md5.c | 74 const char *realm, *nonce, *cnonce, *qop, *user, *resp, *dom; member 289 if (attr->qlen != 4 || strncasecmp(attr->qop, "auth", 4) != 0) { in digest_calc_resp() 316 MD5Update(&ctx, (CONST_UCHAR *) attr->qop, attr->qlen); in digest_calc_resp() 362 attr->qop == NULL || attr->qlen == 0 || in digest_client_resp() 557 attr_out->qop = val; in digest_parse()
|
/titanic_41/usr/src/man/man4/ |
H A D | Makefile | 232 qop.4 \ 271 qop.4 := LINKSRC = mech.4
|
/titanic_41/usr/src/cmd/gss/etc/ |
H A D | Makefile | 28 GSSTXTS= mech qop gsscred.conf
|
/titanic_41/usr/src/lib/libnsl/include/rpcsvc/ |
H A D | nis_dhext.h | 80 char *qop; member
|