mirror of https://github.com/wolfSSL/wolfssl.git
Revert built-in `wc_GenerateSeed` support for RX TSIP removed in #6851.
parent
41cf8c090b
commit
2b4acf5027
|
@ -110,7 +110,7 @@ This library contains implementation for the random number generator.
|
|||
#include <basictypes.h>
|
||||
#include <random.h>
|
||||
#elif defined(WOLFSSL_XILINX_CRYPT_VERSAL)
|
||||
#include "wolfssl/wolfcrypt/port/xilinx/xil-versal-trng.h"
|
||||
#include "wolfssl/wolfcrypt/port/xilinx/xil-versal-trng.h"
|
||||
#elif defined(NO_DEV_RANDOM)
|
||||
#elif defined(CUSTOM_RAND_GENERATE)
|
||||
#elif defined(CUSTOM_RAND_GENERATE_BLOCK)
|
||||
|
@ -126,6 +126,9 @@ This library contains implementation for the random number generator.
|
|||
#elif defined(WOLFSSL_PB)
|
||||
#elif defined(WOLFSSL_ZEPHYR)
|
||||
#elif defined(WOLFSSL_TELIT_M2MB)
|
||||
#elif defined(WOLFSSL_RENESAS_TSIP)
|
||||
/* for wc_tsip_GenerateRandBlock */
|
||||
#include "wolfssl/wolfcrypt/port/Renesas/renesas-tsip-crypt.h"
|
||||
#elif defined(WOLFSSL_SCE) && !defined(WOLFSSL_SCE_NO_TRNG)
|
||||
#elif defined(WOLFSSL_IMXRT1170_CAAM)
|
||||
#elif defined(CY_USING_HAL) && defined(COMPONENT_WOLFSSL)
|
||||
|
@ -3652,6 +3655,14 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#elif defined(WOLFSSL_RENESAS_TSIP)
|
||||
|
||||
int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
||||
{
|
||||
(void)os;
|
||||
return wc_tsip_GenerateRandBlock(output, sz);
|
||||
}
|
||||
|
||||
|
||||
#elif defined(WOLFSSL_SCE) && !defined(WOLFSSL_SCE_NO_TRNG)
|
||||
#include "hal_data.h"
|
||||
|
|
Loading…
Reference in New Issue