On Jun 22, 11:56 am, Robert Relyea wrote:
> On 06/22/2011 10:54 AM, Crypto User wrote:> Ok. So I got it that Encrypt and
> decrypt Raw supports no padding . So
> > the data has to be exactly the length of modulus. Correct?
>
> Right. If you try to encrypt something smaller than the modulus, it wi
On 06/22/2011 10:54 AM, Crypto User wrote:
> Ok. So I got it that Encrypt and decrypt Raw supports no padding . So
> the data has to be exactly the length of modulus. Correct?
Right. If you try to encrypt something smaller than the modulus, it will
assume it's zero padded.
> But , PK11_pubEncryptPK
Ok. So I got it that Encrypt and decrypt Raw supports no padding . So
the data has to be exactly the length of modulus. Correct?
But , PK11_pubEncryptPKCS1/ PK11_PrivDecryptPKCS1 gives error -8023.
Can anybody pl. provide any pointer.
Thanks
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.
3 matches
Mail list logo