sniffer: display F and D values frim PPS

Change-Id: I3641dcb6c24695a6d3dd3a1ee4333f56a07c99f0
This commit is contained in:
Kévin Redon authored and King Kévin committed 2018-07-04 17:10:08 +02:00
1 parent 6e3f1121e6
commit 7406337a7f
3 files changed
+9 -3

No files matched your search

+2 -2
View File
@@ -24,13 +24,13 @@
#include "iso7816_fidi.h"
/* Table 7 of ISO 7816-3:2006 */
static const uint16_t fi_table[] = {
const uint16_t fi_table[] = {
372, 372, 558, 744, 1116, 1488, 1860, 0,
0, 512, 768, 1024, 1536, 2048, 0, 0
};
/* Table 8 from ISO 7816-3:2006 */
static const uint8_t di_table[] = {
const uint8_t di_table[] = {
0, 1, 2, 4, 8, 16, 32, 64,
12, 20, 2, 4, 8, 16, 32, 64,
};