Merge pull request #283 from ARMmbed/dev/gilles-peskine-arm/ctr_drbg-aes_fail-crypto
Uncaught AES failure in CTR_DRBG
This commit is contained in:
commit
ba9fff2433
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ int mbedtls_ctr_drbg_random_with_add( void *p_rng,
|
||||||
exit:
|
exit:
|
||||||
mbedtls_platform_zeroize( add_input, sizeof( add_input ) );
|
mbedtls_platform_zeroize( add_input, sizeof( add_input ) );
|
||||||
mbedtls_platform_zeroize( tmp, sizeof( tmp ) );
|
mbedtls_platform_zeroize( tmp, sizeof( tmp ) );
|
||||||
return( 0 );
|
return( ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
int mbedtls_ctr_drbg_random( void *p_rng, unsigned char *output,
|
int mbedtls_ctr_drbg_random( void *p_rng, unsigned char *output,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue