Re: Problem with RSA test from testmgr

From: Tadeusz Struk
Date: Thu Mar 02 2017 - 11:34:25 EST


On 03/01/2017 10:21 PM, Corentin Labbe wrote:
> I am finishing a patch that made testmgr test both (padded and unpadded).

Even if you patch the test vectors there is no guarantee that a user
of the API will always have the plain text padded.
It can be anything between 1 and the key size.
This needs to be the driver who adds padding if needed.
See how other implementations handle it.
Thanks,
--
Tadeusz