| /uoscore-uedhoc-latest/ |
| D | Doxyfile | 3 # This file describes the settings to be used by the documentation system 16 #--------------------------------------------------------------------------- 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. 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-latest/test/oscore_unit_tests/ |
| D | unit_test_option.c | 3 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 8 option. This file may not be copied, modified, or distributed 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() [all …]
|
| D | unit_test_security_context.c | 3 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 8 option. This file may not be copied, modified, or distributed 90 zassert_equal(r, wrong_parameter, "Error in piv2ssn. r: %d", r); //nullpointer for output value in t501_piv2ssn()
|
| /uoscore-uedhoc-latest/inc/oscore/ |
| D | option.h | 3 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 8 option. This file may not be copied, modified, or distributed 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); [all …]
|
| D | oscore_coap.h | 3 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 8 option. This file may not be copied, modified, or distributed 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
|
| D | oscore_cose.h | 3 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 8 option. This file may not be copied, modified, or distributed 21 * @param out_plaintext: output plaintext 35 * @param out_ciphertext: output ciphertext with authentication tag (8 bytes)
|
| D | oscore_interactions.h | 3 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 8 option. This file may not be copied, modified, or distributed 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-latest/inc/ |
| D | edhoc_internal.h | 3 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 8 option. This file may not be copied, modified, or distributed 15 * edhoc state by themself. The functions in this file are meant to be used by 16 * such users. An example how the functions in this file can be used can be 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) [all …]
|
| /uoscore-uedhoc-latest/src/oscore/ |
| D | option.c | 3 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 8 option. This file may not be copied, modified, or distributed 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() [all …]
|
| D | coap2oscore.c | 3 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 8 option. This file may not be copied, modified, or distributed 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 [all …]
|
| D | oscore2coap.c | 3 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 8 option. This file may not be copied, modified, or distributed 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() [all …]
|
| D | oscore_coap.c | 3 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 8 option. This file may not be copied, modified, or distributed 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() [all …]
|
| D | oscore_hkdf_info.c | 3 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 8 option. This file may not be copied, modified, or distributed 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 [all …]
|
| D | oscore_cose.c | 3 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 8 option. This file may not be copied, modified, or distributed 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() [all …]
|
| D | oscore_interactions.c | 3 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 8 option. This file may not be copied, modified, or distributed 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() [all …]
|
| /uoscore-uedhoc-latest/scripts/ |
| D | gen_coverage_report.sh | 4 # 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 9 # option. This file may not be copied, modified, or distributed 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 [all …]
|
| D | json2c.py | 3 # This script converts the testvectors form a JSON format to C source and header file. 14 HEADER = "/*This is an automatically generated file!*/\n\n" 622 if i != len(in_string) - 2: 724 struct_body_out += "/*--------------- " + vec_num + " ------------*/\n " 727 output = ( 737 out_fp.write(output)
|
| /uoscore-uedhoc-latest/inc/edhoc/ |
| D | hkdf_info.h | 3 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 8 option. This file may not be copied, modified, or distributed 38 * @param label An int value indicating what kind of output we 42 * @param okm_len The length of the output keying material.
|
| D | okm.h | 3 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 8 option. This file may not be copied, modified, or distributed 22 * @brief Derives output keying material.
|
| /uoscore-uedhoc-latest/src/common/ |
| D | crypto_wrapper.c | 3 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 8 option. This file may not be copied, modified, or distributed 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() [all …]
|
| /uoscore-uedhoc-latest/.github/workflows/ |
| D | ci.yml | 9 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 …]
|