Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/crypto/
Dcrypto_mcux_dcp.c84 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_cbc_encrypt()
119 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_cbc_decrypt()
150 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_ecb_encrypt()
170 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_ecb_decrypt()
223 ctx->drv_sessn_state = session; in crypto_dcp_cipher_begin_session()
240 session = ctx->drv_sessn_state; in crypto_dcp_cipher_free_session()
249 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_sha256()
295 ctx->drv_sessn_state = session; in crypto_dcp_hash_begin_session()
307 session = ctx->drv_sessn_state; in crypto_dcp_hash_free_session()
Dcrypto_tc_shim.c31 struct tc_shim_drv_state *data = ctx->drv_sessn_state; in do_cbc_encrypt()
51 struct tc_shim_drv_state *data = ctx->drv_sessn_state; in do_cbc_decrypt()
79 struct tc_shim_drv_state *data = ctx->drv_sessn_state; in do_ctr_op()
105 struct tc_shim_drv_state *data = ctx->drv_sessn_state; in do_ccm_encrypt_mac()
145 struct tc_shim_drv_state *data = ctx->drv_sessn_state; in do_ccm_decrypt_auth()
284 ctx->drv_sessn_state = data; in tc_session_setup()
296 struct tc_shim_drv_state *data = sessn->drv_sessn_state; in tc_session_free()
Dcrypto_npcx_sha.c86 struct npcx_sha_session *npcx_session = ctx->drv_sessn_state; in npcx_sha_compute()
160 ctx->drv_sessn_state = &npcx_sessions[ctx_idx]; in npcx_hash_session_setup()
175 struct npcx_sha_session *npcx_session = ctx->drv_sessn_state; in npcx_hash_session_free()
Dcrypto_stm32_priv.h44 ((struct crypto_stm32_session *const)(ctx)->drv_sessn_state)
Dcrypto_mtls_shim.c67 (&((struct mtls_shim_session *)c->drv_sessn_state)->mtls_ ## m)
70 (((struct mtls_shim_session *)c->drv_sessn_state)->algo)
441 ctx->drv_sessn_state = &mtls_sessions[ctx_idx]; in mtls_session_setup()
449 (struct mtls_shim_session *)ctx->drv_sessn_state; in mtls_session_free()
562 ctx->drv_sessn_state = &mtls_sessions[ctx_idx]; in mtls_hash_session_setup()
584 (struct mtls_shim_session *)ctx->drv_sessn_state; in mtls_hash_session_free()
Dcrypto_intel_sha.c201 struct sha_session *session = (struct sha_session *)ctx->drv_sessn_state; in intel_sha_compute()
296 ctx->drv_sessn_state = &sha_sessions[ctx_idx]; in intel_sha_device_set_hash_type()
313 struct sha_session *session = (struct sha_session *)ctx->drv_sessn_state; in intel_sha_device_free()
Dcrypto_ataes132a.c673 struct ataes132a_driver_state *state = ctx->drv_sessn_state; in do_ccm_encrypt_mac()
722 struct ataes132a_driver_state *state = ctx->drv_sessn_state; in do_ccm_decrypt_auth()
767 struct ataes132a_driver_state *state = ctx->drv_sessn_state; in do_block()
787 struct ataes132a_driver_state *state = session->drv_sessn_state; in ataes132a_session_free()
826 ctx->drv_sessn_state = &ataes132a_state[key_id]; in ataes132a_session_setup()
Dcrypto_mchp_xec_symcr.c310 hs = (struct xec_symcr_hash_session *)ctx->drv_sessn_state; in xec_symcr_do_hash()
431 ctx->drv_sessn_state = hs; in xec_symcr_hash_session_begin()
481 hs = (struct xec_symcr_hash_session *)ctx->drv_sessn_state; in xec_symcr_hash_session_free()
Dcrypto_si32.c574 session = (struct crypto_session *)ctx->drv_sessn_state; in crypto_si32_aes_ecb_op()
710 session = (struct crypto_session *)ctx->drv_sessn_state; in crypto_si32_aes_cbc_op()
883 session = (struct crypto_session *)ctx->drv_sessn_state; in crypto_si32_aes_ctr_op()
1170 ctx->drv_sessn_state = session; in crypto_si32_begin_session()
1187 struct crypto_session *session = (struct crypto_session *)ctx->drv_sessn_state; in crypto_si32_free_session()
Dcrypto_smartbond.c843 ctx->drv_sessn_state = NULL; in crypto_smartbond_cipher_begin_session()
899 ctx->drv_sessn_state = NULL; in crypto_smartbond_hash_begin_session()
Dcrypto_stm32.c469 ctx->drv_sessn_state = session; in crypto_stm32_session_setup()
/Zephyr-latest/include/zephyr/crypto/
Dhash.h60 void *drv_sessn_state; member
Dcipher.h140 void *drv_sessn_state; member
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/rom_api/src/
Dmain.c427 zhash_ctx.drv_sessn_state = NULL; in test_zephyr_hash_chunk_block_size()
520 zhash_ctx.drv_sessn_state = NULL; in test_zephyr_hash_chunk()