Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/crypto/
Dcrypto_npcx_sha.c56 #define NPCX_NCL_SHA ((const struct npcx_ncl_sha *)DT_INST_REG_ADDR(0)) macro
106 ret = NPCX_NCL_SHA->start(npcx_ctx->handle, sha_type); in npcx_sha_compute()
115 ret = NPCX_NCL_SHA->update(npcx_ctx->handle, pkt->in_buf, pkt->in_len); in npcx_sha_compute()
125 ret = NPCX_NCL_SHA->finish(npcx_ctx->handle, pkt->out_buf); in npcx_sha_compute()
165 NPCX_NCL_SHA->init_context(npcx_ctx->handle); in npcx_hash_session_setup()
166 NPCX_NCL_SHA->power(npcx_ctx->handle, 1); in npcx_hash_session_setup()
167 NPCX_NCL_SHA->init(npcx_ctx->handle); in npcx_hash_session_setup()
168 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_setup()
178 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_free()
179 NPCX_NCL_SHA->power(npcx_ctx->handle, 0); in npcx_hash_session_free()
[all …]