Home
last modified time | relevance | path

Searched refs:common_iv (Results 1 - 4 of 4) sorted by relevance

/third_party/libcoap/src/oscore/
H A Doscore_context.c144 coap_delete_bin_const(osc_ctx->common_iv); in oscore_free_context()
363 oscore_log_hex_value(COAP_LOG_OSCORE, "Common IV", osc_ctx->common_iv); in oscore_log_context()
394 /* Update sender_key, recipient_key and common_iv */ in oscore_update_ctx()
415 temp = osc_ctx->common_iv; in oscore_update_ctx()
416 osc_ctx->common_iv = oscore_build_key(osc_ctx, in oscore_update_ctx()
420 if (!osc_ctx->common_iv) in oscore_update_ctx()
421 osc_ctx->common_iv = temp; in oscore_update_ctx()
477 osc_ctx->common_iv = oscore_build_key(osc_ctx, in oscore_duplicate_ctx()
481 if (!osc_ctx->common_iv) in oscore_duplicate_ctx()
560 osc_ctx->common_iv in oscore_derive_ctx()
[all...]
H A Doscore.c356 buffer[i] = buffer[i] ^ (uint8_t)ctx->common_iv->s[i]; in oscore_generate_nonce()
/third_party/libcoap/tests/
H A Dtest_oscore.c49 static const uint8_t common_iv[] = { in t_oscore_c_1_1() local
79 CU_ASSERT(CHECK_SAME(common_iv, ctx->p_osc_ctx->common_iv)); in t_oscore_c_1_1()
113 static const uint8_t common_iv[] = { in t_oscore_c_1_2() local
143 CU_ASSERT(CHECK_SAME(common_iv, ctx->p_osc_ctx->common_iv)); in t_oscore_c_1_2()
176 static const uint8_t common_iv[] = { in t_oscore_c_2_1() local
206 CU_ASSERT(CHECK_SAME(common_iv, ctx->p_osc_ctx->common_iv)); in t_oscore_c_2_1()
239 static const uint8_t common_iv[] in t_oscore_c_2_2() local
304 static const uint8_t common_iv[] = { t_oscore_c_3_1() local
369 static const uint8_t common_iv[] = { t_oscore_c_3_2() local
[all...]
/third_party/libcoap/include/oscore/
H A Doscore_context.h88 coap_bin_const_t *common_iv; /**< Derived from Master Secret, member

Completed in 4 milliseconds