improved calc_iclass_mac to work independant of size

This commit is contained in:
penturalabs committed 2014-05-02 23:30:03 +01:00
1 parent a66fca86b9
commit fe53c0311c
3 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -41,6 +41,6 @@ typedef struct {
} State;
void printarr(char * name, uint8_t* arr, int len);
int calc_iclass_mac(uint8_t *cc_nr_p, uint8_t *div_key_p, uint8_t *mac);
int calc_iclass_mac(uint8_t *cc_nr_p, int length, uint8_t *div_key_p, uint8_t *mac);
#endif // CIPHER_H