Home
last modified time | relevance | path

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

/third_party/libcoap/man/
Dcoap_string.txt.in18 coap_new_binary,
44 *coap_binary_t *coap_new_binary(size_t _size_);*
142 *Function: coap_new_binary()*
144 The *coap_new_binary*() function allocates a new coap_binary_t of _size_
157 created by *coap_new_binary*().
186 *coap_new_binary*() returns a pointer to an allocated
Dcoap_cache.txt.in348 data_so_far = coap_new_binary(size);
/third_party/libcoap/src/
Dcoap_str.c77 coap_new_binary(size_t size) { in coap_new_binary() function
85 coap_binary_t *new = coap_new_binary(size); in coap_resize_binary()
Dcoap_asn1.c82 tag_data = coap_new_binary(len); in get_asn1_tag()
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()
1343 coap_new_binary(sizeof(session->oscore_r2) + cose->kid_context.length); in coap_oscore_decrypt_pdu()
1398 coap_binary_t *kc = coap_new_binary(cose->kid_context.length + 8); in coap_oscore_decrypt_pdu()
1645 binary = coap_new_binary((end - begin) / 2); in parse_hex_bin()
Dcoap_subscribe.c331 scratch = coap_new_binary(size); in coap_op_observe_read()
346 scratch = coap_new_binary(size); in coap_op_observe_read()
849 *raw_packet = coap_new_binary(size); in coap_op_dyn_resource_read()
Dcoap_tinydtls.c992 decoded = coap_new_binary(nbytesdecoded + 1); in pem_base64_decode()
1685 dummy = coap_new_binary(DTLS_SHA256_DIGEST_LENGTH); in coap_crypto_hmac()
Dcoap_mbedtls.c2698 dummy = coap_new_binary(len);
3027 dummy = coap_new_binary(len);
Dcoap_gnutls.c2985 dummy = coap_new_binary(hash_length); in coap_crypto_hash()
3219 dummy = coap_new_binary(len); in coap_crypto_hmac()
Dcoap_block.c815 lg_xmit->b.b1.app_token = coap_new_binary(pdu->actual_token.length); in coap_add_data_large_internal()
2069 lg_crcv->app_token = coap_new_binary(pdu->actual_token.length); in coap_block_new_lg_crcv()
3290 body_data = coap_new_binary(total); in coap_block_build_body()
Dcoap_openssl.c3677 dummy = coap_new_binary(EVP_MAX_MD_SIZE); in coap_crypto_hash()
3915 dummy = coap_new_binary(EVP_MAX_MD_SIZE); in coap_crypto_hmac()
Dcoap_net.c971 token = coap_new_binary(session->max_token_size); in coap_send_test_extended_token()
/third_party/libcoap/include/coap3/
Dcoap_str.h117 coap_binary_t *coap_new_binary(size_t size);
/third_party/libcoap/
Dlibcoap-3.map130 coap_new_binary;
Dlibcoap-3.sym127 coap_new_binary
/third_party/libcoap/examples/
Dcoap-server.c475 coap_binary_t *value = coap_new_binary(INITIAL_EXAMPLE_SIZE); in hnd_get_example_data()
586 data_so_far = coap_new_binary(size); in hnd_put_example_data()
800 proxy_list[i].token = coap_new_binary(token->length); in get_proxy_session()
1067 body_data = coap_new_binary(total); in hnd_proxy_uri()
1415 data_so_far = coap_new_binary(size); in hnd_put_post()
1444 data_so_far = coap_new_binary(size); in hnd_put_post()
1639 body_data = coap_new_binary(total); in proxy_response_handler()
Dcoap-client.c217 tracked_tokens[tracked_tokens_count].token = coap_new_binary(tokenlen); in track_new_token()