Added CHANGE PIN command.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-03-22 20:07:59 +01:00
parent 36420ef098
commit 13f848dafb
2 changed files with 22 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ extern int rsa_sign(mbedtls_rsa_context *ctx,
size_t *out_len);
extern int load_private_key_rsa(mbedtls_rsa_context *ctx, file_t *fkey, bool use_dek);
extern int load_private_key_ecdsa(mbedtls_ecdsa_context *ctx, file_t *fkey, bool use_dek);
extern int pin_reset_retries(const file_t *pin, bool force);
#define ALGO_RSA 0x01
#define ALGO_ECDH 0x12