Adjust to added fields in cipher_base_t

This is a follow-up to the previous merge commit: two fields were added in the
merged development branch
This commit is contained in:
Manuel Pégourié-Gonnard 2018-06-19 11:30:32 +02:00
parent 0dadba2b58
commit a18034a8e2

View File

@ -1949,9 +1949,15 @@ static const mbedtls_cipher_base_t chacha20_base_info = {
#if defined(MBEDTLS_CIPHER_MODE_CFB)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_OFB)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_CTR)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_XTS)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_STREAM)
chacha20_stream_wrap,
#endif
@ -2015,9 +2021,15 @@ static const mbedtls_cipher_base_t chachapoly_base_info = {
#if defined(MBEDTLS_CIPHER_MODE_CFB)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_OFB)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_CTR)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_XTS)
NULL,
#endif
#if defined(MBEDTLS_CIPHER_MODE_STREAM)
NULL,
#endif