db8855aaa3
The pre-alloacted size of the buffer for the SHA ROM API code increases in npcx4 chip. This commit adds a new property context-buffer-size to sha0 DT node in npcx9 and npcx4 separately. The driver can pre-allocate buffer with the correct size based on the property. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
20 lines
428 B
YAML
20 lines
428 B
YAML
# Copyright (c) 2022 Nuvoton Technology Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: NPCX Crypto SHA accelerator.
|
|
|
|
compatible: "nuvoton,npcx-sha"
|
|
|
|
include: base.yaml
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
context-buffer-size:
|
|
type: int
|
|
required: true
|
|
description: |
|
|
Size of the pre-allocated buffer for the SHA ROM API to store the
|
|
intermdiate computation result and final digest.
|