aes.c: remove non-functional code

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
Yanray Wang 2023-11-08 19:05:29 +08:00
parent 4995e0c31b
commit 004a60c087

View file

@ -1070,7 +1070,6 @@ int mbedtls_aes_crypt_ecb(mbedtls_aes_context *ctx,
return MBEDTLS_ERR_AES_FEATURE_UNAVAILABLE;
#endif
}
return mbedtls_internal_aes_encrypt(ctx, input, output);
#endif /* !MBEDTLS_AES_USE_HARDWARE_ONLY */
}