Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/crypto/
Dcrypto_intel_sha.c17 static struct sha_session sha_sessions[SHA_MAX_SESSIONS]; variable
24 if (!sha_sessions[i].in_use) { in intel_sha_get_unused_session_idx()
25 sha_sessions[i].in_use = true; in intel_sha_get_unused_session_idx()
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()