Searched refs:ctx_idx (Results 1 – 5 of 5) sorted by relevance
324 int ctx_idx; in mtls_session_setup() local352 ctx_idx = mtls_get_unused_session_index(); in mtls_session_setup()353 if (ctx_idx < 0) { in mtls_session_setup()361 aes_ctx = &mtls_sessions[ctx_idx].mtls_aes; in mtls_session_setup()375 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()380 aes_ctx = &mtls_sessions[ctx_idx].mtls_aes; in mtls_session_setup()394 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()399 ccm_ctx = &mtls_sessions[ctx_idx].mtls_ccm; in mtls_session_setup()405 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()417 gcm_ctx = &mtls_sessions[ctx_idx].mtls_gcm; in mtls_session_setup()[all …]
138 int ctx_idx; in npcx_hash_session_setup() local152 ctx_idx = npcx_get_unused_session_index(); in npcx_hash_session_setup()153 if (ctx_idx < 0) { in npcx_hash_session_setup()158 npcx_sessions[ctx_idx].algo = algo; in npcx_hash_session_setup()160 ctx->drv_sessn_state = &npcx_sessions[ctx_idx]; in npcx_hash_session_setup()164 npcx_ctx = &npcx_sessions[ctx_idx].npcx_sha_ctx; in npcx_hash_session_setup()
287 int ctx_idx; in intel_sha_device_set_hash_type() local290 ctx_idx = intel_sha_get_unused_session_idx(); in intel_sha_device_set_hash_type()292 if (ctx_idx < 0) { in intel_sha_device_set_hash_type()296 ctx->drv_sessn_state = &sha_sessions[ctx_idx]; in intel_sha_device_set_hash_type()302 sha_sessions[ctx_idx].state.part.state = SHA_FIRST; in intel_sha_device_set_hash_type()303 sha_sessions[ctx_idx].state.part.hrsm = SHA_HRSM_DISABLE; in intel_sha_device_set_hash_type()304 sha_sessions[ctx_idx].algo = algo; in intel_sha_device_set_hash_type()
333 int ctx_idx, ret; in crypto_stm32_session_setup() local374 ctx_idx = crypto_stm32_get_unused_session_index(dev); in crypto_stm32_session_setup()375 if (ctx_idx < 0) { in crypto_stm32_session_setup()379 session = &crypto_stm32_sessions[ctx_idx]; in crypto_stm32_session_setup()
67 for (int ctx_idx = 0; ctx_idx < CONFIG_BT_CTLR_LLCP_CONN; ctx_idx++) { in ZTEST() local68 ctxs[ctx_idx] = llcp_create_local_procedure(PROC_VERSION_EXCHANGE); in ZTEST()