Lines Matching defs:oid
140 #define OD(oid,tag,desc,mech,ext) { OI(oid), tag, desc, mech, ext }
142 #define OD(oid,tag,desc,mech,ext) { OI(oid), tag, 0, mech, ext }
414 SECOID_FindOID(const SECItem *oid)
420 if (oid->len == 8) {
421 if (oid->data[6] == 0x00) {
423 po = &ANSI_oids[oid->data[7]];
424 if (memcmp(oid->data, po->oid.data, 8) == 0)
427 if (oid->data[6] == 0x01) {
429 po = &ANSI_prime_oids[oid->data[7]];
430 if (memcmp(oid->data, po->oid.data, 8) == 0)
433 } else if (oid->len == 5) {
435 po = &SECG_oids[oid->data[4]];
436 if (memcmp(oid->data, po->oid.data, 5) == 0)
445 SECOID_FindOIDTag(const SECItem *oid)
449 oiddata = SECOID_FindOID (oid);