Home
last modified time | relevance | path

Searched refs:master_secret (Results 1 – 8 of 8) sorted by relevance

/uoscore-uedhoc-3.7.0/test/edhoc_integration_tests/
Dexporter_tests.c19 struct byte_array master_secret = { .ptr = master_secret_buf, in test_exporter() local
47 &master_secret); in test_exporter()
49 zassert_mem_equal__(T1_OSCORE_MASTER_SECRET, master_secret.ptr, in test_exporter()
50 master_secret.len, "wrong master_secret"); in test_exporter()
/uoscore-uedhoc-3.7.0/test/oscore_latency_tests/
Doscore_latency_test.c120 .master_secret.ptr = (uint8_t *)T1__MASTER_SECRET, in t800_oscore_latency_test()
121 .master_secret.len = T1__MASTER_SECRET_LEN, in t800_oscore_latency_test()
140 .master_secret.ptr = (uint8_t *)T1__MASTER_SECRET, in t800_oscore_latency_test()
141 .master_secret.len = T1__MASTER_SECRET_LEN, in t800_oscore_latency_test()
/uoscore-uedhoc-3.7.0/test/oscore_integration_tests/
Doscore_integration_tests.c32 .master_secret.ptr = (uint8_t *)T1__MASTER_SECRET, in get_default_params()
33 .master_secret.len = T1__MASTER_SECRET_LEN, in get_default_params()
112 .master_secret.ptr = (uint8_t *)T3__MASTER_SECRET, in t3_oscore_client_request()
113 .master_secret.len = T3__MASTER_SECRET_LEN, in t3_oscore_client_request()
160 .master_secret.ptr = (uint8_t *)T5__MASTER_SECRET, in t5_oscore_client_request()
161 .master_secret.len = T5__MASTER_SECRET_LEN, in t5_oscore_client_request()
208 .master_secret.ptr = (uint8_t *)T2__MASTER_SECRET, in t2_oscore_server_request_response()
209 .master_secret.len = T2__MASTER_SECRET_LEN, in t2_oscore_server_request_response()
266 .master_secret.ptr = (uint8_t *)T4__MASTER_SECRET, in t4_oscore_server_key_derivation()
267 .master_secret.len = T4__MASTER_SECRET_LEN, in t4_oscore_server_key_derivation()
[all …]
/uoscore-uedhoc-3.7.0/src/oscore/
Dsecurity_context.c52 TRY(hkdf_sha_256(&cc->master_secret, &cc->master_salt, &info, in derive()
123 c->cc.master_secret = params->master_secret; in oscore_context_init()
/uoscore-uedhoc-3.7.0/inc/
Doscore.h70 const struct byte_array master_secret; member
/uoscore-uedhoc-3.7.0/inc/oscore/
Dsecurity_context.h52 struct byte_array master_secret; member
/uoscore-uedhoc-3.7.0/inc/common/
Dcrypto_wrapper.h128 enum err hkdf_sha_256(struct byte_array *master_secret,
/uoscore-uedhoc-3.7.0/src/common/
Dcrypto_wrapper.c667 enum err WEAK hkdf_sha_256(struct byte_array *master_secret, in hkdf_sha_256() argument
672 TRY(hkdf_extract(SHA_256, master_salt, master_secret, prk.ptr)); in hkdf_sha_256()