1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-14 02:22:15 +03:00

Remove duplicate test macros

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman
2023-03-10 17:44:08 +00:00
parent ac447837d3
commit d51b1c5666
2 changed files with 2 additions and 24 deletions

View File

@@ -36,6 +36,7 @@
#include <string.h>
#include <mbedtls/entropy.h>
#include "../../library/alignment.h"
int mbedtls_test_rnd_std_rand(void *rng_state,
unsigned char *output,
@@ -137,7 +138,7 @@ int mbedtls_test_rnd_pseudo_rand(void *rng_state,
+ info->v0) ^ (sum + k[(sum>>11) & 3]);
}
PUT_UINT32_BE(info->v0, result, 0);
MBEDTLS_PUT_UINT32_BE(info->v0, result, 0);
memcpy(out, result, use_len);
len -= use_len;
out += 4;