Adding code for AES derive
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -65,6 +65,7 @@ extern const uint8_t sc_hsm_aid[];
|
|||||||
#define ALGO_AES_CBC_ENCRYPT 0x10
|
#define ALGO_AES_CBC_ENCRYPT 0x10
|
||||||
#define ALGO_AES_CBC_DECRYPT 0x11
|
#define ALGO_AES_CBC_DECRYPT 0x11
|
||||||
#define ALGO_AES_CMAC 0x18
|
#define ALGO_AES_CMAC 0x18
|
||||||
|
#define ALGO_AES_DERIVE 0x99
|
||||||
|
|
||||||
extern int pin_reset_retries(const file_t *pin, bool);
|
extern int pin_reset_retries(const file_t *pin, bool);
|
||||||
extern int pin_wrong_retry(const file_t *pin);
|
extern int pin_wrong_retry(const file_t *pin);
|
||||||
|
|||||||
Reference in New Issue
Block a user