/uoscore-uedhoc-3.6.0/test/edhoc_integration_tests/ |
D | txrx_wrapper.c | 25 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 32 TRY(_memcpy_s(data, *data_len, m.m2, m.m2_len)); in rx() 37 TRY(_memcpy_s(data, *data_len, m.m4, m.m4_len)); in rx() 47 TRY(_memcpy_s(data, *data_len, m.m1, m.m1_len)); in rx() 52 TRY(_memcpy_s(data, *data_len, m.m3, m.m3_len)); in rx() 60 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument
|
D | initiator_responder_interaction.c | 79 enum err semaphore_take(struct k_sem *sem, uint8_t *data, uint32_t *data_len) in semaphore_take() argument 87 memcpy(data, msg_exchange_buf, *data_len); in semaphore_take() 94 enum err copy_message(uint8_t *data, uint32_t data_len) in copy_message() argument 100 memcpy(msg_exchange_buf, data, data_len); in copy_message() 106 enum err tx_initiator(void *sock, struct byte_array *data) in tx_initiator() argument 108 enum err r = copy_message(data->ptr, data->len); in tx_initiator() 116 enum err tx_responder(void *sock, struct byte_array *data) in tx_responder() argument 119 enum err r = copy_message(data->ptr, data->len); in tx_responder() 128 enum err rx_initiator(void *sock, struct byte_array *data) in rx_initiator() argument 131 return semaphore_take(&tx_responder_completed, data->ptr, &data->len); in rx_initiator() [all …]
|
D | txrx_wrapper.h | 17 enum err rx(void *sock, uint8_t *data, uint32_t *data_len); 18 enum err tx(void *sock, uint8_t *data, uint32_t data_len);
|
/uoscore-uedhoc-3.6.0/inc/ |
D | edhoc.h | 114 enum err (*tx)(void *sock, struct byte_array *data), 115 enum err (*rx)(void *sock, struct byte_array *data), 136 enum err (*tx)(void *sock, struct byte_array *data), 137 enum err (*rx)(void *sock, struct byte_array *data), 155 enum err (*tx)(void *sock, struct byte_array *data), 156 enum err (*rx)(void *sock, struct byte_array *data), 178 enum err (*tx)(void *sock, struct byte_array *data), 179 enum err (*rx)(void *sock, struct byte_array *data),
|
/uoscore-uedhoc-3.6.0/samples/zephyr_edhoc/initiator/src/ |
D | main.c | 53 enum err tx(void *sock, struct byte_array *data) in tx() argument 74 TRY_EXPECT(coap_packet_append_payload(&request, data->ptr, data->len), in tx() 77 PRINT_ARRAY("CoAP packet", request.data, request.offset); in tx() 78 ssize_t n = send(*((int *)sock), request.data, request.offset, 0); in tx() 93 enum err rx(void *sock, struct byte_array *data) in rx() argument 115 if (data->len >= edhoc_data_len) { in rx() 116 memcpy(data->ptr, edhoc_data_p, edhoc_data_len); in rx() 117 data->len = edhoc_data_len; in rx()
|
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
/uoscore-uedhoc-3.6.0/samples/zephyr_edhoc/responder/src/ |
D | main.c | 57 enum err tx(void *sock, struct byte_array *data) in tx() argument 77 r = coap_packet_append_payload(&cp_ack, data->ptr, data->len); in tx() 96 enum err rx(void *sock, struct byte_array *data) in rx() argument 125 if (data->len >= edhoc_data_len) { in rx() 126 memcpy(data->ptr, edhoc_data_p, edhoc_data_len); in rx() 127 data->len = edhoc_data_len; in rx()
|
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
/uoscore-uedhoc-3.6.0/inc/edhoc/ |
D | txrx_wrapper.h | 24 extern enum err tx(uint8_t *data, uint32_t data_len); 39 extern enum err rx(uint8_t *data, uint32_t *data_len);
|
/uoscore-uedhoc-3.6.0/samples/linux_oscore/client/src/ |
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
/uoscore-uedhoc-3.6.0/samples/linux_oscore/server/src/ |
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
/uoscore-uedhoc-3.6.0/samples/linux_edhoc_oscore/initiator_client/src/ |
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
D | main.cpp | 80 enum err tx(void *sock, struct byte_array *data) in tx() argument 93 pdu->setPayload(data->ptr, data->len); in tx() 106 enum err rx(void *sock, struct byte_array *data) in rx() argument 124 printf("data_len: %d\n", data->len); in rx() 127 if (data->len >= payload_len) { in rx() 128 memcpy(data->ptr, recvPDU->getPayloadPointer(), payload_len); in rx() 129 data->len = payload_len; in rx()
|
/uoscore-uedhoc-3.6.0/samples/linux_edhoc_oscore/responder_server/src/ |
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
D | main.cpp | 138 enum err tx(void *sock, struct byte_array *data) in tx() argument 141 txPDU->setPayload(data->ptr, data->len); in tx() 146 enum err rx(void *sock, struct byte_array *data) in rx() argument 170 if (data->len >= payload_len) { in rx() 171 memcpy(data->ptr, rxPDU->getPayloadPointer(), payload_len); in rx() 172 data->len = payload_len; in rx()
|
/uoscore-uedhoc-3.6.0/samples/linux_edhoc/initiator/src/ |
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
D | main.cpp | 79 enum err tx(void *sock, struct byte_array *data) in tx() argument 92 pdu->setPayload(data->ptr, data->len); in tx() 105 enum err rx(void *sock, struct byte_array *data) in rx() argument 126 if (data->len >= payload_len) { in rx() 127 memcpy(data->ptr, recvPDU->getPayloadPointer(), payload_len); in rx() 128 data->len = payload_len; in rx()
|
/uoscore-uedhoc-3.6.0/samples/linux_edhoc/responder/src/ |
D | _entropy.c | 4 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 7 (void)data; in mbedtls_hardware_poll()
|
D | main.cpp | 116 enum err tx(void *sock, struct byte_array *data) in tx() argument 119 txPDU->setPayload(data->ptr, data->len); in tx() 124 enum err rx(void *sock, struct byte_array *data) in rx() argument 148 if (data->len >= payload_len) { in rx() 149 memcpy(data->ptr, rxPDU->getPayloadPointer(), payload_len); in rx() 150 data->len = payload_len; in rx()
|
/uoscore-uedhoc-3.6.0/test/ |
D | entropy.c | 7 int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, in mbedtls_hardware_poll() argument 13 (void)data; in mbedtls_hardware_poll()
|
/uoscore-uedhoc-3.6.0/ |
D | benchmarks.md | 13 3) The (D)TLS data is obtained with [mbedTLS](https://github.com/Mbed-TLS/mbedtls) and published in… 23 1. uOSCORE-uEDHOC uses only stack memory. The (D)TLS data includes stack and heap memory as given i… 43 ### Latency for encrypting/decrypting payload data with uOSCORE 53 1. All latency numbers are pure latency caused by computations. No data was send or received. The s…
|
D | README.MD | 74 …r and responder side respectively. They return the External Authorization data `EAD_x`, the deriv… 85 * @param data data to be send 87 enum err tx(void *sock, struct byte_array *data); 91 * function. The user should copy the received data in \p data. 95 * THAN \p data->len. 97 * After copying, the length of the received data should be written 98 * in \p data->len. 103 * @param data the received message must be copied here 105 enum err rx(void *sock, struct byte_array *data);
|
/uoscore-uedhoc-3.6.0/src/edhoc/ |
D | initiator.c | 295 enum err (*tx)(void *sock, struct byte_array *data), in edhoc_initiator_run_extended() argument 296 enum err (*rx)(void *sock, struct byte_array *data), in edhoc_initiator_run_extended() 331 enum err (*tx)(void *sock, struct byte_array *data), in edhoc_initiator_run() argument 332 enum err (*rx)(void *sock, struct byte_array *data), in edhoc_initiator_run()
|
D | responder.c | 359 enum err (*tx)(void *sock, struct byte_array *data), in edhoc_responder_run_extended() argument 360 enum err (*rx)(void *sock, struct byte_array *data), in edhoc_responder_run_extended() 393 enum err (*tx)(void *sock, struct byte_array *data), in edhoc_responder_run() argument 394 enum err (*rx)(void *sock, struct byte_array *data), in edhoc_responder_run()
|
/uoscore-uedhoc-3.6.0/scripts/ |
D | json2c.py | 641 def get_len_str(i, data): argument 642 if type(data["test_vector_1"][i]) is str: 643 return str(len(data["test_vector_1"][i]) >> 1) 683 data = json.load(in_fp) 688 test_vector_labels = list(data.keys()) 694 test_vector_elements = data[vec_num]
|