CHG: a select_legic function with structs and stuff and

This commit is contained in:
iceman1001 2016-09-29 12:23:09 +02:00
commit a39944216d
7 changed files with 132 additions and 95 deletions

View file

@ -31,7 +31,7 @@ typedef struct {
uint8_t mem_config; //[13]
uint8_t eas; //[14]
uint8_t fuses; //[15]
}picopass_conf_block;
} picopass_conf_block;
typedef struct {
@ -41,8 +41,7 @@ typedef struct {
uint8_t key_d[8];
uint8_t key_c[8];
uint8_t app_issuer_area[8];
}picopass_hdr;
} picopass_hdr;
uint8_t isset(uint8_t val, uint8_t mask) {
return (val & mask);