Home
last modified time | relevance | path

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

/uoscore-uedhoc-3.5.0/src/oscore/
Dsecurity_context.c104 enum err oscore_context_init(struct oscore_init_params *params, in oscore_context_init() argument
109 if (params->aead_alg != OSCORE_AES_CCM_16_64_128) { in oscore_context_init()
116 if (params->hkdf != OSCORE_SHA_256) { in oscore_context_init()
122 c->cc.master_secret = params->master_secret; in oscore_context_init()
123 c->cc.master_salt = params->master_salt; in oscore_context_init()
124 c->cc.id_context = params->id_context; in oscore_context_init()
132 c->rc.recipient_id.len = params->recipient_id.len; in oscore_context_init()
134 memcpy(c->rc.recipient_id.ptr, params->recipient_id.ptr, in oscore_context_init()
135 params->recipient_id.len); in oscore_context_init()
141 c->sc.sender_id = params->sender_id; in oscore_context_init()
[all …]
/uoscore-uedhoc-3.5.0/test/oscore_integration_tests/
Doscore_integration_tests.c30 struct oscore_init_params params = { in get_default_params() local
43 return params; in get_default_params()
55 struct oscore_init_params params = get_default_params(NORMAL, RESTORED); in t1_oscore_client_request_response() local
57 r = oscore_context_init(&params, &c_client); in t1_oscore_client_request_response()
110 struct oscore_init_params params = { in t3_oscore_client_request() local
126 r = oscore_context_init(&params, &c_client); in t3_oscore_client_request()
158 struct oscore_init_params params = { in t5_oscore_client_request() local
174 r = oscore_context_init(&params, &c_client); in t5_oscore_client_request()
346 struct oscore_init_params params = { in t8_oscore_server_response_simple_ack() local
362 r = oscore_context_init(&params, &context); in t8_oscore_server_response_simple_ack()
[all …]
/uoscore-uedhoc-3.5.0/samples/linux_oscore/client/src/
Dmain.cpp74 oscore_init_params params = { in main() local
89 r = oscore_context_init(&params, &c_client); in main()
/uoscore-uedhoc-3.5.0/samples/linux_oscore/server/src/
Dmain.cpp117 oscore_init_params params = { in main() local
132 r = oscore_context_init(&params, &c_server); in main()
/uoscore-uedhoc-3.5.0/test/oscore_unit_tests/
Dunit_test_security_context.c46 struct oscore_init_params params = { in t500_oscore_context_init_corner_cases() local
50 r = oscore_context_init(&params, &c); in t500_oscore_context_init_corner_cases()
/uoscore-uedhoc-3.5.0/inc/
Doscore.h98 enum err oscore_context_init(struct oscore_init_params *params,
/uoscore-uedhoc-3.5.0/samples/linux_edhoc_oscore/initiator_client/src/
Dmain.cpp246 oscore_init_params params = { in main() local
261 TRY(oscore_context_init(&params, &c_client)); in main()
/uoscore-uedhoc-3.5.0/samples/linux_edhoc_oscore/responder_server/src/
Dmain.cpp318 oscore_init_params params = { in main() local
333 TRY(oscore_context_init(&params, &c_server)); in main()