Home
last modified time | relevance | path

Searched refs:g_y (Results 1 – 13 of 13) sorted by relevance

/uoscore-uedhoc-3.4.0/src/edhoc/
Dth.c39 uint32_t hash_msg1_len, uint8_t *g_y, in th2_input_encode() argument
52 th2._th2_G_Y.value = g_y; in th2_input_encode()
152 uint8_t *g_y, uint32_t g_y_len, struct c_x *c_r, in th2_calculate() argument
161 TRY(th2_input_encode(hash_msg1, sizeof(hash_msg1), g_y, g_y_len, c_r, in th2_calculate()
Dinitiator.c47 uint8_t *g_y, uint32_t g_y_len, in msg2_parse() argument
55 TRY(_memcpy_s(g_y, g_y_len, m._m2_G_Y_CIPHERTEXT_2.value, g_y_len)); in msg2_parse()
56 PRINT_ARRAY("g_y", g_y, g_y_len); in msg2_parse()
144 uint8_t g_y[G_Y_DEFAULT_SIZE]; in msg3_gen() local
162 TRY(msg2_parse(rc->msg2, rc->msg2_len, g_y, g_y_len, &c_r, in msg3_gen()
176 TRY(shared_secret_derive(rc->suite.edhoc_ecdh, c->x.ptr, c->x.len, g_y, in msg3_gen()
182 TRY(th2_calculate(rc->suite.edhoc_hash, rc->msg1, rc->msg1_len, g_y, in msg3_gen()
235 sizeof(PRK_3e2m), g_y, g_y_len, c->i.ptr, c->i.len, in msg3_gen()
Dresponder.c148 static inline enum err msg2_encode(const uint8_t *g_y, uint32_t g_y_len, in msg2_encode() argument
160 memcpy(g_y_ciphertext_2, g_y, g_y_len); in msg2_encode()
223 c->g_y.ptr, c->g_y.len, &c->c_r, th2)); in msg2_gen()
263 TRY(msg2_encode(c->g_y.ptr, c->g_y.len, &c->c_r, ciphertext_2, in msg2_gen()
/uoscore-uedhoc-3.4.0/inc/edhoc/
Dmessages.h27 struct byte_array g_y; member
Dth.h30 uint8_t *g_y, uint32_t g_y_len, struct c_x *c_r,
/uoscore-uedhoc-3.4.0/samples/linux_edhoc/responder/src/
Dmain.cpp188 c_r.g_y.ptr = G_Y_random; in main()
189 c_r.g_y.len = sizeof(G_Y_random); in main()
229 c_r.g_y.len = test_vectors[vec_num_i].g_y_raw_len; in main()
230 c_r.g_y.ptr = (uint8_t *)test_vectors[vec_num_i].g_y_raw; in main()
256 PRINT_ARRAY("secret ephemeral DH key", c_r.g_y.ptr, in main()
257 c_r.g_y.len); in main()
/uoscore-uedhoc-3.4.0/test_vectors/
Dedhoc-vectors-json_v11.txt15 "g_y": "5820255491b05a3989ff2d3ffea62098aab57c160f294ed948018b4190f7d161824e",
107 "g_y": "5820b0e389412d9b5760687c11ee3a35829cfd5b9d9c803f980041e601c1f4dd6601",
199 "g_y": "582023733d17195cb8c3cb1b3acddff6e0e48ddeca84af83dbd937dfd80538822a4b",
291 "g_y": "5820e1739096c5c9582c1298918166d69548c78f7497b258c0856aa2019893a39425",
383 "g_y": "5820b27a5f78b9a88f2efd12c6f649bec5322a2f8c3689c03305d15cacda40523049",
475 "g_y": "582065b97eb34942fddcf6d86ad0ce7e929442fd4e8c04e76dab24525ba8b9d4981f",
567 "g_y": "5820d570f3a540fe2e952f25ba3280c0b1238cbd867ed56aac2b9eafe0218e501320",
659 "g_y": "58203dea3bf1e572b570b98a97943e3f76b6dcfd7871dabd8c722ca17d5e17f12019",
751 "g_y": "58205f01960e1174e336b9f5cb833e3b2554d5813702628a26929239d75aad04a86f",
843 "g_y": "5820a060ed7b4d0252d8c177520d2e564e64fcc7681b188cdecb1c940d89b5439011",
[all …]
Dedhoc_test_vectors.h43 const uint8_t *g_y; member
7503 .g_y = test_vector_1_g_y,
7794 .g_y = test_vector_2_g_y,
8085 .g_y = test_vector_3_g_y,
8376 .g_y = test_vector_4_g_y,
8667 .g_y = test_vector_5_g_y,
8958 .g_y = test_vector_6_g_y,
9249 .g_y = test_vector_7_g_y,
9540 .g_y = test_vector_8_g_y,
9831 .g_y = test_vector_9_g_y,
[all …]
/uoscore-uedhoc-3.4.0/inc/
Dedhoc.h136 struct byte_array g_y; /*ephemeral dh public key*/ member
/uoscore-uedhoc-3.4.0/samples/linux_edhoc_oscore/responder_server/src/
Dmain.cpp244 c_r.g_y.len = test_vectors[vec_num_i].g_y_raw_len; in main()
245 c_r.g_y.ptr = (uint8_t *)test_vectors[vec_num_i].g_y_raw; in main()
/uoscore-uedhoc-3.4.0/test/edhoc_testvector_tests/
Dedhoc_tests.c164 c_r.g_y.len = test_vectors[vec_num].g_y_raw_len; in test_edhoc()
165 c_r.g_y.ptr = (uint8_t *)test_vectors[vec_num].g_y_raw; in test_edhoc()
/uoscore-uedhoc-3.4.0/samples/zephyr_edhoc/responder/src/
Dmain.c104 .g_y.ptr = G_Y, in edhoc_responder_init()
105 .g_y.len = G_Y_LEN, in edhoc_responder_init()
/uoscore-uedhoc-3.4.0/scripts/
Djson2c.py48 const uint8_t *g_y;\n\
340 .g_y = NULL,\n\