mirror of
https://github.com/Proxmark/proxmark3.git
synced 2026-02-21 05:23:17 +08:00
Merge 5d2586ebfb into 118eca80df
This commit is contained in:
commit
bb07e074b2
2 changed files with 3 additions and 3 deletions
|
|
@ -407,9 +407,9 @@ static int nested_fixed_nonce(StateList_t statelist, uint32_t fixed_nt, uint32_t
|
|||
}
|
||||
|
||||
// test each {ar} response
|
||||
uint32_t key_index;
|
||||
size_t key_index;
|
||||
|
||||
int isOK = mfCheckKeysFixedNonce(statelist.blockNo, statelist.keyType, authentication_timeout, true, num_ar_par, ar_par, &key_index);
|
||||
int isOK = mfCheckKeysFixedNonce(statelist.blockNo, statelist.keyType, authentication_timeout, true, num_ar_par, ar_par, (uint32_t*)&key_index);
|
||||
|
||||
if (isOK == 0) { // success, key found
|
||||
// key_index contains the index into the cypher state list
|
||||
|
|
|
|||
|
|
@ -427,7 +427,7 @@ exit:
|
|||
*/
|
||||
int mbedtls_aes_cmac_prf_128( const unsigned char *key, size_t key_length,
|
||||
const unsigned char *input, size_t in_len,
|
||||
unsigned char *output )
|
||||
unsigned char output[16] )
|
||||
{
|
||||
int ret;
|
||||
const mbedtls_cipher_info_t *cipher_info;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue