rnda & rndb are 16 bytes long in 3K3DS and AES mode.
This commit is contained in:
parent
646a20da34
commit
32c585db69
2 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ struct mifare_desfire_tag {
|
|||
uint32_t selected_application;
|
||||
};
|
||||
|
||||
MifareDESFireKey mifare_desfire_session_key_new (uint8_t rnda[8], uint8_t rndb[8], MifareDESFireKey authentication_key);
|
||||
MifareDESFireKey mifare_desfire_session_key_new (uint8_t rnda[], uint8_t rndb[], MifareDESFireKey authentication_key);
|
||||
const char *mifare_desfire_error_lookup (uint8_t error);
|
||||
|
||||
struct mifare_ultralight_tag {
|
||||
|
|
|
@ -158,7 +158,7 @@ mifare_desfire_key_set_version (MifareDESFireKey key, uint8_t version)
|
|||
}
|
||||
|
||||
MifareDESFireKey
|
||||
mifare_desfire_session_key_new (uint8_t rnda[8], uint8_t rndb[8], MifareDESFireKey authentication_key)
|
||||
mifare_desfire_session_key_new (uint8_t rnda[], uint8_t rndb[], MifareDESFireKey authentication_key)
|
||||
{
|
||||
MifareDESFireKey key = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue