Skip to content
Commit fde31c03 authored by Jun Lin's avatar Jun Lin Committed by Fabio Baltieri
Browse files

driver: crypto: SHA: npcx: fix SHA driver for npcx4 QS chip



The commit fixes the SHA driver because the ROM API has the following
changes from ES to QS chip:
1. base addres: from 0x13c -> 0x148
2. required SHA context buffer size : from 228 -> 240 bytes

This change also adds a check for the pre-allocated buffer size of the
SHA context when the driver initiliazes.

Signed-off-by: default avatarJun Lin <CHLin56@nuvoton.com>
parent 11d4f8e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment