pkcs15init: use flag symbolic names
This commit is contained in:
parent
8f33305421
commit
4eaaa797e6
|
@ -74,11 +74,11 @@
|
||||||
|
|
||||||
/* Default ID for new key/pin */
|
/* Default ID for new key/pin */
|
||||||
#define DEFAULT_ID 0x45
|
#define DEFAULT_ID 0x45
|
||||||
#define DEFAULT_PIN_FLAGS 0x03
|
#define DEFAULT_PIN_FLAGS (SC_PKCS15_CO_FLAG_PRIVATE|SC_PKCS15_CO_FLAG_MODIFIABLE)
|
||||||
#define DEFAULT_PRKEY_FLAGS 0x03
|
#define DEFAULT_PRKEY_FLAGS (SC_PKCS15_CO_FLAG_PRIVATE|SC_PKCS15_CO_FLAG_MODIFIABLE)
|
||||||
#define DEFAULT_PUBKEY_FLAGS 0x02
|
#define DEFAULT_PUBKEY_FLAGS (SC_PKCS15_CO_FLAG_MODIFIABLE)
|
||||||
#define DEFAULT_CERT_FLAGS 0x02
|
#define DEFAULT_CERT_FLAGS (SC_PKCS15_CO_FLAG_MODIFIABLE)
|
||||||
#define DEFAULT_DATA_FLAGS 0x02
|
#define DEFAULT_DATA_FLAGS (SC_PKCS15_CO_FLAG_MODIFIABLE)
|
||||||
|
|
||||||
#define TEMPLATE_INSTANTIATE_MIN_INDEX 0x0
|
#define TEMPLATE_INSTANTIATE_MIN_INDEX 0x0
|
||||||
#define TEMPLATE_INSTANTIATE_MAX_INDEX 0xFE
|
#define TEMPLATE_INSTANTIATE_MAX_INDEX 0xFE
|
||||||
|
|
Loading…
Reference in New Issue