mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 01:45:34 +00:00
Merge remote-tracking branch 'upstream-public/pr/1448' into mbedtls-2.7-proposed
This commit is contained in:
commit
32ae73b289
|
@ -25,6 +25,8 @@ Bugfix
|
||||||
that could cause a key exchange to fail on valid data.
|
that could cause a key exchange to fail on valid data.
|
||||||
* Fix a possible arithmetic overflow in ssl_parse_server_psk_hint() that
|
* Fix a possible arithmetic overflow in ssl_parse_server_psk_hint() that
|
||||||
could cause a key exchange to fail on valid data.
|
could cause a key exchange to fail on valid data.
|
||||||
|
* Don't define mbedtls_aes_decrypt and mbedtls_aes_encrypt under
|
||||||
|
MBEDTLS_DEPRECATED_REMOVED. #1388
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Clarify the documentation of mbedtls_ssl_setup.
|
* Clarify the documentation of mbedtls_ssl_setup.
|
||||||
|
|
|
@ -765,12 +765,14 @@ int mbedtls_internal_aes_encrypt( mbedtls_aes_context *ctx,
|
||||||
}
|
}
|
||||||
#endif /* !MBEDTLS_AES_ENCRYPT_ALT */
|
#endif /* !MBEDTLS_AES_ENCRYPT_ALT */
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||||
void mbedtls_aes_encrypt( mbedtls_aes_context *ctx,
|
void mbedtls_aes_encrypt( mbedtls_aes_context *ctx,
|
||||||
const unsigned char input[16],
|
const unsigned char input[16],
|
||||||
unsigned char output[16] )
|
unsigned char output[16] )
|
||||||
{
|
{
|
||||||
mbedtls_internal_aes_encrypt( ctx, input, output );
|
mbedtls_internal_aes_encrypt( ctx, input, output );
|
||||||
}
|
}
|
||||||
|
#endif /* !MBEDTLS_DEPRECATED_REMOVED */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AES-ECB block decryption
|
* AES-ECB block decryption
|
||||||
|
@ -831,12 +833,14 @@ int mbedtls_internal_aes_decrypt( mbedtls_aes_context *ctx,
|
||||||
}
|
}
|
||||||
#endif /* !MBEDTLS_AES_DECRYPT_ALT */
|
#endif /* !MBEDTLS_AES_DECRYPT_ALT */
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||||
void mbedtls_aes_decrypt( mbedtls_aes_context *ctx,
|
void mbedtls_aes_decrypt( mbedtls_aes_context *ctx,
|
||||||
const unsigned char input[16],
|
const unsigned char input[16],
|
||||||
unsigned char output[16] )
|
unsigned char output[16] )
|
||||||
{
|
{
|
||||||
mbedtls_internal_aes_decrypt( ctx, input, output );
|
mbedtls_internal_aes_decrypt( ctx, input, output );
|
||||||
}
|
}
|
||||||
|
#endif /* !MBEDTLS_DEPRECATED_REMOVED */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AES-ECB block encryption/decryption
|
* AES-ECB block encryption/decryption
|
||||||
|
|
Loading…
Reference in a new issue