fix PSS signing support

This commit is contained in:
Hannes Mehnert
2017-03-26 19:13:07 +02:00
parent 8e91c8ea2f
commit 847b0b4267
4 changed files with 28 additions and 21 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ typedef struct {
typedef struct {
ykcs11_md_ctx_t *md_ctx; // Digest context
CK_BYTE_PTR key; // Raw public key (needed for PSS)
RSA *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