Skip to content

Commit 19f0cd8

Browse files
committed
Fix CKM_RSA_PKCS_PSS mechanism info size
F-814
1 parent e2b999b commit 19f0cd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/slot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ static CK_MECHANISM_INFO rsaOaepMechInfo = {
571571
#ifdef WC_RSA_PSS
572572
/* Info on RSA PKCS#1 PSS mechanism. */
573573
static CK_MECHANISM_INFO rsaPssMechInfo = {
574-
256, 521, CKF_SIGN | CKF_VERIFY
574+
1024, 4096, CKF_SIGN | CKF_VERIFY
575575
};
576576
#endif
577577
#ifndef NO_SHA256

0 commit comments

Comments
 (0)