Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
[nrf noup] treewide: Replace rand32.h with random.h
Browse files Browse the repository at this point in the history
Upstream Zephyr commit e7bd10ae719d1773f8d6b189c18f775d9dfcc93d
renamed the file from rand32.h to random.h.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
  • Loading branch information
de-nordic committed Nov 29, 2023
1 parent 865b82a commit e8cbbda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/crypto/crypto_mbedtls-ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "mbedtls/error.h"
#include "mbedtls/oid.h"

#include <zephyr/random/rand32.h>
#include <zephyr/random/random.h>

#define IANA_SECP256R1 19
#define ECP_PRV_DER_MAX_BYTES 29 + 3 * MBEDTLS_ECP_MAX_BYTES
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/tls_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <mbedtls/build_info.h>
#include <assert.h>

#include <zephyr/random/rand32.h>
#include <zephyr/random/random.h>

#define TLS_RANDOM_LEN 32
#define TLS_MASTER_SECRET_LEN 48
Expand Down
2 changes: 1 addition & 1 deletion src/utils/os_zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <sys/time.h>

#include <zephyr/posix/time.h>
#include <zephyr/random/rand32.h>
#include <zephyr/random/random.h>

#include "includes.h"
#include "os.h"
Expand Down

0 comments on commit e8cbbda

Please sign in to comment.