diff options
Diffstat (limited to 'src/add_felicsref')
| -rw-r--r-- | src/add_felicsref/cipher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add_felicsref/cipher.c b/src/add_felicsref/cipher.c index 59bc5d8..87689df 100644 --- a/src/add_felicsref/cipher.c +++ b/src/add_felicsref/cipher.c @@ -77,7 +77,7 @@ static void _compute_round_tweakeys( tweakey_state_init(TK, key, tweak); tweakey_state_extract(TK, 0, RTK[0]); - for (uint8_t i=1; i<ROUNDS; i++) + for (size_t i=1; i<ROUNDS; i++) { tweakey_state_update(TK); tweakey_state_extract(TK, i, RTK[i]); |
