From eb73f7ab6fdb5cfcec1f90cee52fa1c490e11b56 Mon Sep 17 00:00:00 2001 From: Nir Sonnenschein Date: Mon, 30 Jul 2018 17:46:49 +0300 Subject: [PATCH] fix trailing white spaces --- include/mbedtls/config.h | 6 +++--- include/mbedtls/ctr_drbg.h | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index a79dff83e..ad35f7b8e 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -2030,13 +2030,13 @@ #define MBEDTLS_CTR_DRBG_C /** - * configure key size for ctr DRBG , either + * configure key size for ctr DRBG , either * MBEDTLS_CTR_DRBG_KEYSIZE_256 (default) - * or + * or * MBEDTLS_CTR_DRBG_KEYSIZE_128 * must be set. */ -#if !defined(MBEDTLS_CTR_DRBG_KEY_SIZE_128) +#if !defined(MBEDTLS_CTR_DRBG_KEY_SIZE_128) #define MBEDTLS_CTR_DRBG_KEY_SIZE_256 1 #endif /** diff --git a/include/mbedtls/ctr_drbg.h b/include/mbedtls/ctr_drbg.h index 1323043ff..f0f816312 100644 --- a/include/mbedtls/ctr_drbg.h +++ b/include/mbedtls/ctr_drbg.h @@ -8,9 +8,9 @@ * Recommendation for Random Number Generation Using Deterministic Random * Bit Generators. * - * The Mbed TLS implementation of CTR_DRBG uses AES-256 (default) or AES-128 + * The Mbed TLS implementation of CTR_DRBG uses AES-256 (default) or AES-128 * as the underlying block cipher. - * + * * * \warning ARC4 is considered a weak cipher and its use constitutes a * security risk. We recommend considering stronger ciphers instead. */ @@ -48,14 +48,14 @@ #define MBEDTLS_ERR_CTR_DRBG_FILE_IO_ERROR -0x003A /**< Read or write error in file. */ #define MBEDTLS_CTR_DRBG_BLOCKSIZE 16 /**< The block size used by the cipher. */ -#if defined(MBEDTLS_CTR_DRBG_KEY_SIZE_256) +#if defined(MBEDTLS_CTR_DRBG_KEY_SIZE_256) #define MBEDTLS_CTR_DRBG_KEYSIZE 32 /**< The key size used by the cipher. */ -#else -#if defined(MBEDTLS_CTR_DRBG_KEY_SIZE_128) +#else +#if defined(MBEDTLS_CTR_DRBG_KEY_SIZE_128) #warning Warning: using smaller (128bit) key size for CTR DRBG may reduce the security of some operations. #define MBEDTLS_CTR_DRBG_KEYSIZE 16 /**< The key size used by the cipher. */ -#else -#error for ctr DRBG either MBEDTLS_CTR_DRBG_KEYSIZE_256 (default) or MBEDTLS_CTR_DRBG_KEYSIZE_128 must be set +#else +#error for ctr DRBG either MBEDTLS_CTR_DRBG_KEY_SIZE_256 (default) or MBEDTLS_CTR_DRBG_KEY_SIZE_128 must be set #endif #endif #define MBEDTLS_CTR_DRBG_KEYBITS ( MBEDTLS_CTR_DRBG_KEYSIZE * 8 ) /**< The key size for the DRBG operation, in bits. */