Home
last modified time | relevance | path

Searched refs:aggregate_buffer (Results 1 - 1 of 1) sorted by relevance

/third_party/libcoap/src/oscore/
H A Doscore_crypto.c108 uint8_t *aggregate_buffer = coap_malloc_type(COAP_STRING, 32 + info_len + 1); in oscore_hkdf_expand() local
119 memcpy(aggregate_buffer, info, info_len); in oscore_hkdf_expand()
120 aggregate_buffer[info_len] = 0x01; in oscore_hkdf_expand()
122 data.s = aggregate_buffer; in oscore_hkdf_expand()
130 memcpy(aggregate_buffer, &(out_buffer[0]), 32); in oscore_hkdf_expand()
132 memcpy(&(aggregate_buffer[32]), info, info_len); in oscore_hkdf_expand()
133 aggregate_buffer[32 + info_len] = (uint8_t)(i + 1); in oscore_hkdf_expand()
134 data.s = aggregate_buffer; in oscore_hkdf_expand()
140 memcpy(aggregate_buffer, &(out_buffer[i * 32]), 32); in oscore_hkdf_expand()
144 coap_free_type(COAP_STRING, aggregate_buffer); in oscore_hkdf_expand()
[all...]

Completed in 1 milliseconds