Home
last modified time | relevance | path

Searched +full:- +full:- +full:output +full:- +full:directory (Results 1 – 21 of 21) sorted by relevance

/uoscore-uedhoc-3.7.0/
DDoxyfile16 #---------------------------------------------------------------------------
18 #---------------------------------------------------------------------------
21 # file that follow. The default is UTF-8 which is also the encoding used for all
25 # The default value is: UTF-8.
27 DOXYFILE_ENCODING = UTF-8
30 # double-quotes, unless you are using Doxywizard) that should identify the
52 # the logo to the output directory.
59 # left blank the current directory will be used.
61 OUTPUT_DIRECTORY = /home/stefan/workspaces/github/uoscore-uedhoc/doxygen
63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
[all …]
/uoscore-uedhoc-3.7.0/scripts/
Dgen_coverage_report.sh4 # file at the top-level directory of this distribution.
6 # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7 # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8 # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
13 …ocs.zephyrproject.org/latest/develop/test/coverage.html#coverage-reports-using-the-posix-architect…
16 rm -rf build/
17 rm -rf ../build/
18 rm -rf ../report_coverage/
20 west build -b native_posix -- -DCONFIG_COVERAGE=y
21 west build -t run
[all …]
/uoscore-uedhoc-3.7.0/inc/
Dedhoc_internal.h3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
57 * @param prk_out the derived secret (output)
71 * @param ead_4 EAD_4 (output)
97 * @param ead_3 EAD_3 from message 3 (output)
99 * @param prk_out the derived secret (output)
/uoscore-uedhoc-3.7.0/inc/oscore/
Doption.h3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
70 * @param out Out-array. Must be at least `num_options(...)` long or NULL.
71 * @param offset_out Pointer to write byte-length of options into.
96 * @param out out-pointer. Must be at least `encoded_option_len(...)`
119 * @param output Pointer to byte array which will point to the value buffer.
124 struct byte_array *output);
150 …* @brief Parse the decrypted OSCORE payload into code, E-options and original unprotected CoAP pay…
[all …]
Doscore_cose.h3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
21 * @param out_plaintext: output plaintext
35 * @param out_ciphertext: output ciphertext with authentication tag (8 bytes)
Doscore_coap.h3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
29 0xFFFFFFFFFF /* maximum SSN value is 2^40-1, according to RFC 8613 p. 7.2.1.*/
119 * @param out: pointer to an output OSCORE packet
138 * @param out_byte_string: output pointer to options byte string
148 * @param opt: pointer to output options structure array
149 * @param opt_cnt: count number of output options
Doscore_interactions.h3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
89 * @note To be used while de-registering to given resource.
105 * @param request_piv Output request_piv (to be updated if needed).
106 * @param request_kid Output request_kid (to be updated if needed).
/uoscore-uedhoc-3.7.0/test/oscore_unit_tests/
Dunit_test_option.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
31 …zassert_equal(expected_uri_path_size, *uri_path_size, "unexpected output size: %d", *uri_path_size… in uri_path_create_and_compare()
36 …(struct o_coap_option *options, uint8_t options_cnt, struct byte_array * output, bool expected_res… in get_observe_value_and_compare() argument
39 bool result = get_observe_value(options, options_cnt, output); in get_observe_value_and_compare()
44 zassert_equal(true, array_equals(output, expected_output), ""); in get_observe_value_and_compare()
133 /* Test too small output buffer. */ in t403_uri_path_create()
167 /* No URI-Path option should pass. */ in t403_uri_path_create()
[all …]
Dunit_test_security_context.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
90 zassert_equal(r, wrong_parameter, "Error in piv2ssn. r: %d", r); //nullpointer for output value in t501_piv2ssn()
/uoscore-uedhoc-3.7.0/src/oscore/
Doption.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
36 max_size - in buffer_append()
61 struct byte_array *output) in get_observe_value() argument
63 if ((NULL == options) || (NULL == output)) { in get_observe_value()
72 output->ptr = options[i].value; in get_observe_value()
73 output->len = options[i].len; in get_observe_value()
76 output = NULL; in get_observe_value()
[all …]
Dcoap2oscore.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
35 * @param e_options: output pointer to E-options
36 * @param e_options_cnt: count number of output E-options
37 …* @param e_options_len: Byte string length of all E-options, which will be used when forming E-opt…
38 * @param U_options: output pointer to U-options
39 * @param U_options_cnt: count number of output U-options
60 if (MAX_OPTION_COUNT < in_o_coap->options_cnt) { in inner_outer_option_split()
[all …]
Doscore2coap.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
40 * @param out: pointer output compressed OSCORE_option
59 out->h = 0; in oscore_option_parser()
60 out->k = 0; in oscore_option_parser()
61 out->n = 0; in oscore_option_parser()
62 out->piv.ptr = NULL; in oscore_option_parser()
63 out->piv.len = 0; in oscore_option_parser()
[all …]
Doscore_hkdf_info.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
22 HKDF = composition of HKDF-Extract and HKDF-Expand (RFC5869)
23 output = HKDF(salt, IKM, info, L
26 * info = CBOR-array [
34 + type: "Key" / "IV", ascii string without nul-terminator
36 - in bytes
60 info_struct.oscore_info_id.value = id->ptr; in oscore_create_hkdf_info()
[all …]
Doscore_coap.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
47 uint8_t *temp_ptr = out->ptr; in options_serialize()
51 uint32_t out_capacity = out->len; in options_serialize()
52 out->len = 0; in options_serialize()
67 *(temp_ptr + 1) = (uint8_t)(options[i].delta - 13); in options_serialize()
72 (uint16_t)(options[i].delta - 269); in options_serialize()
85 (uint8_t)(options[i].len - 13); in options_serialize()
[all …]
Doscore_cose.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
31 * @param out: output encoded COSE byte string
46 external_aad->ptr; in create_enc_structure()
48 external_aad->len; in create_enc_structure()
52 TRY_EXPECT(cbor_encode_oscore_enc_structure(out->ptr, out->len, in create_enc_structure()
57 out->len = (uint32_t)payload_len_out; in create_enc_structure()
68 uint32_t aad_len = recipient_aad->len + ENCRYPT0_ENCODING_OVERHEAD; in oscore_cose_decrypt()
[all …]
Doscore_interactions.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
55 PRINTF(" type : %d\n", record->request_type); in print_interactions()
56 print_interaction_field("uri paths", record->uri_paths, in print_interactions()
57 record->uri_paths_len); in print_interactions()
58 print_interaction_field("token ", record->token, in print_interactions()
59 record->token_len); in print_interactions()
60 print_interaction_field("req_piv ", record->request_piv, in print_interactions()
[all …]
/uoscore-uedhoc-3.7.0/inc/edhoc/
Dhkdf_info.h3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
38 * @param label An int value indicating what kind of output we
42 * @param okm_len The length of the output keying material.
Dokm.h3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
22 * @brief Derives output keying material.
/uoscore-uedhoc-3.7.0/samples/zephyr_edhoc/
DREADME.MD6 * initiator - EDHOC initiator running on top of a CoAP client
7 * responder - EDHOC responder running on top of a CoAP server
11 * initiator - tested on nRF52840 with IPv6 over BLE
12 * responder - tested on nRF52840 with IPv6 over BLE
19 ## Setup 1: nRF52840 responder - Linux host initiator
21 * In the directory `samples/zephyr_edhoc/responder` build and flash the sample:
23 west build -b=nrf52840dk_nrf52840
30 sudo ./ble_connect.sh -d EdhocResponder
32 * Once the board is flashed and connected it prints the following output:
34 uart:~$ *** Booting Zephyr OS build zephyr-v3.1.0-4283-g5108c4f21d3d ***
[all …]
/uoscore-uedhoc-3.7.0/.github/workflows/
Dci.yml9 name: Build uoscore-uedhoc
10 runs-on: ubuntu-latest
13 - name: Install Zephyr tools
15 wget https://apt.kitware.com/kitware-archive.sh
16 sudo bash kitware-archive.sh
17--no-install-recommends git cmake ninja-build gperf ccache dfu-util device-tree-compiler wget pyth…
18 cmake --version
19 python3 --version
20 dtc --version
23 sudo apt install python3-venv
[all …]
/uoscore-uedhoc-3.7.0/src/common/
Dcrypto_wrapper.c3 file at the top-level directory of this distribution.
5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
87 * @param output the uncopressed key
88 * @param olen the lenhgt of the output
94 size_t ilen, unsigned char *output, in mbedtls_ecp_decompress() argument
103 plen = mbedtls_mpi_size(&grp->P); in mbedtls_ecp_decompress()
110 // output will consist of 0x04|X|Y in mbedtls_ecp_decompress()
111 memcpy(output + 1, input, ilen); in mbedtls_ecp_decompress()
[all …]