alias RSA type, call openssl functions only in openssl_utils.c

This commit is contained in:
Hannes Mehnert
2017-03-29 23:01:17 +01:00
parent 847b0b4267
commit 03849d9722
6 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ typedef struct {
typedef struct {
ykcs11_md_ctx_t *md_ctx; // Digest context
RSA *key; // Raw public key (needed for PSS)
ykcs11_rsa_key_t *key; // Raw public key (needed for PSS)
CK_BYTE algo; // Algo for ykpiv // TODO: infer this from the key length?
CK_ULONG key_id; // Key id for ykpiv // TODO: make this a BYTE and store the id {0, 1, 2, 3}
CK_ULONG key_len; // Length in bits