aria: number of rounds is non-negative
This commit is contained in:
parent
7fc08795c1
commit
906bc90b30
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue