Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_str.c76 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()
Dcoap_tinydtls.c47 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 …]
Dcoap_asn1.c64 coap_binary_t *
72 coap_binary_t *tag_data; in get_asn1_tag()
Dcoap_subscribe.c311 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()
Dcoap_oscore.c44 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()
Dcoap_gnutls.c998 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()
Dcoap_block.c405 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()
Dcoap_mbedtls.c2678 coap_binary_t *dummy = NULL;
3005 coap_binary_t *dummy = NULL;
Dcoap_openssl.c3661 coap_binary_t *dummy = NULL; in coap_crypto_hash()
3905 coap_binary_t *dummy = NULL; in coap_crypto_hmac()
Dcoap_net.c961 coap_binary_t *token; in coap_send_test_extended_token()
/third_party/libcoap/include/coap3/
Dcoap_str.h56 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);
Dcoap_block.h251 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,
Dcoap_block_internal.h93 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 */
Dcoap_asn1_internal.h86 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;
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.
Dcoap_cache.txt.in242 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;
Dcoap_block.txt.in42 *coap_binary_t *coap_block_build_body(coap_binary_t *_body_data_,
Dcoap_observe.txt.in30 *int coap_cancel_observe(coap_session_t *_session_, coap_binary_t *_token_,
/third_party/libcoap/examples/lwip/config/
Dlwippools.h34 coap_binary_t *priv_key;
35 coap_binary_t *pub_key;
/third_party/libcoap/examples/
Dcoap-server.c176 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 …]
Dcoap-client.c59 coap_binary_t the_token = { 0, _token_data };
62 coap_binary_t *token;
/third_party/libcoap/doc/
Dupgrade_4.2.1_4.3.0.txt49 coap_binary_t *token,