Start to do some crypto.

This commit is contained in:
Alessio Di Mauro
2015-07-28 18:56:47 +02:00
parent bd144cc621
commit 246cf626b2
2 changed files with 16 additions and 10 deletions
+3 -1
View File
@@ -3,6 +3,8 @@
#include "pkcs11t.h"
#include <openssl/x509.h>
// TODO: this is mostly from OpenSC, how to give credit?
typedef enum {
PIV_DATA_OBJ_X509_PIV_AUTH = 0, // PIV authentication
@@ -98,7 +100,7 @@ typedef struct {
} piv_data_obj_t;
typedef struct {
CK_BBOOL todo;
X509 *data;
} piv_cert_obj_t;
typedef struct {