mirror of
https://github.com/LedgerHQ/openpgp-card-app
synced 2024-11-09 07:10:30 +00:00
27 lines
387 B
C
27 lines
387 B
C
|
#pragma once
|
||
|
|
||
|
/**
|
||
|
* Offset of instruction class.
|
||
|
*/
|
||
|
#define OFFSET_CLA 0
|
||
|
/**
|
||
|
* Offset of instruction code.
|
||
|
*/
|
||
|
#define OFFSET_INS 1
|
||
|
/**
|
||
|
* Offset of instruction parameter 1.
|
||
|
*/
|
||
|
#define OFFSET_P1 2
|
||
|
/**
|
||
|
* Offset of instruction parameter 2.
|
||
|
*/
|
||
|
#define OFFSET_P2 3
|
||
|
/**
|
||
|
* Offset of command data length.
|
||
|
*/
|
||
|
#define OFFSET_LC 4
|
||
|
/**
|
||
|
* Offset of command data.
|
||
|
*/
|
||
|
#define OFFSET_CDATA 5
|