Home
last modified time | relevance | path

Searched refs:oid (Results 1 – 25 of 153) sorted by relevance

1234567

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Ddelete_sec_context.c38 krb5_gss_internal_release_oid(minor_status, oid) in krb5_gss_internal_release_oid() argument
40 gss_OID *oid;
47 if ((*oid != gss_mech_krb5) &&
48 (*oid != gss_mech_krb5_old) &&
49 (*oid != gss_mech_krb5_wrong) &&
50 (*oid != gss_nt_krb5_name) &&
51 (*oid != gss_nt_krb5_principal)) {
56 *oid = GSS_C_NO_OID;
63 generic_gss_release_oid(minor_status, oid) in generic_gss_release_oid() argument
65 gss_OID *oid;
[all …]
H A Dser_sctx.c63 gss_OID oid = (gss_OID) arg; local
69 err = krb5_ser_pack_int32((krb5_int32) oid->length,
73 err = krb5_ser_pack_bytes((krb5_octet *) oid->elements,
74 oid->length, buffer, lenremain);
89 gss_OID oid; local
104 oid = (gss_OID) MALLOC(sizeof(gss_OID_desc));
105 if (oid == NULL)
108 FREE(oid, sizeof(gss_OID_desc));
111 oid->length = ibuf;
112 oid->elements = MALLOC(ibuf);
[all …]
H A Dimport_sec_context.c48 gss_OID krb5_gss_convert_static_mech_oid(oid) in krb5_gss_convert_static_mech_oid() argument
49 gss_OID oid; in krb5_gss_convert_static_mech_oid()
55 if ((oid->length == p->length) &&
56 (memcmp(oid->elements, p->elements, p->length) == 0)) {
57 (void) KGSS_RELEASE_OID(&minor_status, &oid);
61 return oid;
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Doid_ops.c44 generic_gss_release_oid(minor_status, oid) in generic_gss_release_oid() argument
46 gss_OID *oid;
51 if (oid == NULL || *oid == GSS_C_NO_OID)
71 if ((*oid != GSS_C_NT_USER_NAME) &&
72 (*oid != GSS_C_NT_MACHINE_UID_NAME) &&
73 (*oid != GSS_C_NT_STRING_UID_NAME) &&
74 (*oid != GSS_C_NT_HOSTBASED_SERVICE) &&
75 (*oid != GSS_C_NT_ANONYMOUS) &&
76 (*oid != GSS_C_NT_EXPORT_NAME) &&
77 (*oid != gss_nt_service_name)) {
[all …]
H A Drel_oid.c42 krb5_gss_release_oid(minor_status, oid) in krb5_gss_release_oid() argument
44 gss_OID *oid;
55 if (krb5_gss_internal_release_oid(minor_status, oid) != GSS_S_COMPLETE) {
57 return(generic_gss_release_oid(minor_status, oid));
60 *oid = GSS_C_NO_OID;
67 krb5_gss_internal_release_oid(minor_status, oid) in krb5_gss_internal_release_oid() argument
69 gss_OID *oid;
76 if ((*oid != gss_mech_krb5) &&
77 (*oid != gss_mech_krb5_old) &&
78 (*oid != gss_mech_krb5_wrong) &&
[all …]
/titanic_41/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi-plugin.h79 MP_OID oid,
88 MP_OID oid,
97 MP_OID oid,
102 MP_OID oid,
107 MP_OID oid,
112 MP_OID oid,
117 MP_OID oid,
122 MP_OID oid,
127 MP_OID oid,
136 MP_OID oid,
[all …]
H A Dmpapi.c145 static int is_zero_oid(MP_OID oid) in is_zero_oid() argument
148 if ((oid.objectType != MP_OBJECT_TYPE_UNKNOWN) || (oid.ownerId != 0) || in is_zero_oid()
149 (oid.objectSequenceNumber != 0)) { in is_zero_oid()
592 MP_OID oid, in MP_GetObjectType() argument
600 if ((status = validate_object(oid, 0, MP_OBJECT_TYPE_ANY)) in MP_GetObjectType()
605 *pObjectType = oid.objectType; in MP_GetObjectType()
649 MP_OID oid, in MP_GetDeviceProductOidList() argument
659 if ((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN, in MP_GetDeviceProductOidList()
666 index = oid.ownerId - 1; in MP_GetDeviceProductOidList()
723 MP_OID oid, in MP_GetDeviceProductProperties() argument
[all …]
H A Dmpapi.h964 MP_OID oid,
1004 MP_OID oid,
1038 MP_OID oid,
1083 MP_OID oid,
1126 MP_OID oid,
1170 MP_OID oid,
1207 MP_OID oid,
1250 MP_OID oid,
1287 MP_OID oid,
1333 MP_OID oid,
[all …]
/titanic_41/usr/src/lib/libgss/
H A Doid_ops.c52 generic_gss_release_oid(minor_status, oid) in generic_gss_release_oid() argument
54 gss_OID *oid;
59 if (oid == NULL || *oid == GSS_C_NO_OID)
79 if ((*oid != GSS_C_NT_USER_NAME) &&
80 (*oid != GSS_C_NT_MACHINE_UID_NAME) &&
81 (*oid != GSS_C_NT_STRING_UID_NAME) &&
82 (*oid != GSS_C_NT_HOSTBASED_SERVICE) &&
83 (*oid != GSS_C_NT_ANONYMOUS) &&
84 (*oid != GSS_C_NT_EXPORT_NAME) &&
85 (*oid != gss_nt_service_name)) {
[all …]
H A Dg_initialize.c123 gss_release_oid(minor_status, oid) in gss_release_oid() argument
125 gss_OID *oid;
154 minor_status, oid);
162 return (generic_gss_release_oid(minor_status, oid));
370 __gss_get_modOptions(oid) in __gss_get_modOptions() argument
371 const gss_OID oid; in __gss_get_modOptions()
382 if ((aMech = searchMechList(oid)) == NULL ||
405 __gss_get_kmodName(oid) in __gss_get_kmodName() argument
406 const gss_OID oid; in __gss_get_kmodName()
417 if ((aMech = searchMechList(oid)) == NULL || aMech->kmodName == NULL) {
[all …]
H A Dg_oid_ops.c79 gss_oid_to_str(minor_status, oid, oid_str) in gss_oid_to_str() argument
81 const gss_OID oid;
84 OM_uint32 status = generic_gss_oid_to_str(minor_status, oid, oid_str);
91 gss_str_to_oid(minor_status, oid_str, oid) in gss_str_to_oid() argument
94 gss_OID *oid;
96 OM_uint32 status = generic_gss_str_to_oid(minor_status, oid_str, oid);
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dses_sen.c121 int err, i, oid, baseid, tmp; in sen_rdstat() local
163 oid = 0; in sen_rdstat()
177 ssc->ses_objmap[oid].encstat[1] = baseid + i - SDRVOFF; in sen_rdstat()
178 ssc->ses_objmap[oid].encstat[2] = 0; in sen_rdstat()
183 ssc->ses_objmap[oid].encstat[0] = SESSTAT_OK; in sen_rdstat()
185 ssc->ses_objmap[oid].encstat[0] = SESSTAT_NOTINSTALLED; in sen_rdstat()
192 ssc->ses_objmap[oid].encstat[0] = SESSTAT_CRIT; in sen_rdstat()
193 ssc->ses_objmap[oid].encstat[3] = 0x40; in sen_rdstat()
196 ssc->ses_objmap[oid].encstat[3] = 0x0; in sen_rdstat()
198 ssc->ses_objmap[oid++].svalid = 1; in sen_rdstat()
[all …]
H A Dses_safte.c291 int err, oid, r, i, hiwater, nitems; in safte_rdstat() local
385 oid = r = 0; in safte_rdstat()
396 ssc->ses_objmap[oid].encstat[1] = 0; /* resvd */ in safte_rdstat()
397 ssc->ses_objmap[oid].encstat[2] = 0; /* resvd */ in safte_rdstat()
401 ssc->ses_objmap[oid].encstat[0] = SESSTAT_OK; in safte_rdstat()
407 ssc->ses_objmap[oid].encstat[3] = 7; in safte_rdstat()
411 ssc->ses_objmap[oid].encstat[0] = SESSTAT_CRIT; in safte_rdstat()
415 ssc->ses_objmap[oid].encstat[3] = 0x40; in safte_rdstat()
427 ssc->ses_objmap[oid].encstat[0] = SESSTAT_NOTINSTALLED; in safte_rdstat()
428 ssc->ses_objmap[oid].encstat[3] = 0; in safte_rdstat()
[all …]
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dssh-gss.c56 gss_OID oid; member
61 static void ssh_gssapi_encode_oid_for_kex(const gss_OID oid, char **enc_name);
87 ssh_gssapi_release_oid(&(*p)->oid); in ssh_gssapi_mech_oids_to_kexnames()
116 (new_gss_enc2oid[i])->oid = in ssh_gssapi_mech_oids_to_kexnames()
157 if (mech->length == (*p)->oid->length && in ssh_gssapi_mech_oid_to_kexname()
158 memcmp(mech->elements, (*p)->oid->elements, in ssh_gssapi_mech_oid_to_kexname()
185 *mech = (*p)->oid; in ssh_gssapi_oid_of_kexname()
193 ssh_gssapi_encode_oid_for_kex(const gss_OID oid, char **enc_name) in ssh_gssapi_encode_oid_for_kex() argument
203 if (oid == GSS_C_NULL_OID || !enc_name) in ssh_gssapi_encode_oid_for_kex()
208 oidlen = oid->length; in ssh_gssapi_encode_oid_for_kex()
[all …]
/titanic_41/usr/src/lib/libima/common/
H A Dima.h1242 IMA_OID oid
1246 IMA_OID oid
1497 IMA_OID oid,
1530 IMA_OID oid,
1900 IMA_OID oid,
1986 IMA_OID oid,
2004 IMA_OID oid,
2009 IMA_OID oid,
2014 IMA_OID oid,
2019 IMA_OID oid,
[all …]
H A Dsunima-lib.c44 IMA_OID oid, in SUN_IMA_SetTunableProperties() argument
58 if ((oid.objectType != IMA_OBJECT_TYPE_LHBA) && in SUN_IMA_SetTunableProperties()
59 (oid.objectType != IMA_OBJECT_TYPE_TARGET)) { in SUN_IMA_SetTunableProperties()
67 if (plugintable[i].ownerId == oid.ownerId) { in SUN_IMA_SetTunableProperties()
76 status = PassFunc(oid, param); in SUN_IMA_SetTunableProperties()
87 IMA_OID oid, in SUN_IMA_GetTunableProperties() argument
101 if ((oid.objectType != IMA_OBJECT_TYPE_LHBA) && in SUN_IMA_GetTunableProperties()
102 (oid.objectType != IMA_OBJECT_TYPE_TARGET)) { in SUN_IMA_GetTunableProperties()
110 if (plugintable[i].ownerId == oid.ownerId) { in SUN_IMA_GetTunableProperties()
118 status = PassFunc(oid, param); in SUN_IMA_GetTunableProperties()
H A Dima-plugin.h415 IMA_OID oid,
495 IMA_OID oid,
500 IMA_OID oid,
505 IMA_OID oid,
510 IMA_OID oid,
516 IMA_OID oid,
556 IMA_OID oid,
561 IMA_OID oid,
566 IMA_OID oid,
572 IMA_OID oid,
[all …]
/titanic_41/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c159 static const oid sunIreportTrap_oid[] = in send_ireport_trap()
164 static const oid sunIreportHostname_oid[] = in send_ireport_trap()
166 static const oid sunIreportMsgid_oid[] = in send_ireport_trap()
168 static const oid sunIreportDescription_oid[] = in send_ireport_trap()
170 static const oid sunIreportTime_oid[] = in send_ireport_trap()
173 static const oid sunIreportSmfFmri_oid[] = in send_ireport_trap()
175 static const oid sunIreportSmfFromState_oid[] = in send_ireport_trap()
177 static const oid sunIreportSmfToState_oid[] = in send_ireport_trap()
179 static const oid sunIreportSmfTransitionReason_oid[] = in send_ireport_trap()
185 oid var_name[MAX_OID_LEN]; in send_ireport_trap()
[all …]
/titanic_41/usr/src/common/crypto/ecc/
H A Doid.c140 #define OD(oid,tag,desc,mech,ext) { OI(oid), tag, desc, mech, ext } argument
142 #define OD(oid,tag,desc,mech,ext) { OI(oid), tag, 0, mech, ext } argument
414 SECOID_FindOID(const SECItem *oid) in SECOID_FindOID() argument
420 if (oid->len == 8) { in SECOID_FindOID()
421 if (oid->data[6] == 0x00) { in SECOID_FindOID()
423 po = &ANSI_oids[oid->data[7]]; in SECOID_FindOID()
424 if (memcmp(oid->data, po->oid.data, 8) == 0) in SECOID_FindOID()
427 if (oid->data[6] == 0x01) { in SECOID_FindOID()
429 po = &ANSI_prime_oids[oid->data[7]]; in SECOID_FindOID()
430 if (memcmp(oid->data, po->oid.data, 8) == 0) in SECOID_FindOID()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Doid.c51 __OID_nel(const gss_OID_desc * const oid) in __OID_nel() argument
54 unsigned char *p = (unsigned char *)oid->elements; in __OID_nel()
55 unsigned char *e = p + oid->length; in __OID_nel()
95 gss_OID oid = New(gss_OID_desc, 1); in __OID_copy() local
101 if (oid == NULL) in __OID_copy()
105 if (__OID_copy_desc(oid, source) != DH_SUCCESS) { in __OID_copy()
106 Free(oid); in __OID_copy()
111 *dest = oid; in __OID_copy()
227 __OID_to_OID_set(gss_OID_set *set, const gss_OID_desc * const oid) in __OID_to_OID_set() argument
242 if (rc = __OID_copy(&s->elements, oid)) { in __OID_to_OID_set()
/titanic_41/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetAssociatedPathOidList.c40 static MP_STATUS doDevInfoStuffForIntPort(MP_OID oid) in doDevInfoStuffForIntPort() argument
74 oidInstNum = (int)MP_GET_INST_FROM_ID(oid.objectSequenceNumber); in doDevInfoStuffForIntPort()
75 oidMajorNum = (int)MP_GET_MAJOR_FROM_ID(oid.objectSequenceNumber); in doDevInfoStuffForIntPort()
197 static MP_STATUS doDevInfoStuffForTargetPort(MP_OID oid) in doDevInfoStuffForTargetPort() argument
231 oid.objectSequenceNumber); in doDevInfoStuffForTargetPort()
237 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in doDevInfoStuffForTargetPort()
238 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in doDevInfoStuffForTargetPort()
384 MP_GetAssociatedPathOidList(MP_OID oid, MP_OID_LIST **ppList) in MP_GetAssociatedPathOidList() argument
407 oid.objectSequenceNumber); in MP_GetAssociatedPathOidList()
417 if (MP_OBJECT_TYPE_INITIATOR_PORT == oid.objectType) { in MP_GetAssociatedPathOidList()
[all …]
H A DMP_GetTargetPortGroupProperties.c38 MP_GetTargetPortGroupProperties(MP_OID oid, in MP_GetTargetPortGroupProperties() argument
47 mpStatus = getTargetPortGroupProperties(oid, pProps); in MP_GetTargetPortGroupProperties()
57 getTargetPortGroupProperties(MP_OID oid, in getTargetPortGroupProperties() argument
80 oid.objectSequenceNumber); in getTargetPortGroupProperties()
87 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in getTargetPortGroupProperties()
88 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in getTargetPortGroupProperties()
H A DMP_GetAssociatedTPGOidList.c33 MP_GetAssociatedTPGOidList(MP_OID oid, MP_OID_LIST **ppList) in MP_GetAssociatedTPGOidList() argument
41 mpStatus = getAssociatedTPGOidList(oid, ppList); in MP_GetAssociatedTPGOidList()
51 getAssociatedTPGOidList(MP_OID oid, MP_OID_LIST **ppList) in getAssociatedTPGOidList() argument
69 oid.objectSequenceNumber); in getAssociatedTPGOidList()
90 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in getAssociatedTPGOidList()
91 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in getAssociatedTPGOidList()
196 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in getAssociatedTPGOidList()
197 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in getAssociatedTPGOidList()
/titanic_41/usr/src/cmd/ssh/include/
H A Dssh-gss.h115 int ssh_gssapi_is_spnego(gss_OID oid);
116 int ssh_gssapi_is_krb5(gss_OID oid);
117 int ssh_gssapi_is_gsi(gss_OID oid);
118 int ssh_gssapi_is_dh(gss_OID oid);
157 const char *ssh_gssapi_oid_to_name(gss_OID oid);
158 char *ssh_gssapi_oid_to_str(gss_OID oid);
159 gss_OID ssh_gssapi_dup_oid(gss_OID oid);
165 void ssh_gssapi_release_oid(gss_OID *oid);
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c594 oid_list[count] = (uint64_t)ilist->item->oid.raw_oid; in vhci_get_dev_prod_list()
627 uint64_t *oid = (uint64_t *)(input_data); in vhci_get_dev_prod_prop() local
636 while ((ilist != NULL) && (*oid != ilist->item->oid.raw_oid)) { in vhci_get_dev_prod_prop()
681 oid_list[count] = (uint64_t)(ilist->item->oid.raw_oid); in vhci_get_lu_list()
720 uint64_t *oid = (uint64_t *)(input_data); in vhci_get_lu_list_from_tpg() local
728 while ((ilist != NULL) && (*oid != ilist->item->oid.raw_oid)) in vhci_get_lu_list_from_tpg()
736 } else if (*oid == ilist->item->oid.raw_oid) { in vhci_get_lu_list_from_tpg()
753 item->oid.raw_oid; in vhci_get_lu_list_from_tpg()
793 uint64_t *oid = (uint64_t *)(input_data); in vhci_get_tpg_list_for_lu() local
800 while ((ilist != NULL) && (*oid != ilist->item->oid.raw_oid)) in vhci_get_tpg_list_for_lu()
[all …]

1234567