Home
last modified time | relevance | path

Searched refs:oid (Results 1 - 25 of 380) sorted by relevance

12345678910>>...16

/third_party/lwip/src/apps/snmp/
H A Dsnmp_core.c247 * 'device enterprise oid' is used for 'device OID' field in trap PDU's (for identification of generating device)
249 * The 'device enterprise oid' shall point to an OID located under 'private-enterprises' branch (1.3.6.1.4.1.XXX). If a vendor
250 * wants to provide a custom object there, he has to get its own enterprise oid from IANA (http://www.iana.org). It
253 * enterprise oid.
255 * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a)
256 * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b)
271 * Get 'device enterprise oid'
281 * Conversion from InetAddressIPv4 oid to lwIP ip4_addr
282 * @param oid points to u32_t ident[4] input
286 snmp_oid_to_ip4(const u32_t *oid, ip4_addr_ argument
306 snmp_ip4_to_oid(const ip4_addr_t *ip, u32_t *oid) snmp_ip4_to_oid() argument
322 snmp_oid_to_ip6(const u32_t *oid, ip6_addr_t *ip) snmp_oid_to_ip6() argument
357 snmp_ip6_to_oid(const ip6_addr_t *ip, u32_t *oid) snmp_ip6_to_oid() argument
387 snmp_ip_port_to_oid(const ip_addr_t *ip, u16_t port, u32_t *oid) snmp_ip_port_to_oid() argument
405 snmp_ip_to_oid(const ip_addr_t *ip, u32_t *oid) snmp_ip_to_oid() argument
415 snmp_ip6_to_oid(ip_2_ip6(ip), &oid[2]); snmp_ip_to_oid() local
424 snmp_ip4_to_oid(ip_2_ip4(ip), &oid[2]); snmp_ip_to_oid() local
440 snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip) snmp_oid_to_ip() argument
516 snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port) snmp_oid_to_ip_port() argument
548 snmp_oid_assign(struct snmp_obj_id *target, const u32_t *oid, u8_t oid_len) snmp_oid_assign() argument
566 snmp_oid_prefix(struct snmp_obj_id *target, const u32_t *oid, u8_t oid_len) snmp_oid_prefix() argument
604 snmp_oid_append(struct snmp_obj_id *target, const u32_t *oid, u8_t oid_len) snmp_oid_append() argument
681 snmp_get_mib_from_oid(const u32_t *oid, u8_t oid_len) snmp_get_mib_from_oid() argument
726 snmp_get_next_mib(const u32_t *oid, u8_t oid_len) snmp_get_next_mib() argument
771 snmp_get_node_instance_from_oid(const u32_t *oid, u8_t oid_len, struct snmp_node_instance *node_instance) snmp_get_node_instance_from_oid() argument
811 snmp_get_next_node_instance_from_oid(const u32_t *oid, u8_t oid_len, snmp_validate_node_instance_method validate_node_instance_method, void *validate_node_instance_arg, struct snmp_obj_id *node_oid, struct snmp_node_instance *node_instance) snmp_get_next_node_instance_from_oid() argument
983 snmp_mib_tree_resolve_exact(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, u8_t *oid_instance_len) snmp_mib_tree_resolve_exact() argument
1017 snmp_mib_tree_resolve_next(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, struct snmp_obj_id *oidret) snmp_mib_tree_resolve_next() argument
1129 snmp_next_oid_precheck(struct snmp_next_oid_state *state, const u32_t *oid, u8_t oid_len) snmp_next_oid_precheck() argument
1149 snmp_next_oid_check(struct snmp_next_oid_state *state, const u32_t *oid, u8_t oid_len, void *reference) snmp_next_oid_check() argument
[all...]
H A Dsnmp_asn1.c201 * @param oid points to object identifier array
206 snmp_asn1_enc_oid(struct snmp_pbuf_stream *pbuf_stream, const u32_t *oid, u16_t oid_len) in snmp_asn1_enc_oid() argument
210 u32_t compressed_byte = ((oid[0] * 40) + oid[1]); in snmp_asn1_enc_oid()
213 oid += 2; in snmp_asn1_enc_oid()
225 sub_id = *oid; in snmp_asn1_enc_oid()
241 oid++; in snmp_asn1_enc_oid()
318 * @param oid points to object identifier array
323 snmp_asn1_enc_oid_cnt(const u32_t *oid, u16_t oid_len, u16_t *octets_needed) in snmp_asn1_enc_oid_cnt() argument
332 oid in snmp_asn1_enc_oid_cnt()
498 snmp_asn1_dec_oid(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *oid, u8_t *oid_len, u8_t oid_max_len) snmp_asn1_dec_oid() argument
[all...]
H A Dsnmp_mib2_system.c50 #define CREATE_LWIP_SYNC_NODE(oid, node_name) \
51 static const struct snmp_threadsync_node node_name ## _synced = SNMP_CREATE_THREAD_SYNC_NODE(oid, &node_name.node, &snmp_mib2_lwip_locks);
54 #define CREATE_LWIP_SYNC_NODE(oid, node_name)
236 switch (node->oid) { in system_get_value()
265 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("system_get_value(): unknown id: %"S32_F"\n", node->oid)); in system_get_value()
289 switch (node->oid) { in system_set_test()
303 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("system_set_test(): unknown id: %"S32_F"\n", node->oid)); in system_set_test()
332 switch (node->oid) { in system_set_value()
346 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("system_set_value(): unknown id: %"S32_F"\n", node->oid)); in system_set_value()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
H A Dx509v3.c207 if (asn1_get_oid(pos, end - pos, &id->oid, &pos)) in x509_parse_algorithm_identifier()
290 struct asn1_oid oid; in x509_parse_name() local
342 if (asn1_get_oid(seq_pos, seq_end - seq_pos, &oid, &seq_pos)) { in x509_parse_name()
371 if (oid.len == 4 && in x509_parse_name()
372 oid.oid[0] == 2 && oid.oid[1] == 5 && oid.oid[ in x509_parse_name()
746 x509_id_ce_oid(struct asn1_oid *oid) x509_id_ce_oid() argument
756 x509_any_ext_key_usage_oid(struct asn1_oid *oid) x509_any_ext_key_usage_oid() argument
1097 x509_id_cert_policy_any_oid(struct asn1_oid *oid) x509_id_cert_policy_any_oid() argument
1108 x509_id_wfa_oid(struct asn1_oid *oid) x509_id_wfa_oid() argument
1121 x509_id_wfa_tod_oid(struct asn1_oid *oid) x509_id_wfa_tod_oid() argument
1130 x509_id_wfa_tod_strict_oid(struct asn1_oid *oid) x509_id_wfa_tod_strict_oid() argument
1138 x509_id_wfa_tod_tofu_oid(struct asn1_oid *oid) x509_id_wfa_tod_tofu_oid() argument
1177 struct asn1_oid oid; x509_parse_ext_certificate_policies() local
1221 x509_id_pkix_oid(struct asn1_oid *oid) x509_id_pkix_oid() argument
1234 x509_id_kp_oid(struct asn1_oid *oid) x509_id_kp_oid() argument
1243 x509_id_kp_server_auth_oid(struct asn1_oid *oid) x509_id_kp_server_auth_oid() argument
1252 x509_id_kp_client_auth_oid(struct asn1_oid *oid) x509_id_kp_client_auth_oid() argument
1261 x509_id_kp_ocsp_oid(struct asn1_oid *oid) x509_id_kp_ocsp_oid() argument
1275 struct asn1_oid oid; x509_parse_ext_ext_key_usage() local
1324 x509_parse_extension_data(struct x509_certificate *cert, struct asn1_oid *oid, const u8 *pos, size_t len) x509_parse_extension_data() argument
1360 struct asn1_oid oid; x509_parse_extension() local
1645 x509_rsadsi_oid(struct asn1_oid *oid) x509_rsadsi_oid() argument
1655 x509_pkcs_oid(struct asn1_oid *oid) x509_pkcs_oid() argument
1663 x509_digest_oid(struct asn1_oid *oid) x509_digest_oid() argument
1671 x509_sha1_oid(struct asn1_oid *oid) x509_sha1_oid() argument
1683 x509_sha2_oid(struct asn1_oid *oid) x509_sha2_oid() argument
1697 x509_sha256_oid(struct asn1_oid *oid) x509_sha256_oid() argument
1704 x509_sha384_oid(struct asn1_oid *oid) x509_sha384_oid() argument
1711 x509_sha512_oid(struct asn1_oid *oid) x509_sha512_oid() argument
1847 struct asn1_oid oid; x509_check_signature() local
[all...]
H A Dtlsv1_cred.c335 static int oid_is_rsadsi(struct asn1_oid *oid) in oid_is_rsadsi() argument
337 return oid->len >= 4 && in oid_is_rsadsi()
338 oid->oid[0] == 1 /* iso */ && in oid_is_rsadsi()
339 oid->oid[1] == 2 /* member-body */ && in oid_is_rsadsi()
340 oid->oid[2] == 840 /* us */ && in oid_is_rsadsi()
341 oid->oid[ in oid_is_rsadsi()
345 pkcs12_is_bagtype_oid(struct asn1_oid *oid, unsigned long type) pkcs12_is_bagtype_oid() argument
357 is_oid_pkcs7(struct asn1_oid *oid) is_oid_pkcs7() argument
369 is_oid_pkcs7_data(struct asn1_oid *oid) is_oid_pkcs7_data() argument
375 is_oid_pkcs7_enc_data(struct asn1_oid *oid) is_oid_pkcs7_enc_data() argument
381 is_oid_pkcs9(struct asn1_oid *oid) is_oid_pkcs9() argument
393 is_oid_pkcs9_friendly_name(struct asn1_oid *oid) is_oid_pkcs9_friendly_name() argument
400 is_oid_pkcs9_local_key_id(struct asn1_oid *oid) is_oid_pkcs9_local_key_id() argument
407 is_oid_pkcs9_x509_cert(struct asn1_oid *oid) is_oid_pkcs9_x509_cert() argument
447 struct asn1_oid oid; pkcs12_certbag() local
610 struct asn1_oid oid; pkcs12_safebag() local
742 struct asn1_oid oid; pkcs12_parse_content_enc_data() local
849 struct asn1_oid oid; pkcs12_parse_content() local
889 struct asn1_oid oid; pkcs12_parse() local
[all...]
H A Dasn1.c16 .oid = { 1, 3, 14, 3, 2, 26 },
21 .oid = { 2, 16, 840, 1, 101, 3, 4, 2, 1 },
26 .oid = { 1, 2, 840, 10045, 2, 1 },
31 .oid = { 1, 2, 840, 10045, 3, 1, 7 },
36 .oid = { 1, 3, 132, 0, 34 },
41 .oid = { 1, 3, 132, 0, 35 },
46 .oid = { 1, 3, 36, 3, 3, 2, 8, 1, 1, 7 },
51 .oid = { 1, 3, 36, 3, 3, 2, 8, 1, 1, 11 },
56 .oid = { 1, 3, 36, 3, 3, 2, 8, 1, 1, 13 },
61 .oid
290 asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) asn1_parse_oid() argument
334 asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next) asn1_get_oid() argument
351 asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) asn1_oid_to_str() argument
480 asn1_get_alg_id(const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **params, size_t *params_len, const u8 **next) asn1_get_alg_id() argument
547 asn1_put_oid(struct wpabuf *buf, const struct asn1_oid *oid) asn1_put_oid() argument
612 asn1_build_alg_id(const struct asn1_oid *oid, const struct wpabuf *params) asn1_build_alg_id() argument
[all...]
H A Dpkcs5.c38 static int oid_is_rsadsi(struct asn1_oid *oid) in oid_is_rsadsi() argument
40 return oid->len >= 4 && in oid_is_rsadsi()
41 oid->oid[0] == 1 /* iso */ && in oid_is_rsadsi()
42 oid->oid[1] == 2 /* member-body */ && in oid_is_rsadsi()
43 oid->oid[2] == 840 /* us */ && in oid_is_rsadsi()
44 oid->oid[ in oid_is_rsadsi()
48 pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) pkcs5_is_oid() argument
58 enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) enc_alg_is_oid() argument
67 pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) pkcs12_is_pbe_oid() argument
78 pkcs5_get_alg(struct asn1_oid *oid) pkcs5_get_alg() argument
95 struct asn1_oid oid; pkcs5_get_params_pbes2() local
266 struct asn1_oid oid; pkcs5_get_params() local
[all...]
H A Dpkcs8.c24 struct asn1_oid oid; in pkcs8_key_import() local
72 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { in pkcs8_key_import()
78 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs8_key_import()
81 if (oid.len != 7 || in pkcs8_key_import()
82 oid.oid[0] != 1 /* iso */ || in pkcs8_key_import()
83 oid.oid[1] != 2 /* member-body */ || in pkcs8_key_import()
84 oid.oid[ in pkcs8_key_import()
[all...]
H A Dtlsv1_client_ocsp.c34 static int is_oid_basic_ocsp_resp(struct asn1_oid *oid) in is_oid_basic_ocsp_resp() argument
36 return oid->len == 10 && in is_oid_basic_ocsp_resp()
37 oid->oid[0] == 1 /* iso */ && in is_oid_basic_ocsp_resp()
38 oid->oid[1] == 3 /* identified-organization */ && in is_oid_basic_ocsp_resp()
39 oid->oid[2] == 6 /* dod */ && in is_oid_basic_ocsp_resp()
40 oid->oid[ in is_oid_basic_ocsp_resp()
654 struct asn1_oid oid; tls_process_ocsp_response() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
H A Dx509v3.c210 if (asn1_get_oid(pos, end - pos, &id->oid, &pos)) in x509_parse_algorithm_identifier()
296 struct asn1_oid oid; in x509_parse_name() local
355 if (asn1_get_oid(seq_pos, seq_end - seq_pos, &oid, &seq_pos)) { in x509_parse_name()
377 if (oid.len == 4 && in x509_parse_name()
378 oid.oid[0] == 2 && oid.oid[1] == 5 && oid.oid[ in x509_parse_name()
756 x509_id_ce_oid(struct asn1_oid *oid) x509_id_ce_oid() argument
766 x509_any_ext_key_usage_oid(struct asn1_oid *oid) x509_any_ext_key_usage_oid() argument
1123 x509_id_pkix_oid(struct asn1_oid *oid) x509_id_pkix_oid() argument
1136 x509_id_kp_oid(struct asn1_oid *oid) x509_id_kp_oid() argument
1145 x509_id_kp_server_auth_oid(struct asn1_oid *oid) x509_id_kp_server_auth_oid() argument
1154 x509_id_kp_client_auth_oid(struct asn1_oid *oid) x509_id_kp_client_auth_oid() argument
1163 x509_id_kp_ocsp_oid(struct asn1_oid *oid) x509_id_kp_ocsp_oid() argument
1177 struct asn1_oid oid; x509_parse_ext_ext_key_usage() local
1229 x509_parse_extension_data(struct x509_certificate *cert, struct asn1_oid *oid, const u8 *pos, size_t len) x509_parse_extension_data() argument
1264 struct asn1_oid oid; x509_parse_extension() local
1571 x509_rsadsi_oid(struct asn1_oid *oid) x509_rsadsi_oid() argument
1581 x509_pkcs_oid(struct asn1_oid *oid) x509_pkcs_oid() argument
1589 x509_digest_oid(struct asn1_oid *oid) x509_digest_oid() argument
1597 x509_sha1_oid(struct asn1_oid *oid) x509_sha1_oid() argument
1609 x509_sha2_oid(struct asn1_oid *oid) x509_sha2_oid() argument
1623 x509_sha256_oid(struct asn1_oid *oid) x509_sha256_oid() argument
1630 x509_sha384_oid(struct asn1_oid *oid) x509_sha384_oid() argument
1637 x509_sha512_oid(struct asn1_oid *oid) x509_sha512_oid() argument
1777 struct asn1_oid oid; x509_check_signature() local
[all...]
H A Dasn1.c15 .oid = { 1, 3, 14, 3, 2, 26 },
20 .oid = { 2, 16, 840, 1, 101, 3, 4, 2, 1 },
129 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) in asn1_parse_oid() argument
135 os_memset(oid, 0, sizeof(*oid)); in asn1_parse_oid()
150 if (oid->len >= ASN1_MAX_OID_LEN) { in asn1_parse_oid()
154 if (oid->len == 0) { in asn1_parse_oid()
160 oid->oid[0] = val / 40; in asn1_parse_oid()
161 if (oid in asn1_parse_oid()
173 asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next) asn1_get_oid() argument
193 asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) asn1_oid_to_str() argument
[all...]
H A Dtlsv1_cred.c335 static int oid_is_rsadsi(struct asn1_oid *oid) in oid_is_rsadsi() argument
337 return oid->len >= 4 && in oid_is_rsadsi()
338 oid->oid[0] == 1 /* iso */ && in oid_is_rsadsi()
339 oid->oid[1] == 2 /* member-body */ && in oid_is_rsadsi()
340 oid->oid[2] == 840 /* us */ && in oid_is_rsadsi()
341 oid->oid[ in oid_is_rsadsi()
345 pkcs12_is_bagtype_oid(struct asn1_oid *oid, unsigned long type) pkcs12_is_bagtype_oid() argument
357 is_oid_pkcs7(struct asn1_oid *oid) is_oid_pkcs7() argument
369 is_oid_pkcs7_data(struct asn1_oid *oid) is_oid_pkcs7_data() argument
375 is_oid_pkcs7_enc_data(struct asn1_oid *oid) is_oid_pkcs7_enc_data() argument
381 is_oid_pkcs9(struct asn1_oid *oid) is_oid_pkcs9() argument
393 is_oid_pkcs9_friendly_name(struct asn1_oid *oid) is_oid_pkcs9_friendly_name() argument
400 is_oid_pkcs9_local_key_id(struct asn1_oid *oid) is_oid_pkcs9_local_key_id() argument
407 is_oid_pkcs9_x509_cert(struct asn1_oid *oid) is_oid_pkcs9_x509_cert() argument
447 struct asn1_oid oid; pkcs12_certbag() local
626 struct asn1_oid oid; pkcs12_safebag() local
772 struct asn1_oid oid; pkcs12_parse_content_enc_data() local
888 struct asn1_oid oid; pkcs12_parse_content() local
930 struct asn1_oid oid; pkcs12_parse() local
[all...]
H A Dpkcs5.c38 static int oid_is_rsadsi(struct asn1_oid *oid) in oid_is_rsadsi() argument
40 return oid->len >= 4 && in oid_is_rsadsi()
41 oid->oid[0] == 1 /* iso */ && in oid_is_rsadsi()
42 oid->oid[1] == 2 /* member-body */ && in oid_is_rsadsi()
43 oid->oid[2] == 840 /* us */ && in oid_is_rsadsi()
44 oid->oid[ in oid_is_rsadsi()
48 pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) pkcs5_is_oid() argument
58 enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) enc_alg_is_oid() argument
67 pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) pkcs12_is_pbe_oid() argument
78 pkcs5_get_alg(struct asn1_oid *oid) pkcs5_get_alg() argument
95 struct asn1_oid oid; pkcs5_get_params_pbes2() local
282 struct asn1_oid oid; pkcs5_get_params() local
[all...]
H A Dpkcs8.c24 struct asn1_oid oid; in pkcs8_key_import() local
81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { in pkcs8_key_import()
87 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs8_key_import()
90 if (oid.len != 7 || in pkcs8_key_import()
91 oid.oid[0] != 1 /* iso */ || in pkcs8_key_import()
92 oid.oid[1] != 2 /* member-body */ || in pkcs8_key_import()
93 oid.oid[ in pkcs8_key_import()
[all...]
H A Dtlsv1_client_ocsp.c34 static int is_oid_basic_ocsp_resp(struct asn1_oid *oid) in is_oid_basic_ocsp_resp() argument
36 return oid->len == 10 && in is_oid_basic_ocsp_resp()
37 oid->oid[0] == 1 /* iso */ && in is_oid_basic_ocsp_resp()
38 oid->oid[1] == 3 /* identified-organization */ && in is_oid_basic_ocsp_resp()
39 oid->oid[2] == 6 /* dod */ && in is_oid_basic_ocsp_resp()
40 oid->oid[ in is_oid_basic_ocsp_resp()
685 struct asn1_oid oid; tls_process_ocsp_response() local
[all...]
/third_party/node/test/fixtures/x509-escaping/
H A Dcreate-certs.js9 const oid = {
84 type: oid.countryName,
90 type: oid.localityName,
104 type: oid.countryName,
110 type: oid.localityName,
124 type: oid.countryName,
130 type: oid.localityName,
144 type: oid.countryName,
150 type: oid.localityName,
164 type: oid
[all...]
/third_party/python/Lib/idlelib/
H A Drpc.py161 def register(self, oid, object):
162 self.objtable[oid] = object
164 def unregister(self, oid):
166 del self.objtable[oid]
173 how, (oid, methodname, args, kwargs) = request
176 if oid not in self.objtable:
177 return ("ERROR", f"Unknown object id: {oid!r}")
178 obj = self.objtable[oid]
212 print(msg % (oid, method, args), file=sys.__stderr__)
216 def remotecall(self, oid, methodnam
[all...]
H A Ddebugobj_r.py5 oid = id(wrapper)
6 rpc.objecttable[oid] = wrapper
7 return oid
26 def __init__(self, sockio, oid):
28 self.oid = oid
31 value = rpc.MethodProxy(self.sockio, self.oid, name)
35 sub_list = self.sockio.remotecall(self.oid, "_GetSubList", (), {})
36 return [StubObjectTreeItem(self.sockio, oid) for oid i
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Ddpp_backup.c114 const struct asn1_oid *oid; in dpp_build_key_alg() local
119 oid = &asn1_prime256v1_oid; in dpp_build_key_alg()
122 oid = &asn1_secp384r1_oid; in dpp_build_key_alg()
125 oid = &asn1_secp521r1_oid; in dpp_build_key_alg()
128 oid = &asn1_brainpoolP256r1_oid; in dpp_build_key_alg()
131 oid = &asn1_brainpoolP384r1_oid; in dpp_build_key_alg()
134 oid = &asn1_brainpoolP512r1_oid; in dpp_build_key_alg()
143 asn1_put_oid(params, oid); /* namedCurve */ in dpp_build_key_alg()
218 const struct asn1_oid *oid; in dpp_build_pbkdf2_alg_id() local
235 oid in dpp_build_pbkdf2_alg_id()
375 const struct asn1_oid *oid; dpp_build_enc_cont_info() local
541 struct asn1_oid oid; dpp_parse_recipient_infos() local
732 struct asn1_oid oid; dpp_parse_encrypted_content_info() local
864 struct asn1_oid oid; dpp_parse_one_asymmetric_key() local
[all...]
/third_party/mbedtls/library/
H A Dx509_create.c15 #include "mbedtls/oid.h"
29 const char *oid; /* String representation of OID of AttributeType, member
287 mbedtls_asn1_buf oid = { .p = NULL, .len = 0, .tag = MBEDTLS_ASN1_NULL }; in mbedtls_x509_string_to_names() local
301 if ((mbedtls_oid_from_numeric_string(&oid, s, (size_t) (c - s))) != 0) { in mbedtls_x509_string_to_names()
307 oid.len = strlen(attr_descr->oid); in mbedtls_x509_string_to_names()
308 oid.p = mbedtls_calloc(1, oid.len); in mbedtls_x509_string_to_names()
309 memcpy(oid.p, attr_descr->oid, oi in mbedtls_x509_string_to_names()
380 mbedtls_x509_set_extension(mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, int critical, const unsigned char *val, size_t val_len) mbedtls_x509_set_extension() argument
418 const char *oid = (const char *) cur_name->oid.p; x509_write_name() local
465 mbedtls_x509_write_sig(unsigned char **p, unsigned char *start, const char *oid, size_t oid_len, unsigned char *sig, size_t size, mbedtls_pk_type_t pk_alg) mbedtls_x509_write_sig() argument
[all...]
H A Doid.c2 * \file oid.c
14 #include "mbedtls/oid.h"
46 const mbedtls_asn1_buf *oid) \
51 if (p == NULL || oid == NULL) return NULL; \
53 if (cur->asn1_len == oid->len && \
54 memcmp(cur->asn1, oid->p, oid->len) == 0) { \
69 int FN_NAME(const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1) \
71 const TYPE_T *data = oid_ ## TYPE_NAME ## _from_asn1(oid); \
83 int FN_NAME(const mbedtls_asn1_buf *oid, ATTR1_TYP
1042 mbedtls_oid_from_numeric_string(mbedtls_asn1_buf *oid, const char *oid_str, size_t size) mbedtls_oid_from_numeric_string() argument
[all...]
H A Dasn1write.c148 const char *oid, size_t oid_len) in mbedtls_asn1_write_oid()
154 (const unsigned char *) oid, oid_len)); in mbedtls_asn1_write_oid()
159 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier()
162 return mbedtls_asn1_write_algorithm_identifier_ext(p, start, oid, oid_len, par_len, 1); in mbedtls_asn1_write_algorithm_identifier()
166 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier_ext()
180 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_oid(p, start, oid, oid_len)); in mbedtls_asn1_write_algorithm_identifier_ext()
356 const char *oid, size_t len) in asn1_find_named_data()
359 if (list->oid.len == len && in asn1_find_named_data()
360 memcmp(list->oid.p, oid, le in asn1_find_named_data()
147 mbedtls_asn1_write_oid(unsigned char **p, const unsigned char *start, const char *oid, size_t oid_len) mbedtls_asn1_write_oid() argument
158 mbedtls_asn1_write_algorithm_identifier(unsigned char **p, const unsigned char *start, const char *oid, size_t oid_len, size_t par_len) mbedtls_asn1_write_algorithm_identifier() argument
165 mbedtls_asn1_write_algorithm_identifier_ext(unsigned char **p, const unsigned char *start, const char *oid, size_t oid_len, size_t par_len, int has_par) mbedtls_asn1_write_algorithm_identifier_ext() argument
354 asn1_find_named_data( mbedtls_asn1_named_data *list, const char *oid, size_t len) asn1_find_named_data() argument
374 mbedtls_asn1_store_named_data( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, const unsigned char *val, size_t val_len) mbedtls_asn1_store_named_data() argument
[all...]
/third_party/mbedtls/include/mbedtls/
H A Doid.h2 * \file oid.h
491 * \param oid OID to translate
496 int mbedtls_oid_get_numeric_string(char *buf, size_t size, const mbedtls_asn1_buf *oid);
502 * On success, this function allocates oid->buf from the
505 * \param oid #mbedtls_asn1_buf to populate with the DER-encoded OID
513 * allocate oid->buf
515 int mbedtls_oid_from_numeric_string(mbedtls_asn1_buf *oid, const char *oid_str, size_t size);
520 * \param oid OID to use
525 int mbedtls_oid_get_x509_ext_type(const mbedtls_asn1_buf *oid, int *ext_type);
531 * \param oid OI
[all...]
/third_party/lwip/src/include/lwip/apps/
H A Dsnmp_core.h174 u32_t oid; member
201 /** prefilled with the instance id requested; for get_instance() this is the exact oid requested; for get_next_instance() this is the relative starting point, stack expects relative oid of next node here */
234 #define SNMP_CREATE_TREE_NODE(oid, subnodes) \
235 {{ SNMP_NODE_TREE, (oid) }, \
238 #define SNMP_CREATE_EMPTY_TREE_NODE(oid) \
239 {{ SNMP_NODE_TREE, (oid) }, \
251 /** represents a single mib with its base oid and root node */
294 u8_t snmp_next_oid_precheck(struct snmp_next_oid_state *state, const u32_t *oid, u8_t oid_len);
295 u8_t snmp_next_oid_check(struct snmp_next_oid_state *state, const u32_t *oid, u8_
[all...]
H A Dsnmp_scalar.h66 #define SNMP_SCALAR_CREATE_NODE(oid, access, asn1_type, get_value_method, set_test_method, set_value_method) \
67 {{{ SNMP_NODE_SCALAR, (oid) }, \
72 #define SNMP_SCALAR_CREATE_NODE_READONLY(oid, asn1_type, get_value_method) SNMP_SCALAR_CREATE_NODE(oid, SNMP_NODE_INSTANCE_READ_ONLY, asn1_type, get_value_method, NULL, NULL)
77 u32_t oid; member
101 #define SNMP_SCALAR_CREATE_ARRAY_NODE(oid, array_nodes, get_value_method, set_test_method, set_value_method) \
102 {{{ SNMP_NODE_SCALAR_ARRAY, (oid) }, \

Completed in 16 milliseconds

12345678910>>...16