Home
last modified time | relevance | path

Searched refs:coap_binary_t (Results 1 – 20 of 20) sorted by relevance

/third_party/libcoap/src/
Dstr.c67 coap_binary_t *coap_new_binary(size_t size) { in coap_new_binary()
68 return (coap_binary_t *)coap_new_string(size); in coap_new_binary()
71 coap_binary_t *coap_resize_binary(coap_binary_t *s, size_t size) { in coap_resize_binary()
74 coap_binary_t *new = coap_new_binary(size); in coap_resize_binary()
80 coap_binary_t *new = coap_realloc_type(COAP_STRING, in coap_resize_binary()
82 sizeof(coap_binary_t) + size); in coap_resize_binary()
91 void coap_delete_binary(coap_binary_t *s) { in coap_delete_binary()
Dcoap_tinydtls.c34 coap_binary_t *priv_key;
35 coap_binary_t *pub_key;
735 static coap_binary_t *
741 coap_binary_t *decoded; in pem_base64_decode()
794 typedef coap_binary_t * (*asn1_callback)(const uint8_t *data, size_t size);
883 coap_binary_t *test; in asn1_derive_keys()
926 static coap_binary_t *
929 coap_binary_t *test; in ec_abstract_pkcs8_asn1()
957 static coap_binary_t *
979 coap_binary_t *asn1_priv; in coap_dtls_context_set_pki()
[all …]
Dcoap_asn1.c62 coap_binary_t *
71 coap_binary_t *tag_data; in get_asn1_tag()
Dresource.c687 const coap_binary_t *token) {
723 const coap_binary_t *token,
749 coap_binary_t tmp_token = { s->pdu->token_length, s->pdu->token };
804 const coap_binary_t *token) {
817 const coap_binary_t *token) {
862 coap_binary_t token;
1086 const coap_binary_t *token) {
1127 const coap_binary_t *token) {
Dblock.c279 coap_cancel_observe(coap_session_t *session, coap_binary_t *token, in coap_cancel_observe()
1558 coap_binary_t *
1559 coap_block_build_body(coap_binary_t *body_data, size_t length, in coap_block_build_body()
1585 coap_binary_t *new = coap_resize_binary(body_data, offset + length); in coap_block_build_body()
Dnet.c1390 coap_binary_t token = { 0, NULL }; in coap_retransmit()
2341 coap_binary_t token = { 0, NULL }; in coap_cancel()
2498 coap_binary_t token = { pdu->token_length, pdu->token }; in handle_request()
3020 const coap_binary_t token = in coap_dispatch()
3077 coap_binary_t token = { 0, NULL }; in coap_dispatch()
Dcoap_gnutls.c989 coap_binary_t *pub_key = get_asn1_tag(COAP_ASN1_BITSTRING, data, size, NULL); in get_asn1_spki()
990 coap_binary_t *prime = get_asn1_tag(COAP_ASN1_IDENTIFIER, data, size, NULL); in get_asn1_spki()
/third_party/libcoap/include/coap3/
Dstr.h50 typedef struct coap_binary_t { struct
53 } coap_binary_t; typedef
111 coap_binary_t *coap_new_binary(size_t size);
118 void coap_delete_binary(coap_binary_t *binary);
133 coap_binary_t *coap_resize_binary(coap_binary_t *binary, size_t new_size);
Dcoap_subscribe_internal.h72 const coap_binary_t *token);
98 const coap_binary_t *token,
112 const coap_binary_t *token);
124 const coap_binary_t *token);
139 const coap_binary_t *token);
Dcoap_block_internal.h57 coap_binary_t *app_token; /**< original PDU token */
112 coap_binary_t *body_data; /**< Used for re-assembling entire body */
113 coap_binary_t *app_token; /**< app requesting PDU token */
139 coap_binary_t *body_data; /**< Used for re-assembling entire body */
Dblock.h157 coap_binary_t *
158 coap_block_build_body(coap_binary_t *body_data, size_t length,
343 int coap_cancel_observe(coap_session_t *session, coap_binary_t *token,
Dcoap_asn1_internal.h84 coap_binary_t *get_asn1_tag(coap_asn1_tag_t ltag, const uint8_t *ptr,
/third_party/libcoap/tests/
Dtest_encode.c24 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/
Dcoap_string.txt.in44 *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;
127 The *coap_new_binary*() function allocates a new coap_binary_t of _size_
135 The *coap_delete_binary*() function is used to delete the coap_binary_t
157 coap_binary_t or NULL if there was a failure.
160 coap_binary_t or NULL if there was a failure.
Dcoap_cache.txt.in206 static coap_binary_t *example_data_ptr = NULL;
211 coap_binary_t *bdata = (coap_binary_t*)data;
224 coap_binary_t *token,
234 coap_binary_t *data_so_far;
Dcoap_block.txt.in41 *coap_binary_t *
42 coap_block_build_body(coap_binary_t *_body_data_, size_t _length_,
Dcoap_observe.txt.in29 *int coap_cancel_observe(coap_session_t *_session_, coap_binary_t *_token_,
/third_party/libcoap/examples/
Dcoap-server.c157 coap_binary_t *value;
176 alloc_resource_data(coap_binary_t *value) { in alloc_resource_data()
211 static coap_binary_t
213 coap_binary_t body; in reference_resource_data()
432 coap_binary_t body; in hnd_get_example_data()
436 coap_binary_t *value = coap_new_binary(1500); in hnd_get_example_data()
461 coap_binary_t *bdata = (coap_binary_t*)data; in cache_free_app_data()
482 coap_binary_t *data_so_far; in hnd_put_example_data()
585 coap_binary_t body; in hnd_put_example_data()
651 coap_binary_t *token; /* Incoming token */
[all …]
Dcoap-client.c55 coap_binary_t the_token = { 0, _token_data };
/third_party/libcoap/doc/
Dupgrade_4.2.1_4.3.0.txt49 coap_binary_t *token,