mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 10:14:17 +01:00
Initialize ebx and edx in padlock functions
This commit is contained in:
parent
3a8cb6ff8e
commit
53e1513fea
@ -43,7 +43,7 @@
|
|||||||
int padlock_supports( int feature )
|
int padlock_supports( int feature )
|
||||||
{
|
{
|
||||||
static int flags = -1;
|
static int flags = -1;
|
||||||
int ebx, edx;
|
int ebx = 0, edx = 0;
|
||||||
|
|
||||||
if( flags == -1 )
|
if( flags == -1 )
|
||||||
{
|
{
|
||||||
@ -76,7 +76,7 @@ int padlock_xcryptecb( aes_context *ctx,
|
|||||||
const unsigned char input[16],
|
const unsigned char input[16],
|
||||||
unsigned char output[16] )
|
unsigned char output[16] )
|
||||||
{
|
{
|
||||||
int ebx;
|
int ebx = 0;
|
||||||
uint32_t *rk;
|
uint32_t *rk;
|
||||||
uint32_t *blk;
|
uint32_t *blk;
|
||||||
uint32_t *ctrl;
|
uint32_t *ctrl;
|
||||||
@ -117,7 +117,7 @@ int padlock_xcryptcbc( aes_context *ctx,
|
|||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output )
|
unsigned char *output )
|
||||||
{
|
{
|
||||||
int ebx;
|
int ebx = 0;
|
||||||
size_t count;
|
size_t count;
|
||||||
uint32_t *rk;
|
uint32_t *rk;
|
||||||
uint32_t *iw;
|
uint32_t *iw;
|
||||||
|
Loading…
Reference in New Issue
Block a user