On Thu, 13 Dec 2001, Tony Vo wrote:
> Hello,
>
> Is OpenSSL PKCS1 compliant? I've noticed that in the function
> for padding type 2 that the first byte (octet) is 0x00 followed by 0x02
> for the second byte (octet). Is this correct? According to the PKCS1
> specification, the first byte (octet) should be 0x02. Please help.
According to specification, version 1.5, file pkcs-1.ps.gz available
from RSA Labs site, first byte is 0. Please take a look at 8.1 clause,
"Encryption-block formatting". Well, Block Type byte could be 2.
Regards,
Vadim
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]