Home
last modified time | relevance | path

Searched +full:- +full:t (Results 1 – 22 of 22) sorted by relevance

/uoscore-uedhoc-3.4.0/scripts/
Dcddl2c.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
32 …hon3 $ZCBOR -c $MODELS_PATH/oscore_aad_array.cddl code -e -t aad_array --oc $SRC/oscore_aad_array.…
34 python3 $ZCBOR -c $MODELS_PATH/oscore_info.cddl code -e -t oscore_info --oc $SRC/oscore_info.c --in…
36 …OR -c $MODELS_PATH/oscore_enc_structure.cddl code -e -t oscore_enc_structure --oc $SRC/oscore_enc_…
43 …n3 $ZCBOR -c $MODELS_PATH/edhoc_message_1.cddl code -e -t message_1 --oc $SRC/edhoc_encode_message…
45 …n3 $ZCBOR -c $MODELS_PATH/edhoc_message_1.cddl code -d -t message_1 --oc $SRC/edhoc_decode_message…
48 …thon3 $ZCBOR -c $MODELS_PATH/edhoc_message_2.cddl code -e -t m2 --oc $SRC/edhoc_encode_message_2.c…
[all …]
Djson2c.py603 out_string = "[] = {\n\t"
607 if i != len(in_string) - 2:
610 out_string = out_string + "\n\t"
667 with open(in_out_path + "edhoc-vectors-json_v11.txt", "r") as in_fp:
709 struct_body_out += "/*--------------- " + vec_num + " ------------*/\n "
/uoscore-uedhoc-3.4.0/src/edhoc/
Dc_x.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
19 byte_array_init(buf, buf_len, &c->mem.c_x_bstr); in c_x_init()
22 enum err c_x_set(enum c_x_type t, const uint8_t *c_x_raw_buf, in c_x_set() argument
25 if (t == INT) { in c_x_set()
26 out->type = INT; in c_x_set()
27 out->mem.c_x_int = c_x_int; in c_x_set()
30 out->type = BSTR; in c_x_set()
[all …]
/uoscore-uedhoc-3.4.0/inc/edhoc/
Dc_x.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
41 * @param t Type of the C_x -- INT or BSTR
48 enum err c_x_set(enum c_x_type t, const uint8_t *c_x_raw_buf,
/uoscore-uedhoc-3.4.0/.github/workflows/
Dci.yml1 name: Build uoscore-uedhoc
9 name: Build uoscore-uedhoc
10 runs-on: ubuntu-latest
13 - name: Install Zephyr tools
17 wget https://apt.kitware.com/kitware-archive.sh
18 sudo bash kitware-archive.sh
19--no-install-recommends git cmake ninja-build gperf ccache dfu-util device-tree-compiler wget pyth…
21 pip3 install --user -U west
29 west zephyr-export
31 pip3 install --user -r ~/zephyrproject/zephyr/scripts/requirements.txt
[all …]
/uoscore-uedhoc-3.4.0/test/
DREADME.MD7 * source `zephyr-env.sh`,
9 * execute `west build -b=<board_name>`
11 * if a PC is used `west build -t run`
Dentropy.c16 return -1; in mbedtls_hardware_poll()
20 return -1; in mbedtls_hardware_poll()
24 return -1; in mbedtls_hardware_poll()
42 // len -= chunk_size; in mbedtls_hardware_poll()
45 /*We don't get real random numbers*/ in mbedtls_hardware_poll()
/uoscore-uedhoc-3.4.0/samples/linux_edhoc_oscore/responder_server/src/
D_entropy.c10 return -1; in mbedtls_hardware_poll()
14 return -1; in mbedtls_hardware_poll()
18 return -1; in mbedtls_hardware_poll()
21 /*We don't get real random numbers*/ in mbedtls_hardware_poll()
/uoscore-uedhoc-3.4.0/samples/linux_oscore/client/src/
D_entropy.c10 return -1; in mbedtls_hardware_poll()
14 return -1; in mbedtls_hardware_poll()
18 return -1; in mbedtls_hardware_poll()
21 /*We don't get real random numbers*/ in mbedtls_hardware_poll()
/uoscore-uedhoc-3.4.0/samples/linux_oscore/server/src/
D_entropy.c10 return -1; in mbedtls_hardware_poll()
14 return -1; in mbedtls_hardware_poll()
18 return -1; in mbedtls_hardware_poll()
21 /*We don't get real random numbers*/ in mbedtls_hardware_poll()
/uoscore-uedhoc-3.4.0/samples/linux_edhoc/responder/src/
D_entropy.c10 return -1; in mbedtls_hardware_poll()
14 return -1; in mbedtls_hardware_poll()
18 return -1; in mbedtls_hardware_poll()
21 /*We don't get real random numbers*/ in mbedtls_hardware_poll()
/uoscore-uedhoc-3.4.0/samples/linux_edhoc_oscore/initiator_client/src/
D_entropy.c10 return -1; in mbedtls_hardware_poll()
14 return -1; in mbedtls_hardware_poll()
18 return -1; in mbedtls_hardware_poll()
21 /*We don't get real random numbers*/ in mbedtls_hardware_poll()
/uoscore-uedhoc-3.4.0/samples/linux_edhoc/initiator/src/
D_entropy.c10 return -1; in mbedtls_hardware_poll()
14 return -1; in mbedtls_hardware_poll()
18 return -1; in mbedtls_hardware_poll()
21 /*We don't get real random numbers*/ in mbedtls_hardware_poll()
/uoscore-uedhoc-3.4.0/src/common/
Dprint_util.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 printf("\n\t%02X ", in_data[i]); in print_array()
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
102 plen = mbedtls_mpi_size(&grp->P); in mbedtls_ecp_decompress()
130 if (grp->A.p == NULL) { in mbedtls_ecp_decompress()
131 // Special case where a is -3 in mbedtls_ecp_decompress()
134 MBEDTLS_MPI_CHK(mbedtls_mpi_add_mpi(&r, &r, &grp->A)); in mbedtls_ecp_decompress()
141 MBEDTLS_MPI_CHK(mbedtls_mpi_add_mpi(&r, &r, &grp->B)); in mbedtls_ecp_decompress()
147 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&n, &grp->P, 1)); in mbedtls_ecp_decompress()
[all …]
/uoscore-uedhoc-3.4.0/samples/zephyr_oscore/server/
Dprj.conf37 # won't compile.
70 #CONFIG_COMPILER_OPT="-O3"
71 CONFIG_COMPILER_OPT="-Os"
85 # Compiler optimizations will be set to -Og independently of other options.
/uoscore-uedhoc-3.4.0/samples/zephyr_edhoc/responder/
Dprj.conf37 # won't compile.
70 #CONFIG_COMPILER_OPT="-O3"
71 CONFIG_COMPILER_OPT="-Os"
85 # Compiler optimizations will be set to -Og independently of other options.
/uoscore-uedhoc-3.4.0/inc/
Doscore.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
48 /*The specification doesn't describe how the ID Context is created */
53 /*aead_alg is optional (default AES-CCM-16-64-128)*/
55 /*kdf is optional (default HKDF-SHA-256)*/
/uoscore-uedhoc-3.4.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
73 * doesn't write parsed options, but still returns the number
76 * @param out Out-array. Must be at least `num_options(...)` long or NULL.
77 * @param offset_out Pointer to write byte-length of options into.
102 * @param out out-pointer. Must be at least `encoded_option_len(...)`
/uoscore-uedhoc-3.4.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
85 // skip options which aren't of requested class in encode_options()
106 out[index + 1] = (uint8_t)(delta - 13); in encode_options()
110 out[index + 1] = (uint8_t)(((delta - 269) >> 8) & 0xff); in encode_options()
111 out[index + 2] = (uint8_t)(((delta - 269) >> 0) & 0xff); in encode_options()
118 out[index + delta_len + 1] = (uint8_t)(length - 13); in encode_options()
123 (uint8_t)(((length - 269) >> 8) & 0xff); in encode_options()
[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
32 …* @brief Parse all received options to find the OSCORE_option. If it doesn't * have OSCORE option…
41 uint8_t temp_option_count = in->options_cnt; in oscore_option_parser()
42 struct o_coap_option *temp_options = in->options; in oscore_option_parser()
57 out->h = 0; in oscore_option_parser()
58 out->k = 0; in oscore_option_parser()
59 out->n = 0; in oscore_option_parser()
[all …]
/uoscore-uedhoc-3.4.0/
DLICENSE-APACHE68 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83 cross-claim or counterclaim in a lawsuit) alleging that the Work
115 wherever such third-party notices normally appear. The contents
148 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
182 replaced with your own identifying information. (Don't include
187 identification within third-party archives.
195 http://www.apache.org/licenses/LICENSE-2.0