Home
last modified time | relevance | path

Searched refs:g_x (Results 1 – 11 of 11) sorted by relevance

/uoscore-uedhoc-3.4.0/inc/edhoc/
Dmessages.h20 struct byte_array g_x; member
/uoscore-uedhoc-3.4.0/samples/linux_edhoc/initiator/src/
Dmain.cpp176 c_i.g_x.len = test_vectors[vec_num_i].g_x_raw_len; in main()
177 c_i.g_x.ptr = (uint8_t *)test_vectors[vec_num_i].g_x_raw; in main()
218 c_i.g_x.ptr = G_X_random; in main()
219 c_i.g_x.len = sizeof(G_X_random); in main()
222 PRINT_ARRAY("secret ephemeral DH key", c_i.g_x.ptr, c_i.g_x.len); in main()
/uoscore-uedhoc-3.4.0/src/edhoc/
Dresponder.c56 uint32_t *suites_i_len, uint8_t *g_x, in msg1_parse() argument
90 TRY(_memcpy_s(g_x, *g_x_len, m._message_1_G_X.value, in msg1_parse()
93 PRINT_ARRAY("msg1 G_X", g_x, *g_x_len); in msg1_parse()
192 uint8_t g_x[G_X_DEFAULT_SIZE]; in msg2_gen() local
193 uint32_t g_x_len = sizeof(g_x); in msg2_gen()
199 g_x, &g_x_len, &c_i, ead_1, ead_1_len)); in msg2_gen()
227 TRY(shared_secret_derive(rc->suite.edhoc_ecdh, c->y.ptr, c->y.len, g_x, in msg2_gen()
238 TRY(prk_derive(static_dh_r, rc->suite, PRK_2e, sizeof(PRK_2e), g_x, in msg2_gen()
Dinitiator.c101 m1._message_1_G_X.value = c->g_x.ptr; in msg1_gen()
102 m1._message_1_G_X.len = c->g_x.len; in msg1_gen()
/uoscore-uedhoc-3.4.0/test_vectors/
Dedhoc-vectors-json_v11.txt8 "g_x": "58203aa9eb3201b3367b8c8be38d91e57a2b433e67888c86d2ac006a520842ed5037",
100 "g_x": "5820c199b9615a9296a034b060da80d9c07a6f10f95784aedc7d7ec070b41b588e18",
192 "g_x": "5820a10736746b5f56248061ae63592acb8c884834c6761cb0a20683bff4039d965e",
284 "g_x": "5820e31ec15ee8039427dfc4727ef17e2e0e69c54437f3c5828019ef0a6388c12552",
376 "g_x": "582029e4433753dc0756d22db533fccb843a018ee841bb9b054d8639c651fee1c250",
468 "g_x": "5820e206c85414ba7346768020af25879ac38de3c42ef33b19fd381e4227b2d66e4a",
560 "g_x": "5820a18be380392ed8648a9d74a11e55cada883d9450a07b593251a9f8195ab2be0e",
652 "g_x": "5820a84c69c827b7aee7a68125c11c9f3991d88d44690bbbaeee6244bb34672fdb0c",
744 "g_x": "5820fa5701c2627141ca7784b522a7140c1e329e94d3e4fcf7430ddba3891ed09938",
836 "g_x": "5820481b22896464f3dfcfa6794525190a2ee1cee61b06e3ee20d4fdd591fdc1d669",
[all …]
Dedhoc_test_vectors.h25 const uint8_t *g_x; member
7485 .g_x = test_vector_1_g_x,
7776 .g_x = test_vector_2_g_x,
8067 .g_x = test_vector_3_g_x,
8358 .g_x = test_vector_4_g_x,
8649 .g_x = test_vector_5_g_x,
8940 .g_x = test_vector_6_g_x,
9231 .g_x = test_vector_7_g_x,
9522 .g_x = test_vector_8_g_x,
9813 .g_x = test_vector_9_g_x,
[all …]
/uoscore-uedhoc-3.4.0/inc/
Dedhoc.h160 struct byte_array g_x; /*ephemeral dh public key*/ member
/uoscore-uedhoc-3.4.0/samples/linux_edhoc_oscore/initiator_client/src/
Dmain.cpp186 c_i.g_x.len = test_vectors[vec_num_i].g_x_raw_len; in main()
187 c_i.g_x.ptr = (uint8_t *)test_vectors[vec_num_i].g_x_raw; in main()
/uoscore-uedhoc-3.4.0/test/edhoc_testvector_tests/
Dedhoc_tests.c99 c_i.g_x.len = test_vectors[vec_num].g_x_raw_len; in test_edhoc()
100 c_i.g_x.ptr = (uint8_t *)test_vectors[vec_num].g_x_raw; in test_edhoc()
/uoscore-uedhoc-3.4.0/samples/zephyr_edhoc/initiator/src/
Dmain.c182 c_i.g_x.len = test_vectors[vec_num].g_x_raw_len; in edhoc_initiator_init()
183 c_i.g_x.ptr = (uint8_t *)test_vectors[vec_num].g_x_raw; in edhoc_initiator_init()
/uoscore-uedhoc-3.4.0/scripts/
Djson2c.py30 const uint8_t *g_x;\n\
322 .g_x = NULL,\n\