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
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.
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 th
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 th
On Jun 11, 5:57 am, Nelson B Bolyard wrote:
> On 2011-06-10 16:43 PDT, Crypto User wrote:
>
>
>
> > On May 25, 11:33 am, Crypto User wrote:
> >> Hi ,
> >> I am trying to use this method to move my symmetric key to the key
> >> for wrapping.
> &
On May 25, 11:33 am, Crypto User 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 e
On May 25, 11:33 am, Crypto User 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 e
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
s
On Mar 23, 12:05 pm, Honza Bambas 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 API
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)
http://mxr.mozilla.org
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)
11 matches
Mail list logo