Home
last modified time | relevance | path

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

/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/
A Dsnmp_core.c424 if (oid_len < 1) { in snmp_oid_to_ip()
430 if (oid_len < 2) { in snmp_oid_to_ip()
444 if (oid_len < 6) { in snmp_oid_to_ip()
465 if (oid_len < 18) { in snmp_oid_to_ip()
508 if (oid_len < (idx+1)) { in snmp_oid_to_ip_port()
533 target->len = oid_len; in snmp_oid_assign()
535 if (oid_len > 0) { in snmp_oid_assign()
551 if (oid_len > 0) { in snmp_oid_prefix()
589 if (oid_len > 0) { in snmp_oid_append()
687 if (oid_len == 0) { in snmp_get_mib_from_oid()
[all …]
A Dsnmp_asn1.c250 if (oid_len > 1) { in snmp_asn1_enc_oid()
254 oid_len -= 2; in snmp_asn1_enc_oid()
262 while (oid_len > 0) { in snmp_asn1_enc_oid()
266 oid_len--; in snmp_asn1_enc_oid()
395 if (oid_len > 1) { in snmp_asn1_enc_oid_cnt()
398 oid_len -= 2; in snmp_asn1_enc_oid_cnt()
401 while (oid_len > 0) { in snmp_asn1_enc_oid_cnt()
402 oid_len--; in snmp_asn1_enc_oid_cnt()
646 *oid_len = 0; in snmp_asn1_dec_oid()
679 *oid_len = 2; in snmp_asn1_dec_oid()
[all …]
A Dsnmp_core_priv.h62 …ib_tree_resolve_exact(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, u8_t* oid_instan…
63 …mib_tree_resolve_next(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, struct snmp_obj_…
67 u8_t snmp_get_node_instance_from_oid(const u32_t *oid, u8_t oid_len, struct snmp_node_instance* nod…
68 u8_t snmp_get_next_node_instance_from_oid(const u32_t *oid, u8_t oid_len, snmp_validate_node_instan…
A Dsnmp_asn1.h86 err_t snmp_asn1_dec_oid(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t* oid, u8_t* oid_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);
/AliOS-Things-master/components/mbedtls/library/
A Dasn1write.c183 const char *oid, size_t oid_len ) in mbedtls_asn1_write_oid() argument
189 (const unsigned char *) oid, oid_len ) ); in mbedtls_asn1_write_oid()
197 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier() argument
208 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in mbedtls_asn1_write_algorithm_identifier()
357 const char *oid, size_t oid_len, in mbedtls_asn1_store_named_data() argument
363 if( ( cur = asn1_find_named_data( *head, oid, oid_len ) ) == NULL ) in mbedtls_asn1_store_named_data()
372 cur->oid.len = oid_len; in mbedtls_asn1_store_named_data()
373 cur->oid.p = mbedtls_calloc( 1, oid_len ); in mbedtls_asn1_store_named_data()
380 memcpy( cur->oid.p, oid, oid_len ); in mbedtls_asn1_store_named_data()
A Dx509_create.c213 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument
218 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension()
247 size_t oid_len = cur_name->oid.len; in x509_write_name() local
259 oid_len ) ); in x509_write_name()
295 const char *oid, size_t oid_len, in mbedtls_x509_write_sig() argument
320 oid_len, 0 ) ); in mbedtls_x509_write_sig()
A Dpkwrite.c144 size_t oid_len; in pk_write_ec_param() local
146 if( ( ret = mbedtls_oid_get_oid_by_ec_grp( ec->grp.id, &oid, &oid_len ) ) != 0 ) in pk_write_ec_param()
149 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in pk_write_ec_param()
185 size_t len = 0, par_len = 0, oid_len; in mbedtls_pk_write_pubkey_der() local
212 &oid, &oid_len ) ) != 0 ) in mbedtls_pk_write_pubkey_der()
224 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_algorithm_identifier( &c, buf, oid, oid_len, in mbedtls_pk_write_pubkey_der()
A Dx509write_csr.c77 const char *oid, size_t oid_len, in mbedtls_x509write_csr_set_extension() argument
80 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_csr_set_extension()
A Dx509write_crt.c126 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension() argument
130 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_crt_set_extension()
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/
A Dsnmp_core.h264 u8_t snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range *oid_ranges, …
289 u8_t snmp_next_oid_precheck(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len
290 u8_t snmp_next_oid_check(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len, v…
292 void snmp_oid_assign(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
294 void snmp_oid_prefix(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
295 void snmp_oid_append(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
311 u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip);
312 u8_t snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port);
A Dsnmp.h119 typedef void (*snmp_write_callback_fct)(const u32_t* oid, u8_t oid_len, void* callback_arg);
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/
A Dsnmp_core.h264 u8_t snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range *oid_ranges, …
289 u8_t snmp_next_oid_precheck(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len
290 u8_t snmp_next_oid_check(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len, v…
292 void snmp_oid_assign(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
294 void snmp_oid_prefix(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
295 void snmp_oid_append(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len);
311 u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip);
312 u8_t snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port);
A Dsnmp.h119 typedef void (*snmp_write_callback_fct)(const u32_t* oid, u8_t oid_len, void* callback_arg);
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dasn1write.h133 const char *oid, size_t oid_len );
152 const char *oid, size_t oid_len,
314 const char *oid, size_t oid_len,
A Dx509.h309 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
317 const char *oid, size_t oid_len,
A Dx509_csr.h236 const char *oid, size_t oid_len,
A Dx509_crt.h679 const char *oid, size_t oid_len,

Completed in 40 milliseconds