qop
gss_qop_t qop;
&mic_token, &qop);
if (ireq.u.digestRequest.qop == NULL)
EVP_DigestUpdate(ctx, *ireq.u.digestRequest.qop,
strlen(*ireq.u.digestRequest.qop));
const char *qop)
if (digest->request.qop) {
digest->request.qop = malloc(sizeof(*digest->request.qop));
if (digest->request.qop == NULL) {
*digest->request.qop = strdup(qop);
if (*digest->request.qop == NULL) {
free(digest->request.qop);
digest->request.qop = NULL;
gss_qop_t qop, rpc_gss_svc_t svc,
xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop,
xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop,
gss_qop_t qop; /* quality of protection */
sec.qop = GSS_C_QOP_DEFAULT;
fprintf(stderr, " qop: %d\n", ptr->qop);
maj_stat = gss_get_mic(&min_stat, gd->ctx, gd->sec.qop,
if (maj_stat != GSS_S_COMPLETE || qop_state != gd->sec.qop) {
if (maj_stat != GSS_S_COMPLETE || qop_state != gd->sec.qop) {
gd->ctx, gd->sec.qop,
gd->ctx, gd->sec.qop,
int conf, qop;
&qop);
gss_ctx_id_t ctx, gss_qop_t qop,
maj_stat = gss_get_mic(&min_stat, ctx, qop,
maj_stat = gss_wrap(&min_stat, ctx, TRUE, qop, &databuf,
gss_ctx_id_t ctx, gss_qop_t qop,
if (maj_stat != GSS_S_COMPLETE || qop_state != qop) {
if (maj_stat != GSS_S_COMPLETE || qop_state != qop ||
gss_ctx_id_t ctx, gss_qop_t qop,
ctx, qop, svc, seq));
ctx, qop,svc, seq));
gd->sec.qop = GSS_C_QOP_DEFAULT;
gd->sec.qop, gd->sec.svc);
gd->sec.qop, gd->sec.svc);
maj_stat = gss_get_mic(&min_stat, gd->ctx, gd->sec.qop,
gd->ctx, gd->sec.qop,
gd->ctx, gd->sec.qop,
const char *mechanism, rpc_gss_service_t service, const char *qop,
const char *qop);
bool_t rpc_gss_qop_to_num(const char *qop, const char *mech, u_int *num_ret);
const char *qop; /* quality of protection */
if (!c->qop) {
c->qop = strdup("");
DigestCalcResponse(HA1, c->nonce, noncecount, cnonce, c->qop,
if (c->qop[0]) {
char *qop;
b->realm = b->qop = b->nonce = b->opaque = b->algo = NULL;
if (b->qop)
free(b->qop);
cs->challenges[cs->count]->qop =
const char *mechanism, rpc_gss_service_t service, const char *qop,
if (qop) {
if (!rpc_gss_qop_to_num(qop, mechanism, &qop_num))
rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, const char *qop)
if (qop) {
if (!rpc_gss_qop_to_num(qop, mechanism, &qop_num)) {
info->qop = strtoul(name, 0, 0);
rpc_gss_qop_to_num(const char *qop, const char *mech, u_int *num_ret)
if (strcmp(info->name, qop) == 0
*num_ret = info->qop;
if (info->qop == num && strcmp(info->mech, mech) == 0) {
u_int qop;
caddr_t xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_service_t svc,
caddr_t xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_service_t svc,
maj_stat = gss_get_mic(&min_stat, ctx, qop,
maj_stat = gss_wrap(&min_stat, ctx, TRUE, qop, &databuf,
gss_ctx_id_t ctx, gss_qop_t qop,
if (maj_stat != GSS_S_COMPLETE || qop_state != qop) {
if (maj_stat != GSS_S_COMPLETE || qop_state != qop ||
gss_ctx_id_t ctx, gss_qop_t qop,
if (!svc_rpc_gss_validate(client, msg, &qop)) {
client->cl_qop = qop;
client->cl_rawcred.qop = _rpc_gss_num_to_qop(
client->cl_rawcred.mechanism, qop);
} else if (client->cl_qop != qop) {
if (client->cl_qop != qop) {
client->cl_qop = qop;
client->cl_rawcred.qop = _rpc_gss_num_to_qop(
client->cl_rawcred.mechanism, qop);
gss_qop_t *qop)
*qop = qop_state;
gss_qop_t qop;
const char *qop, rpc_gss_options_req_t *options_req,
rpc_gss_service_t service, const char *qop);
typedef bool_t rpc_gss_qop_to_num_ftype(const char *qop, const char *mech,
rpc_gss_service_t service, const char *qop,
clnt_principal, principal, mechanism, service, qop,
const char *qop)
qop);
rpc_gss_qop_to_num_call(const char *qop, const char *mech, u_int *num_ret)
ret = (*rpc_gss_entries.rpc_gss_qop_to_num)(qop, mech, num_ret);
const char *qop, rpc_gss_options_req_t *options_req,
const char *qop, rpc_gss_options_req_t *options_req,
const char *qop);
bool_t rpc_gss_qop_to_num(const char *qop, const char *mech, u_int *num_ret);
const char *qop; /* quality of protection */
const char *qop, rpc_gss_options_req_t *options_req,
if (qop) {
if (!rpc_gss_qop_to_num(qop, mechanism, &qop_num))
rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, const char *qop)
if (qop) {
if (!rpc_gss_qop_to_num(qop, mechanism, &qop_num)) {
rpc_gss_qop_to_num(const char *qop, const char *mech, u_int *num_ret)
if (!strcmp(qop, "default")) {
gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_service_t svc,
gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_service_t svc, u_int seq);
gss_ctx_id_t ctx, gss_qop_t qop,
maj_stat = gss_get_mic_mbuf(&min_stat, ctx, qop, args, &mic);
maj_stat = gss_wrap_mbuf(&min_stat, ctx, TRUE, qop,
gss_ctx_id_t ctx, gss_qop_t qop,
if (maj_stat != GSS_S_COMPLETE || qop_state != qop) {
if (qop_state != qop || conf_state != TRUE) {
gss_qop_t *qop, rpc_gss_proc_t gcproc)
*qop = qop_state;
gss_qop_t qop;
if (!svc_rpc_gss_validate(client, msg, &qop, gc.gc_proc)) {
client->cl_qop = qop;
client->cl_rawcred.qop = _rpc_gss_num_to_qop(
client->cl_rawcred.mechanism, qop);
} else if (client->cl_qop != qop) {
if (client->cl_qop != qop) {
client->cl_qop = qop;
client->cl_rawcred.qop = _rpc_gss_num_to_qop(
client->cl_rawcred.mechanism, qop);
rcred->version, rcred->mechanism, rcred->qop);