Lines Matching refs:handle
75 uint8_t handle[NPCX_SHA256_HANDLE_SIZE]; member
122 ret = NPCX_NCL_SHA->start(npcx_ctx->handle, sha_type); in npcx_sha_compute()
131 ret = NPCX_NCL_SHA->update(npcx_ctx->handle, pkt->in_buf, pkt->in_len); in npcx_sha_compute()
141 ret = NPCX_NCL_SHA->finish(npcx_ctx->handle, pkt->out_buf); in npcx_sha_compute()
181 NPCX_NCL_SHA->init_context(npcx_ctx->handle); in npcx_hash_session_setup()
182 NPCX_NCL_SHA->power(npcx_ctx->handle, 1); in npcx_hash_session_setup()
183 NPCX_NCL_SHA->init(npcx_ctx->handle); in npcx_hash_session_setup()
184 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_setup()
194 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_free()
195 NPCX_NCL_SHA->power(npcx_ctx->handle, 0); in npcx_hash_session_free()
196 NPCX_NCL_SHA->finalize_context(npcx_ctx->handle); in npcx_hash_session_free()