mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-22 23:11:19 +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>
15 lines
255 B
C
15 lines
255 B
C
/*
|
|
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef QTI_RNG_H
|
|
#define QTI_RNG_H
|
|
|
|
#include <stdinit.h>
|
|
|
|
int qti_rng_get_data(uint8_t *out, uint32_t out_len);
|
|
|
|
#endif /* QTI_RNG_H */
|