R is const.
This commit is contained in:
parent
ca1fc02d6e
commit
db489b6cb7
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ void
|
|||
cmac_generate_subkeys (MifareDESFireKey key)
|
||||
{
|
||||
int kbs = key_block_size (key);
|
||||
uint8_t R = (kbs == 8) ? 0x1B : 0x87;
|
||||
const uint8_t R = (kbs == 8) ? 0x1B : 0x87;
|
||||
|
||||
uint8_t l[kbs];
|
||||
memset (l, 0, kbs);
|
||||
|
|
Loading…
Reference in a new issue