More struct re-ordering
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/include/mbedtls/cipher.h b/include/mbedtls/cipher.h
index 9ba32ee..c1d7111 100644
--- a/include/mbedtls/cipher.h
+++ b/include/mbedtls/cipher.h
@@ -284,17 +284,17 @@
*/
unsigned int MBEDTLS_PRIVATE(iv_size) : 3;
- /** The cipher mode (as per mbedtls_cipher_mode_t).
- * For example, MBEDTLS_MODE_CBC.
- */
- unsigned int MBEDTLS_PRIVATE(mode) : 4;
-
/** The cipher key length, in bits. This is the
* default length for variable sized ciphers.
* Includes parity bits for ciphers like DES.
*/
unsigned int MBEDTLS_PRIVATE(key_bitlen) : 4;
+ /** The cipher mode (as per mbedtls_cipher_mode_t).
+ * For example, MBEDTLS_MODE_CBC.
+ */
+ unsigned int MBEDTLS_PRIVATE(mode) : 4;
+
/** Full cipher identifier (as per mbedtls_cipher_type_t).
* For example, MBEDTLS_CIPHER_AES_256_CBC.
*/