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' lines (not
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
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'
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,
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 your system
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 am
On Wed, Apr 4, 2012 at 5:41 AM, pkumarn prashanth.kuma...@gmail.com 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
On 4/5/2012 8:54 PM, Jeffrey Walton wrote:
On Wed, Apr 4, 2012 at 5:41 AM, pkumarnprashanth.kuma...@gmail.com 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
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 256
#endif
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(). snip
#define KEY512 0
#if KEY512
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 256 bit KEK key. When i do this, i am hitting
seg fault in
11 matches
Mail list logo