From e8cbbda545a8ca9fb4e6b1d5f48e6d86b0f6e91d Mon Sep 17 00:00:00 2001 From: Dominik Ermel Date: Thu, 16 Nov 2023 14:17:31 +0000 Subject: [PATCH] [nrf noup] treewide: Replace rand32.h with random.h Upstream Zephyr commit e7bd10ae719d1773f8d6b189c18f775d9dfcc93d renamed the file from rand32.h to random.h. Signed-off-by: Dominik Ermel --- src/crypto/crypto_mbedtls-ec.c | 2 +- src/crypto/tls_mbedtls.c | 2 +- src/utils/os_zephyr.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crypto/crypto_mbedtls-ec.c b/src/crypto/crypto_mbedtls-ec.c index ab9b6abfa..70c09300c 100644 --- a/src/crypto/crypto_mbedtls-ec.c +++ b/src/crypto/crypto_mbedtls-ec.c @@ -22,7 +22,7 @@ #include "mbedtls/error.h" #include "mbedtls/oid.h" -#include +#include #define IANA_SECP256R1 19 #define ECP_PRV_DER_MAX_BYTES 29 + 3 * MBEDTLS_ECP_MAX_BYTES diff --git a/src/crypto/tls_mbedtls.c b/src/crypto/tls_mbedtls.c index b2bd59b54..f270eedcd 100644 --- a/src/crypto/tls_mbedtls.c +++ b/src/crypto/tls_mbedtls.c @@ -21,7 +21,7 @@ #include #include -#include +#include #define TLS_RANDOM_LEN 32 #define TLS_MASTER_SECRET_LEN 48 diff --git a/src/utils/os_zephyr.c b/src/utils/os_zephyr.c index cbc68ae6f..b1f733d0a 100644 --- a/src/utils/os_zephyr.c +++ b/src/utils/os_zephyr.c @@ -7,7 +7,7 @@ #include #include -#include +#include #include "includes.h" #include "os.h"