mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
aria: number of rounds is non-negative
This commit is contained in:
@ -63,7 +63,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int nr; /*!< The number of rounds (12, 14 or 16) */
|
unsigned char nr; /*!< The number of rounds (12, 14 or 16) */
|
||||||
/*! The ARIA round keys. */
|
/*! The ARIA round keys. */
|
||||||
uint32_t rk[MBEDTLS_ARIA_MAX_ROUNDS + 1][MBEDTLS_ARIA_BLOCKSIZE / 4];
|
uint32_t rk[MBEDTLS_ARIA_MAX_ROUNDS + 1][MBEDTLS_ARIA_BLOCKSIZE / 4];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user