microsoft / go-crypto-winnative

Go crypto backend for Windows using CNG
MIT License
28 stars 3 forks source link

Account for RSA-PSS salt length special cases #19

Closed qmuntal closed 2 years ago

qmuntal commented 2 years ago

This PR teaches SignRSAPSS and VerifyRSAPSS to understand Go salt length special cases: rsa.PSSSaltLengthAuto and rsa.PSSSaltLengthEqualsHash.

Unfortunately, CNG does not support them out-of-the-box.