mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 11:28:04 +00:00
Favor stdint.h types in implementation-specific API
This commit is contained in:
parent
f82088a5f4
commit
7228da25f9
|
@ -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)
|
||||||
|
|
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue