/third_party/libcoap/src/ |
D | coap_str.c | 76 coap_binary_t * 78 return (coap_binary_t *)coap_new_string(size); in coap_new_binary() 81 coap_binary_t * 82 coap_resize_binary(coap_binary_t *s, size_t size) { in coap_resize_binary() 85 coap_binary_t *new = coap_new_binary(size); in coap_resize_binary() 93 coap_binary_t *new = coap_realloc_type(COAP_STRING, in coap_resize_binary() 95 sizeof(coap_binary_t) + size); in coap_resize_binary() 105 coap_delete_binary(coap_binary_t *s) { in coap_delete_binary()
|
D | coap_tinydtls.c | 47 coap_binary_t *priv_key; 48 coap_binary_t *pub_key; 965 static coap_binary_t * 970 coap_binary_t *decoded; in pem_base64_decode() 1023 typedef coap_binary_t *(*asn1_callback)(const uint8_t *data, size_t size); 1105 coap_binary_t *test; in asn1_derive_keys() 1148 static coap_binary_t * 1150 coap_binary_t *test; in ec_abstract_pkcs8_asn1() 1178 static coap_binary_t * 1198 coap_binary_t *asn1_priv; in coap_dtls_context_set_pki() [all …]
|
D | coap_asn1.c | 64 coap_binary_t * 72 coap_binary_t *tag_data; in get_asn1_tag()
|
D | coap_subscribe.c | 311 coap_binary_t *scratch = NULL; in coap_op_observe_read() 828 coap_binary_t **raw_packet) { in coap_op_dyn_resource_read() 893 coap_binary_t *raw_packet = NULL; in coap_op_dyn_resource_load_disk() 979 coap_binary_t *raw_packet = NULL; in coap_op_dyn_resource_added() 1054 coap_binary_t *raw_packet = NULL; in coap_op_resource_deleted()
|
D | coap_oscore.c | 44 coap_binary_t *id_context = coap_new_binary(8); in coap_oscore_initiate() 1042 coap_binary_t *kc = coap_new_binary(cose->kid_context.length + in coap_oscore_decrypt_pdu() 1342 coap_binary_t *kc = in coap_oscore_decrypt_pdu() 1398 coap_binary_t *kc = coap_new_binary(cose->kid_context.length + 8); in coap_oscore_decrypt_pdu() 1640 coap_binary_t *binary = NULL; in parse_hex_bin()
|
D | coap_gnutls.c | 998 coap_binary_t *pub_key = get_asn1_tag(COAP_ASN1_BITSTRING, data, size, NULL); in get_asn1_spki() 999 coap_binary_t *prime = get_asn1_tag(COAP_ASN1_IDENTIFIER, data, size, NULL); in get_asn1_spki() 2970 coap_binary_t *dummy = NULL; in coap_crypto_hash() 3206 coap_binary_t *dummy = NULL; in coap_crypto_hmac()
|
D | coap_block.c | 405 coap_cancel_observe(coap_session_t *session, coap_binary_t *token, in coap_cancel_observe() 3284 coap_binary_t * 3285 coap_block_build_body(coap_binary_t *body_data, size_t length, in coap_block_build_body() 3309 coap_binary_t *new = coap_resize_binary(body_data, offset + length); in coap_block_build_body()
|
D | coap_mbedtls.c | 2678 coap_binary_t *dummy = NULL; 3005 coap_binary_t *dummy = NULL;
|
D | coap_openssl.c | 3661 coap_binary_t *dummy = NULL; in coap_crypto_hash() 3905 coap_binary_t *dummy = NULL; in coap_crypto_hmac()
|
D | coap_net.c | 961 coap_binary_t *token; in coap_send_test_extended_token()
|
/third_party/libcoap/include/coap3/ |
D | coap_str.h | 56 typedef struct coap_binary_t { struct 59 } coap_binary_t; typedef 117 coap_binary_t *coap_new_binary(size_t size); 124 void coap_delete_binary(coap_binary_t *binary); 139 coap_binary_t *coap_resize_binary(coap_binary_t *binary, size_t new_size);
|
D | coap_block.h | 251 coap_binary_t *coap_block_build_body(coap_binary_t *body_data, size_t length, 438 int coap_cancel_observe(coap_session_t *session, coap_binary_t *token,
|
D | coap_block_internal.h | 93 coap_binary_t *app_token; /**< original PDU token */ 161 coap_binary_t *body_data; /**< Used for re-assembling entire body */ 162 coap_binary_t *app_token; /**< app requesting PDU token */ 189 coap_binary_t *body_data; /**< Used for re-assembling entire body */
|
D | coap_asn1_internal.h | 86 coap_binary_t *get_asn1_tag(coap_asn1_tag_t ltag, const uint8_t *ptr,
|
/third_party/libcoap/tests/ |
D | test_encode.c | 24 const coap_binary_t teststr = { 0, NULL }; in t_decode1() 35 coap_binary_t teststr = { sizeof(data), data }; in t_decode2() 46 coap_binary_t teststr = { sizeof(data), data }; in t_decode3() 57 coap_binary_t teststr = { sizeof(data), data }; in t_decode4() 67 const coap_binary_t teststr = { 0, NULL }; in t_decode5() 78 coap_binary_t teststr = { sizeof(data), data }; in t_decode6() 89 coap_binary_t teststr = { sizeof(data), data }; in t_decode7() 100 coap_binary_t teststr = { sizeof(data), data }; in t_decode8()
|
/third_party/libcoap/man/ |
D | coap_string.txt.in | 44 *coap_binary_t *coap_new_binary(size_t _size_);* 46 *void coap_delete_binary(coap_binary_t *_binary_);* 48 *coap_binary_t *coap_resize_binary(coap_binary_t *_binary_, size_t _new_size_);* 54 *int coap_binary_equal(coap_binary_t *_binary1_, coap_binary_t *_binary2_);* 91 typedef struct coap_binary_t { 94 } coap_binary_t; 144 The *coap_new_binary*() function allocates a new coap_binary_t of _size_ 156 The *coap_delete_binary*() function is used to delete the coap_binary_t 187 coap_binary_t or NULL if there was a failure. 190 coap_binary_t or NULL if there was a failure.
|
D | coap_cache.txt.in | 242 static coap_binary_t *example_data_ptr = NULL; 247 coap_binary_t *bdata = (coap_binary_t*)data; 260 coap_binary_t *token, 270 coap_binary_t *data_so_far;
|
D | coap_block.txt.in | 42 *coap_binary_t *coap_block_build_body(coap_binary_t *_body_data_,
|
D | coap_observe.txt.in | 30 *int coap_cancel_observe(coap_session_t *_session_, coap_binary_t *_token_,
|
/third_party/libcoap/examples/lwip/config/ |
D | lwippools.h | 34 coap_binary_t *priv_key; 35 coap_binary_t *pub_key;
|
/third_party/libcoap/examples/ |
D | coap-server.c | 176 coap_binary_t *value; 209 alloc_resource_data(coap_binary_t *value) { in alloc_resource_data() 244 static coap_binary_t 246 coap_binary_t body; in reference_resource_data() 471 coap_binary_t body; in hnd_get_example_data() 475 coap_binary_t *value = coap_new_binary(INITIAL_EXAMPLE_SIZE); in hnd_get_example_data() 498 coap_binary_t *bdata = (coap_binary_t *)data; in cache_free_app_data() 518 coap_binary_t *data_so_far; in hnd_put_example_data() 617 coap_binary_t body; in hnd_put_example_data() 642 coap_binary_t *token; /* Incoming token */ [all …]
|
D | coap-client.c | 59 coap_binary_t the_token = { 0, _token_data }; 62 coap_binary_t *token;
|
/third_party/libcoap/doc/ |
D | upgrade_4.2.1_4.3.0.txt | 49 coap_binary_t *token,
|