drivers: entropy: npcx: add rng driver support

This commit add the rng driver support by using the npcx drgb API.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This commit is contained in:
Jun Lin 2024-02-07 11:30:58 +08:00 committed by Fabio Baltieri
commit 6057a83060
8 changed files with 385 additions and 18 deletions

View file

@ -0,0 +1,19 @@
# Copyright (c) 2024 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: NPCX Deterministic Random Bit Generator
compatible: "nuvoton,npcx-drbg"
include: base.yaml
properties:
reg:
required: true
context-buffer-size:
type: int
required: true
description: |
Size of the pre-allocated buffer for the DRBG ROM API to store the
intermediate/final computation result.