> From: owner-openssl-us...@openssl.org On Behalf Of Jim Segrave
> Sent: Friday, 06 April, 2012 16:32
> On 04/06/2012 01:46 AM, Dave Thompson wrote:
> >> AES_KEY actx, dctx;
> >>printf("\n keylen = %d; kebits= %d", KEYLEN, KEYBITS);
> >>
> > Get out of the habit of outputting 'partial' lin
On 4/5/2012 7:46 PM, Dave Thompson wrote:
Get out of the habit of outputting 'partial' lines (not terminated by
\n) in C. Sometimes it works and sometimes it doesn't. It appears in
this case on your system it didn't. The standard requires complete
lines to work (up to possibly a reasonable docum
On 04/06/2012 01:46 AM, Dave Thompson wrote:
>> AES_KEY actx, dctx;
>>printf("\n keylen = %d; kebits= %d", KEYLEN, KEYBITS);
>>
> Get out of the habit of outputting 'partial' lines (not
> terminated by \n) in C. Sometimes it works and sometimes
> it doesn't. It appears in this case on you
Dave,
I had a suggestion for AES_unwrap() function. As of now, if IV doesn't
match it return 0. It would be good to change this to some other error
value which can be eye catchy. Normally the fist thing which comes to mind
when we see return 0 is things are fine... my 2cents
On Fri, Apr 6, 2
Thanks Dave for your great support... you rock... after changing KEYBITS,
it worked... my ignorance that i mistook it for Key and set it to 512...
Please find my response below...
Firstly Jeff,
256 is valid KEK and max one. Key can be of 'n' blocks each block being 64
bits in size and 'n' should
> From: owner-openssl-us...@openssl.org On Behalf Of pkumarn
> Sent: Wednesday, 04 April, 2012 05:41
> I need to wrap 512bit key with 256 bit KEK key. When i do
> this, i am hitting
> seg fault in AES_wrap_key(). When i do gdb, it points to
> memcpy().
> #define KEY512 0
>
> #if KEY512
>
On Thu, Apr 05, 2012, pkumarn wrote:
>
> Can anyone please help me on this? This is really blocking me to proceed
> further
>
> >
> > #define KEY512 0
> >
> > #if KEY512
> > #define KEYLEN 64
> > #define KEYBITS 512
> > #else
> > #define KEYLEN 32
> > #define KEYBITS
On 4/5/2012 8:54 PM, Jeffrey Walton wrote:
On Wed, Apr 4, 2012 at 5:41 AM, pkumarn wrote:
Hi,
I had earlier posted query on AES_Keywrap() usage and had good response on
the same and got lot of things clarified. Now i am successful in using
AES_wrap_key() API but i am running into a new problem
On Wed, Apr 4, 2012 at 5:41 AM, pkumarn wrote:
>
> Hi,
>
> I had earlier posted query on AES_Keywrap() usage and had good response on
> the same and got lot of things clarified. Now i am successful in using
> AES_wrap_key() API but i am running into a new problem.
> I need to wrap 512bit key with
Can anyone please help me on this? This is really blocking me to proceed
further
-Prashanth
pkumarn wrote:
>
> Hi,
>
> I had earlier posted query on AES_Keywrap() usage and had good response on
> the same and got lot of things clarified. Now i am successful in using
> AES_wrap_key() API but i
10 matches
Mail list logo