Favor stdint.h types in implementation-specific API

This commit is contained in:
Gilles Peskine 2019-07-15 11:06:15 +02:00
parent f82088a5f4
commit 7228da25f9
2 changed files with 2 additions and 2 deletions

View file

@ -221,7 +221,7 @@ void mbedtls_psa_get_stats( mbedtls_psa_stats_t *stats );
* The library has already been initialized. It is no longer * The library has already been initialized. It is no longer
* possible to call this function. * possible to call this function.
*/ */
psa_status_t mbedtls_psa_inject_entropy(const unsigned char *seed, psa_status_t mbedtls_psa_inject_entropy(uint8_t *seed,
size_t seed_size); size_t seed_size);
#if defined(PSA_PRE_1_0_KEY_DERIVATION) #if defined(PSA_PRE_1_0_KEY_DERIVATION)

View file

@ -5313,7 +5313,7 @@ psa_status_t psa_generate_random( uint8_t *output,
#if defined(MBEDTLS_PSA_INJECT_ENTROPY) #if defined(MBEDTLS_PSA_INJECT_ENTROPY)
#include "mbedtls/entropy_poll.h" #include "mbedtls/entropy_poll.h"
psa_status_t mbedtls_psa_inject_entropy( const unsigned char *seed, psa_status_t mbedtls_psa_inject_entropy( const uint8_t *seed,
size_t seed_size ) size_t seed_size )
{ {
if( global_data.initialized ) if( global_data.initialized )