mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 21:58:33 +03:00
13 lines
274 B
C
13 lines
274 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
/* Table 7 of ISO 7816-3:2006 */
|
|
extern const uint16_t fi_table[];
|
|
|
|
/* Table 8 from ISO 7816-3:2006 */
|
|
extern const uint8_t di_table[];
|
|
|
|
/* compute the F/D ratio based on Fi and Di values */
|
|
int compute_fidi_ratio(uint8_t fi, uint8_t di);
|