Skip to content

Commit

Permalink
Merge pull request wolfSSL#7831 from space88man/RSA-callbacks-fulldata
Browse files Browse the repository at this point in the history
wolfssl/wolfcrypt/pkcs11.sh: add full data RSA PSS mechs
  • Loading branch information
SparkiDev authored Aug 5, 2024
2 parents 039853c + 5083489 commit ac4f3fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wolfssl/wolfcrypt/pkcs11.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ extern "C" {
#define CKM_AES_CBC 0x00001082UL
#define CKM_AES_GCM 0x00001087UL

/* full data RSA PK callbacks */
#define CKM_SHA1_RSA_PKCS_PSS 0x0000000EUL
#define CKM_SHA256_RSA_PKCS_PSS 0x00000043UL
#define CKM_SHA384_RSA_PKCS_PSS 0x00000044UL
#define CKM_SHA512_RSA_PKCS_PSS 0x00000045UL
#define CKM_SHA224_RSA_PKCS_PSS 0x00000047UL

#define CKG_MGF1_SHA1 0x00000001UL
#define CKG_MGF1_SHA224 0x00000005UL
#define CKG_MGF1_SHA256 0x00000002UL
Expand Down

0 comments on commit ac4f3fb

Please sign in to comment.