mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 18:04:21 +01:00
Remove temporary code
This commit is contained in:
parent
23c2f6fee5
commit
bfa3c9a85f
@ -485,11 +485,7 @@ int aes_setkey_enc( aes_context *ctx, const unsigned char *key, unsigned int key
|
|||||||
|
|
||||||
#if defined(POLARSSL_AESNI_C) && defined(POLARSSL_HAVE_X86_64)
|
#if defined(POLARSSL_AESNI_C) && defined(POLARSSL_HAVE_X86_64)
|
||||||
if( aesni_supports( POLARSSL_AESNI_AES ) )
|
if( aesni_supports( POLARSSL_AESNI_AES ) )
|
||||||
{
|
return( aesni_setkey_enc( (unsigned char *) ctx->rk, key, keysize ) );
|
||||||
int ret = aesni_setkey_enc( (unsigned char *) ctx->rk, key, keysize );
|
|
||||||
// XXX: temporary while some key size aren't handled
|
|
||||||
if( ret == 0 ) return( ret );
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for( i = 0; i < (keysize >> 5); i++ )
|
for( i = 0; i < (keysize >> 5); i++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user