You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When RSA decrypting, unlike with RSA encrypting, we sometimes expect the
output length will be less than the key size. For instance, in the case
where the plaintext is zero-length we expect the output length of the
decryption to be zero-length as well, not key size in length.
For must-fail tests, add an expected output length parameter because
there is no supplied output buffer from which to get the expected
length.
Change the tests to expect that the actual output size is equal to the
expected length of the output buffer instead of always being the key
size.
0 commit comments