Lines Matching defs:data
151 /* Need to break down into the component parts, but keep data safe */
267 * and then encrypt / integrity check the OSCORE data
284 const uint8_t *data;
491 * Set up temp plaintext pdu, the data including token, options and
565 /* Add in data to plain */
566 if (coap_get_data(pdu, &length, &data)) {
567 if (!coap_add_data(plain_pdu, length, data))
625 * If this is a response ACK with data, make it a separate response
627 * then allows lost response ACK with data to be recovered.
681 if (coap_get_data(pdu, &size, &data)) {
682 coap_add_data(association->sent_pdu, size, data);
814 if (pdu->data == NULL) {
1274 st_encrypt = pdu->data;
1275 encrypt_len = pdu->used_size - (pdu->data - pdu->token);
1288 /* Decrypt into plain_pdu, so code (token), options and data are in place */
1310 /* Account for the decrypted data */
1390 plain_pdu->data = &opt_iter.next_option[1];
1526 /* Need to copy across any data */
1529 plain_pdu->data = &opt_iter.next_option[1];
1532 (plain_pdu->data - plain_pdu->token),
1533 plain_pdu->data)) {