Wire Sysio Wire Sysion 1.0.0
|
Go to the source code of this file.
Classes | |
struct | yubihsm_pkcs11_object_desc |
struct | find_info |
struct | sign_info |
struct | digest_info |
struct | decrypt_info |
struct | encrypt_info |
struct | verify_info |
union | op |
struct | mechanism |
struct | ecdh_session_key |
struct | yubihsm_pkcs11_op_info |
struct | yubihsm_pkcs11_context |
struct | yubihsm_pkcs11_slot |
struct | yubihsm_pkcs11_session |
struct | yubihsm_pkcs11_object_template |
Macros | |
#define | YUBIHSM_PKCS11_OP_BUFSIZE 4096 |
#define | MAX_ECDH_SESSION_KEYS 255 |
#define | ECDH_KEY_BUF_SIZE 128 |
#define | ECDH_KEY_TYPE 0x00FF |
#define | SESSION_AUTHENTICATED (SESSION_AUTHENTICATED_RO | SESSION_AUTHENTICATED_RW) |
#define | SESSION_NOT_AUTHENTICATED (SESSION_RESERVED_RO | SESSION_RESERVED_RW) |
Enumerations | |
enum | yubihsm_pkcs11_session_state { SESSION_RESERVED_RO = 1 << 0 , SESSION_RESERVED_RW = 1 << 1 , SESSION_AUTHENTICATED_RO = 1 << 2 , SESSION_AUTHENTICATED_RW = 1 << 3 } |
enum | yubihsm_pkcs11_op_type { OPERATION_NOOP , OPERATION_FIND , OPERATION_GEN , OPERATION_SIGN , OPERATION_DIGEST , OPERATION_DECRYPT , OPERATION_VERIFY , OPERATION_ENCRYPT } |
enum | yubihsm_pkcs11_attribute { ATTRIBUTE_NOT_SET = 0 , ATTRIBUTE_FALSE , ATTRIBUTE_TRUE } |
#define ECDH_KEY_BUF_SIZE 128 |
Definition at line 27 of file yubihsm_pkcs11.h.
#define ECDH_KEY_TYPE 0x00FF |
Definition at line 28 of file yubihsm_pkcs11.h.
#define MAX_ECDH_SESSION_KEYS 255 |
Definition at line 26 of file yubihsm_pkcs11.h.
#define SESSION_AUTHENTICATED (SESSION_AUTHENTICATED_RO | SESSION_AUTHENTICATED_RW) |
Definition at line 37 of file yubihsm_pkcs11.h.
#define SESSION_NOT_AUTHENTICATED (SESSION_RESERVED_RO | SESSION_RESERVED_RW) |
Definition at line 39 of file yubihsm_pkcs11.h.
#define YUBIHSM_PKCS11_OP_BUFSIZE 4096 |
Definition at line 25 of file yubihsm_pkcs11.h.
Enumerator | |
---|---|
ATTRIBUTE_NOT_SET | |
ATTRIBUTE_FALSE | |
ATTRIBUTE_TRUE |
Definition at line 171 of file yubihsm_pkcs11.h.
Enumerator | |
---|---|
OPERATION_NOOP | |
OPERATION_FIND | |
OPERATION_GEN | |
OPERATION_SIGN | |
OPERATION_DIGEST | |
OPERATION_DECRYPT | |
OPERATION_VERIFY | |
OPERATION_ENCRYPT |
Definition at line 47 of file yubihsm_pkcs11.h.
Enumerator | |
---|---|
SESSION_RESERVED_RO | |
SESSION_RESERVED_RW | |
SESSION_AUTHENTICATED_RO | |
SESSION_AUTHENTICATED_RW |
Definition at line 30 of file yubihsm_pkcs11.h.