added tesla info command, with some of the data that is available. Needed to fix the apdu chaining and a sneaky bug in get_sw since the apdu response was larger then 256

This commit is contained in:
iceman1001 committed 2023-01-21 20:04:27 +01:00
1 parent e1902ffa96
commit f9a65505de
9 files changed
+281 -16

No files matched your search

+1 -1
View File
@@ -85,5 +85,5 @@ void htole24(uint32_t val, uint8_t data[3]);
uint32_t rotl(uint32_t a, uint8_t n);
uint32_t rotr(uint32_t a, uint8_t n);
uint16_t get_sw(const uint8_t *d, uint8_t n);
uint16_t get_sw(const uint8_t *d, uint16_t n);
#endif