Skip to content

Commit ac4f3fb

Browse files
authored
Merge pull request #7831 from space88man/RSA-callbacks-fulldata
wolfssl/wolfcrypt/pkcs11.sh: add full data RSA PSS mechs
2 parents 039853c + 5083489 commit ac4f3fb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

wolfssl/wolfcrypt/pkcs11.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,13 @@ extern "C" {
164164
#define CKM_AES_CBC 0x00001082UL
165165
#define CKM_AES_GCM 0x00001087UL
166166

167+
/* full data RSA PK callbacks */
168+
#define CKM_SHA1_RSA_PKCS_PSS 0x0000000EUL
169+
#define CKM_SHA256_RSA_PKCS_PSS 0x00000043UL
170+
#define CKM_SHA384_RSA_PKCS_PSS 0x00000044UL
171+
#define CKM_SHA512_RSA_PKCS_PSS 0x00000045UL
172+
#define CKM_SHA224_RSA_PKCS_PSS 0x00000047UL
173+
167174
#define CKG_MGF1_SHA1 0x00000001UL
168175
#define CKG_MGF1_SHA224 0x00000005UL
169176
#define CKG_MGF1_SHA256 0x00000002UL

0 commit comments

Comments
 (0)