Re-order mbedtls_cipher_info_t

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-06-24 10:55:04 +01:00
parent 48d13c5143
commit 3319ae9679
2 changed files with 255 additions and 255 deletions

View file

@ -272,6 +272,12 @@ typedef struct mbedtls_cmac_context_t mbedtls_cmac_context_t;
* mbedtls_cipher_info_from_psa().
*/
typedef struct mbedtls_cipher_info_t {
/** Name of the cipher. */
const char *MBEDTLS_PRIVATE(name);
/** Struct for base cipher information and functions. */
const mbedtls_cipher_base_t *MBEDTLS_PRIVATE(base);
/** Full cipher identifier. For example,
* MBEDTLS_CIPHER_AES_256_CBC.
*/
@ -286,9 +292,6 @@ typedef struct mbedtls_cipher_info_t {
*/
uint16_t MBEDTLS_PRIVATE(key_bitlen);
/** Name of the cipher. */
const char *MBEDTLS_PRIVATE(name);
/** IV or nonce size, in Bytes.
* For ciphers that accept variable IV sizes,
* this is the recommended size.
@ -304,9 +307,6 @@ typedef struct mbedtls_cipher_info_t {
/** The block size, in bytes. */
uint8_t MBEDTLS_PRIVATE(block_size) : 5;
/** Struct for base cipher information and functions. */
const mbedtls_cipher_base_t *MBEDTLS_PRIVATE(base);
} mbedtls_cipher_info_t;
/**

File diff suppressed because it is too large Load diff