Lines Matching refs:NPCX_NCL_SHA
56 #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()
180 NPCX_NCL_SHA->finalize_context(npcx_ctx->handle); in npcx_hash_session_free()
195 handle_size_required = NPCX_NCL_SHA->get_context_size(); in npcx_hash_init()