mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 16:36:55 +00:00
Only specify done label in aes.c when AES-NI is possible
This commit is contained in:
parent
3e72f6effd
commit
0d0de92156
|
@ -628,7 +628,9 @@ int aes_setkey_dec( aes_context *ctx, const unsigned char *key, unsigned int key
|
||||||
*RK++ = *SK++;
|
*RK++ = *SK++;
|
||||||
*RK++ = *SK++;
|
*RK++ = *SK++;
|
||||||
|
|
||||||
|
#if defined(POLARSSL_AESNI_C) && defined(POLARSSL_HAVE_X86_64)
|
||||||
done:
|
done:
|
||||||
|
#endif
|
||||||
memset( &cty, 0, sizeof( aes_context ) );
|
memset( &cty, 0, sizeof( aes_context ) );
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
|
|
Loading…
Reference in a new issue