Re: Looking for (easy) help.

2012-05-14 Thread Ben Laurie
initial testing now looks like I can get it to work. Thanks! -Scott Weber Original Message Subject: RE: Looking for (easy) help. From: Dave Thompson dthomp...@prinpay.com Date: Fri, May 11, 2012 3:45 pm To: openssl-users@openssl.org From: owner-openssl-us...@openssl.org

RE: Looking for (easy) help.

2012-05-13 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of scott...@csweber.com Sent: Friday, 11 May, 2012 19:15 (re: usual=PKCS5 padding for AES-CBC) So, a 15 byte block (or ends with a 15 byte after multiples of 16 bytes) would use a 0x01 in the last position...? Yes. And a whole multiple of 16

RE: Looking for (easy) help.

2012-05-12 Thread Marek . Marcola
/2012 11:11 PM Please respond to openssl-users@openssl.org To openssl-users@openssl.org cc Subject RE: Looking for (easy) help. Thanks for your reply, but that's not doing it. I manually padded the input in the C code with spaces. Then I manually padded the input file

Re: Looking for (easy) help.

2012-05-11 Thread Marek . Marcola
Hello, Parametr -nosalt is not used in this case. I have attached my test code, to use this example save file aes_enc.c and execute: # gcc -Wall -pedantic -o aes_enc -lcrypto aes_enc.c # ./aes_enc | od -x 000 e61f b8eb c202 6df8 4cc4 631e 4bf2 dedd 020 # ./aes_enc enc.bin # openssl

RE: Looking for (easy) help.

2012-05-11 Thread scotty42
can I get an output from the API that matches the output from the openSSL executable. Nor can I get the executable to decrypt any data from the API calls. Original Message Subject: Re: Looking for (easy) help. From: marek.marc...@malkom.pl Date: Fri, May 11, 2012 10:15 am

RE: Looking for (easy) help.

2012-05-11 Thread Jeremy Farrell
This is a wild guess, no idea if it's relevant, but the array key32 consists of 33 bytes, 32 containing 0x31 (assuming ASCII) followed by one containing 0x00. Is that how it's meant to be?   Regards,    jjf   From: scott...@csweber.com [mailto:scott...@csweber.com]

RE: Looking for (easy) help.

2012-05-11 Thread scotty42
no luck. Original Message Subject: RE: Looking for (easy) help. From: Jeremy Farrell jeremy.farr...@oracle.com Date: Fri, May 11, 2012 3:02 pm To: openssl-users@openssl.org This is a wild guess, no idea if it's relevant, but the array key32 consists of 33 bytes, 32 containing 0x31

RE: Looking for (easy) help.

2012-05-11 Thread scotty42
ds on the cleartext being encoded, it scares me in terms ofreliability. ---- Original Message Subject: RE: Looking for (easy) help. From: scott...@csweber.com Date: Fri, May 11, 2012 2:08 pm To: openssl-users@openssl.org Thanks for your reply, but that's not doing it.I manually padded the

RE: Looking for (easy) help.

2012-05-11 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of scott...@csweber.com Sent: Friday, 11 May, 2012 17:09 I manually padded the input in the C code with spaces. Then I manually padded the input file with spaces. Now both cleartexts are exactly 16 bytes long. The output from the openssl

RE: Looking for (easy) help.

2012-05-11 Thread scotty42
Message Subject: RE: Looking for (easy) help. From: "Dave Thompson" dthomp...@prinpay.com Date: Fri, May 11, 2012 3:45 pm To: openssl-users@openssl.org From: owner-openssl-us...@openssl.org On Behalf Of scott...@csweber.com Sent: Friday, 11 May, 2012 17:09 I manually padded