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
On Jun 22, 11:56 am, Robert Relyea rrel...@redhat.com 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
Hi ,
I have a couple of questions regarding the RSa encrypt/decrypt
operations.
1. PK11PubencryptRaw does not support any padding , So it will
Encrypt data only = to the modulus length .is that correct? So what
happens if data is less than modulus length? It does not seem to fail
if you give
Hi ,
I have a couple of questions regarding the RSa encrypt/decrypt
operations.
1. PK11PubencryptRaw does not support any padding , So it will
Encrypt data only = to the modulus length .is that correct? So what
happens if data is less than modulus length? It does not seem to fail
if you give
On Jun 11, 5:57 am, Nelson B Bolyard nel...@bolyard.me wrote:
On 2011-06-10 16:43 PDT, Crypto User wrote:
On May 25, 11:33 am, Crypto User cryptou...@gmail.com wrote:
Hi ,
I am trying to use this method to move my symmetric key to the key
for wrapping.
when I use this method , I
On May 25, 11:33 am, Crypto User cryptou...@gmail.com wrote:
Hi ,
I am trying to use this method to move my symmetric key to the key
for wrapping.
when I use this method , I get
undefined reference to `PK11_CopyToSlot' collect2: ld returned 1 exit
status
which is linker error.
I am
On May 25, 11:33 am, Crypto User cryptou...@gmail.com wrote:
Hi ,
I am trying to use this method to move my symmetric key to the key
for wrapping.
when I use this method , I get
undefined reference to `PK11_CopyToSlot' collect2: ld returned 1 exit
status
which is linker error.
I am
Hi ,
I am trying to use this method to move my symmetric key to the key
for wrapping.
when I use this method , I get
undefined reference to `PK11_CopyToSlot' collect2: ld returned 1 exit
status
which is linker error.
I am including the pk11priv.h file.
I have the latest nss library after using
For creating hash I found 2 sets of APIs .
There seem to be different APIs.
E.g CreateDigestContext(SECOidTag hashAlg) and PK11_DigestBegin
related APIs in
https://developer.mozilla.org/en/NSS/Cryptography_functions
or
MD5_Begin() and related hash API from (hash_Begin etc)
Hi ,
I am trying to create APIS which will provide Hashing functionality
to end user. I am using NSS to provide this on Linux.
I was trying to find the correct APIs in NSS to provide this
functionality and I was confused.
There seem to be different APIs.
E.g CreateDigestContext(SECOidTag hashAlg)
On Mar 23, 12:05 pm, Honza Bambas honzab@firemni.cz wrote:
On 3/22/2011 10:29 PM, Crypto User wrote: Hi ,
I am trying to create APIS which will provide Hashing functionality
to end user. I am using NSS to provide this on Linux.
I was trying to find the correct APIs in NSS to provide
11 matches
Mail list logo