Home
last modified time | relevance | path

Searched refs:oid_len (Results 1 - 17 of 17) sorted by relevance

/third_party/lwip/src/apps/snmp/
H A Dsnmp_core.c435 * @param oid_len OID length
440 snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip) in snmp_oid_to_ip() argument
443 if (oid_len < 1) { in snmp_oid_to_ip()
449 if (oid_len < 2) { in snmp_oid_to_ip()
463 if (oid_len < 6) { in snmp_oid_to_ip()
484 if (oid_len < 18) { in snmp_oid_to_ip()
510 * @param oid_len OID length
516 snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port) in snmp_oid_to_ip_port() argument
521 idx = snmp_oid_to_ip(&oid[0], oid_len, ip); in snmp_oid_to_ip_port()
527 if (oid_len < (id in snmp_oid_to_ip_port()
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
1175 snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range *oid_ranges, u8_t oid_ranges_len) snmp_oid_in_range() argument
[all...]
H A Dsnmp_asn1.c202 * @param oid_len object identifier array length
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
208 if (oid_len > 1) { in snmp_asn1_enc_oid()
212 oid_len -= 2; in snmp_asn1_enc_oid()
220 while (oid_len > 0) { in snmp_asn1_enc_oid()
224 oid_len--; in snmp_asn1_enc_oid()
319 * @param oid_len object identifier array length
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
328 if (oid_len > 1) { in snmp_asn1_enc_oid_cnt()
331 oid_len 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_core_priv.h69 const struct snmp_node *snmp_mib_tree_resolve_exact(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, u8_t *oid_instance_len);
70 const struct snmp_node *snmp_mib_tree_resolve_next(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, struct snmp_obj_id *oidret);
74 u8_t snmp_get_node_instance_from_oid(const u32_t *oid, u8_t oid_len, struct snmp_node_instance *node_instance);
75 u8_t 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);
H A Dsnmp_asn1.h87 err_t 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);
95 void snmp_asn1_enc_oid_cnt(const u32_t *oid, u16_t oid_len, u16_t *octets_needed);
96 err_t snmp_asn1_enc_oid(struct snmp_pbuf_stream *pbuf_stream, const u32_t *oid, u16_t oid_len);
/third_party/mbedtls/library/
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()
376 const char *oid, size_t oid_len, in mbedtls_asn1_store_named_data()
382 if ((cur = asn1_find_named_data(*head, oid, oid_len)) == NULL) { in mbedtls_asn1_store_named_data()
391 cur->oid.len = oid_len; in mbedtls_asn1_store_named_data()
392 cur->oid.p = mbedtls_calloc(1, oid_len); in mbedtls_asn1_store_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
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...]
H A Dpkwrite.c228 size_t oid_len; in pk_write_ec_param() local
230 if ((ret = mbedtls_oid_get_oid_by_ec_grp(grp_id, &oid, &oid_len)) != 0) { in pk_write_ec_param()
234 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_oid(p, start, oid, oid_len)); in pk_write_ec_param()
260 size_t oid_len = 0; in pk_write_ec_rfc8410_der() local
271 if ((ret = mbedtls_oid_get_oid_by_ec_grp_algid(grp_id, &oid, &oid_len)) != 0) { in pk_write_ec_rfc8410_der()
275 mbedtls_asn1_write_algorithm_identifier_ext(p, buf, oid, oid_len, 0, 0)); in pk_write_ec_rfc8410_der()
442 size_t len = 0, par_len = 0, oid_len = 0; in mbedtls_pk_write_pubkey_der() local
475 ret = mbedtls_oid_get_oid_by_ec_grp_algid(ec_grp_id, &oid, &oid_len); in mbedtls_pk_write_pubkey_der()
486 /* At this point oid_len is not null only for EC Montgomery keys. */ in mbedtls_pk_write_pubkey_der()
487 if (oid_len in mbedtls_pk_write_pubkey_der()
[all...]
H A Dx509_create.c380 int mbedtls_x509_set_extension(mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument
389 if ((cur = mbedtls_asn1_store_named_data(head, oid, oid_len, in mbedtls_x509_set_extension()
419 size_t oid_len = cur_name->oid.len; in x509_write_name() local
431 oid_len)); in x509_write_name()
466 const char *oid, size_t oid_len, in mbedtls_x509_write_sig()
505 mbedtls_asn1_write_algorithm_identifier_ext(p, start, oid, oid_len, in mbedtls_x509_write_sig()
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
H A Dx509_internal.h51 int mbedtls_x509_set_extension(mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
59 const char *oid, size_t oid_len,
H A Dx509write_csr.c69 const char *oid, size_t oid_len, in mbedtls_x509write_csr_set_extension()
73 return mbedtls_x509_set_extension(&ctx->extensions, oid, oid_len, in mbedtls_x509write_csr_set_extension()
68 mbedtls_x509write_csr_set_extension(mbedtls_x509write_csr *ctx, const char *oid, size_t oid_len, int critical, const unsigned char *val, size_t val_len) mbedtls_x509write_csr_set_extension() argument
H A Dx509write_crt.c153 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension()
157 return mbedtls_x509_set_extension(&ctx->extensions, oid, oid_len, in mbedtls_x509write_crt_set_extension()
152 mbedtls_x509write_crt_set_extension(mbedtls_x509write_cert *ctx, const char *oid, size_t oid_len, int critical, const unsigned char *val, size_t val_len) mbedtls_x509write_crt_set_extension() argument
/third_party/mbedtls/include/mbedtls/
H A Dasn1write.h130 * \param oid_len The length of the OID.
136 const char *oid, size_t oid_len);
146 * \param oid_len The length of the algorithm's OID.
155 const char *oid, size_t oid_len,
166 * \param oid_len The length of the algorithm's OID.
176 const char *oid, size_t oid_len,
367 * \param oid_len The size of the OID.
380 const char *oid, size_t oid_len,
H A Dx509_csr.h314 * \param oid_len length of the OID
322 const char *oid, size_t oid_len,
H A Dx509_crt.h1067 * \param oid_len length of the OID
1075 const char *oid, size_t oid_len,
/third_party/lwip/src/include/lwip/apps/
H A Dsnmp_core.h269 u8_t snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range *oid_ranges, u8_t oid_ranges_len);
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_t oid_len, void* reference);
297 void snmp_oid_assign(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
299 void snmp_oid_prefix(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
300 void snmp_oid_append(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
316 u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip);
317 u8_t snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port);
H A Dsnmp.h126 typedef void (*snmp_write_callback_fct)(const u32_t* oid, u8_t oid_len, void* callback_arg);
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dx942kdf.c61 size_t oid_len; member
535 ctx->cek_oid_len = kek_algs[id].oid_len; in x942kdf_set_ctx_params()
/third_party/openssl/providers/implementations/kdfs/
H A Dx942kdf.c61 size_t oid_len; member
535 ctx->cek_oid_len = kek_algs[id].oid_len; in x942kdf_set_ctx_params()

Completed in 13 milliseconds