mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-14 00:17:02 +02:00
This patch adds RNG driver and use it to generate random number for stack protection. Change-Id: I73d79e68d08b5aa902dc7fad48e17a03f996178d Signed-off-by: Saurabh Gorecha <sgorecha@codeaurora.org>
16 lines
308 B
C
16 lines
308 B
C
/*
|
|
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef QTI_RNG_IO_H
|
|
#define QTI_RNG_IO_H
|
|
|
|
#define SEC_PRNG_STATUS 0x00791004
|
|
#define SEC_PRNG_STATUS_DATA_AVAIL_BMSK 0x1
|
|
#define SEC_PRNG_DATA_OUT 0x00791000
|
|
|
|
|
|
#endif /* QTI_RNG_IO_H */
|
|
|