Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 31) sorted by relevance

12

/uoscore-uedhoc-latest/.github/workflows/
Dci.yml1 name: build & test
6 # This workflow contains 2 jobs build and test
50 ### build, test and archive
56 cd test/
63 path: test/build/uoscore_uedhoc/libuoscore-uedhoc.a
70 cd test/
80 path: test/build/uoscore_uedhoc/libuoscore-uedhoc.a
87 cd test/
94 path: test/build_reports/rom_report_nrf91_with_tinycrypt.txt
100 path: test/build_reports/rom_report_nrf91_with_mbedtls.txt
[all …]
/uoscore-uedhoc-latest/test_vectors/
Doscore_test_vectors.c11 * Test 1:
16 /*Test vector C1.1: Key derivation with Master Salt*/
35 /*Test vector C4: Generating a OSCORE Packet with key material form test vector C.1 */
63 /*test the response*/
79 * Test 2:
132 * Test 3:
136 /*Test vector C2.1: Key derivation without Master Salt*/
154 /*Test vector C5: Generating a OSCORE Packet with key material form test vector C.2.1 */
169 * Test 4:
172 /*Test vector C2.2: Key derivation without Master Salt*/
[all …]
/uoscore-uedhoc-latest/test/oscore_unit_tests/
Dunit_test_oscore_interactions.c108 * @brief Test interactions array initialization.
127 * @brief Test setting the record into interactions array.
134 /* Test null pointers. */ in t701_interactions_set_record_test()
139 /* Test record with too big buffers. */ in t701_interactions_set_record_test()
194 * @brief Test getting the record from interactions array.
201 /* Test null pointers. Null token is a valid value. */ in t702_interactions_get_record_test()
206 /* Test too big token size. */ in t702_interactions_get_record_test()
235 * @brief Test removing the record from interactions array.
242 /* Test null pointers. Null token is a valid value. */ in t703_interactions_remove_record_test()
245 /* Test too big token size. */ in t703_interactions_remove_record_test()
[all …]
Dunit_test_security_context.c45 /*test unsupported AEAD algorithm*/ in t500_oscore_context_init_corner_cases()
54 /*test unsupported SHA algorithm*/ in t500_oscore_context_init_corner_cases()
75 /*test with valid parameters*/ in t501_piv2ssn()
84 /*test with invalid parameters*/ in t501_piv2ssn()
106 /*test with valid parameters*/ in t502_ssn2piv()
113 /*test with invalid parameters*/ in t502_ssn2piv()
127 * @brief test with wrong kdf
151 * @brief Test catching the SSN overflow event.
Dunit_test_option.c94 /*test no ECHO option*/ in t402_echo_val_is_fresh()
99 /*test ECHO option mismatch*/ in t402_echo_val_is_fresh()
128 /* Test null pointers. */ in t403_uri_path_create()
133 /* Test too small output buffer. */ in t403_uri_path_create()
199 /* Test null pointers. */ in t404_get_observe_value()
204 /* Test different valid values of the OBSERVE option. */ in t404_get_observe_value()
212 /* Test non-existing OBSERVE option. */ in t404_get_observe_value()
Dunit_test_replay_protection.c57 * @brief Test replay window initialization.
80 * @brief Test replay window re-initialization.
111 …* @brief Test replay window check for various sequence numbers - this case represents beginning of…
147 …* @brief Test replay window check for various sequence numbers - this case represents communicatio…
179 * @brief Test inserting zero into replay window at different moments of the session.
211 /* Reset replay window and test immunity to simple replay attack using SeqNum=0. */ in t604_server_replay_insert_zero_test()
227 * @brief Test inserting values into replay window at different moments of the session.
284 * @brief Standard scenario test - checks and updates
Dunit_test_oscore_coap.c420 /*test malformed input data*/ in t201_coap_serialize_deserialize()
428 /*test no token*/ in t201_coap_serialize_deserialize()
445 /*test too long token*/ in t201_coap_serialize_deserialize()
454 /*test valid tkl but no payload*/ in t201_coap_serialize_deserialize()
469 /*test only payload marker no payload*/ in t202_options_deserialize_corner_cases()
479 /*test invalid delta*/ in t202_options_deserialize_corner_cases()
489 /*test invalid len*/ in t202_options_deserialize_corner_cases()
499 /*test too many options*/ in t202_options_deserialize_corner_cases()
525 /* Test null pointers. */ in t203_coap_get_message_type()
530 /* Test different valid packets. */ in t203_coap_get_message_type()
Dunit_test_oscore2coap.c30 uint8_t kid_context[] = { "test KID context" }; in t300_oscore_option_parser_no_piv()
31 uint8_t kid[] = { "test KID" }; in t300_oscore_option_parser_no_piv()
101 uint8_t kid_context[] = { "test KID context" }; in t302_oscore_option_parser_no_kid()
/uoscore-uedhoc-latest/test/edhoc_integration_tests/
Dedhoc_tests.h32 * @brief Test EDHOC initiator according to RFC9529 Section 2.
37 * @brief Test EDHOC initiator according to RFC9529 Section 2.
49 * parallel and checks if the results are the same. This test is
54 * @param vec_num the test vector number
Dtxrx_wrapper.c28 PRINTF("TXRX wrapper test vectors\n"); in rx()
42 PRINTF("TXRX wrapper test vectors\n"); in rx()
61 { //todo add here a test in tx()
Dinitiator_responder_interaction.c145 * @param vec_num Test vector number
245 * @param vec_num Test vector number
258 /* test vector inputs */ in thread_responder()
/uoscore-uedhoc-latest/samples/zephyr_edhoc/initiator/
DCMakeLists.txt91 add_library(test STATIC IMPORTED GLOBAL) target
93 test
96 set_target_properties(test PROPERTIES IMPORTED_LOCATION
99 target_include_directories(test INTERFACE
102 target_link_libraries(app PRIVATE test)
/uoscore-uedhoc-latest/samples/zephyr_edhoc/responder/
DCMakeLists.txt92 add_library(test STATIC IMPORTED GLOBAL) target
94 test
97 set_target_properties(test PROPERTIES IMPORTED_LOCATION
100 target_include_directories(test INTERFACE
103 target_link_libraries(app PRIVATE test)
/uoscore-uedhoc-latest/test/
DCMakeLists.txt107 add_library(test STATIC IMPORTED GLOBAL) target
109 test
112 set_target_properties(test PROPERTIES IMPORTED_LOCATION ${build_dir}/libuoscore-uedhoc.a)
113 target_include_directories(test INTERFACE
117 target_link_libraries(app PRIVATE test)
DREADME.MD9 cd test/
17 cd test/
Dmain.c65 // test macro and comment out EXECUTE_ALL_TESTS
69 * @brief This function allows to skip a given test if only one other test
329 * Build flash the test project for your board e.g.,
/uoscore-uedhoc-latest/test/oscore_integration_tests/
Doscore_integration_tests.c48 * Test 1:
63 required only for the test vector. in t1_oscore_client_request_response()
74 /*test converting the request*/ in t1_oscore_client_request_response()
94 /*test converting the response*/ in t1_oscore_client_request_response()
103 * Test 3:
132 required only for the test vector. in t3_oscore_client_request()
151 * Test 5 :
180 required only for the test vector. in t5_oscore_client_request()
199 * Test 2:
227 /*Test decrypting of an incoming request*/ in t2_oscore_server_request_response()
[all …]
/uoscore-uedhoc-latest/
DREADME.MD26 ## Test coverage
27 * [Test coverage report uOSCORE](https://eriptic.github.io/uoscore-uedhoc/src/oscore/index.html)
28 * [Test coverage report uEDHOC](https://eriptic.github.io/uoscore-uedhoc/src/edhoc/index.html)
41 |---test/
48 …eneratinc C code from CDDL models and converting the json formatted EDHOC test vectors to a C head…
50 * The folder `test` contains automated tests.
D.clang-format98 IncludeIsMainRegex: '(Test)?$'
/uoscore-uedhoc-latest/scripts/
Dgen_coverage_report.sh13 # For more information see: https://docs.zephyrproject.org/latest/develop/test/coverage.html#covera…
15 cd ../test
/uoscore-uedhoc-latest/test/ci_scripts/
Dstack_report_gen.sh3 # run this script from the "test" directory after Zephyr is initialized with:
4 # cd <to test dir>
Dflash_report_gen.sh4 # run this script from the "test" directory after Zephyr is initialized with:
5 # cd <to test dir>
/uoscore-uedhoc-latest/inc/common/
Dcrypto_wrapper.h135 * deterministic. In order to test edhoc module against test vectors provided
Dunit_test.h21 can be used in unit test files.*/
/uoscore-uedhoc-latest/samples/linux_edhoc/initiator/src/
Dmain.cpp31 /*comment this out to use DH keys from the test vectors*/
150 /* test vector inputs */ in main()

12