aria: number of rounds is non-negative
@@ -63,7 +63,7 @@ extern "C" {
*/
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. */
uint32_t rk[MBEDTLS_ARIA_MAX_ROUNDS + 1][MBEDTLS_ARIA_BLOCKSIZE / 4];
}
