Re: Triple DES ECB question

2012-02-24 Thread burtbick
Jeffrey Walton-3 wrote: On Thu, Feb 23, 2012 at 2:12 PM, burtbick l...@burtbicksler.com wrote: snip But when I try using the openssl command line tool I wind up with 24 bytes of cipher text for my encrypted 16 byte key value. snip It sounds like the device wants a '2-key

RE: Triple DES ECB question

2012-02-24 Thread burtbick
Thanks, Per the device specification they are saying that they are using Triple DES-ECB, since the keys they are using are 16 bytes I'm assuming that it is 2-key Triple DES but they do not clearly state that in the specifications. I have asked them to confirm that it is 2-key. Here's the

Re: Triple DES ECB question

2012-02-24 Thread Johannes Bauer
On 24.02.2012 03:51, burtbick wrote: So the new questions are: Is des-ede the proper choice for Triple DES-ECB as the target device specification requires? If not then is there another viable option? You can use 3K3DES and have the same results (with lower performance) if you set K1 = K3.

Re: Triple DES ECB question

2012-02-24 Thread burtbick
Johannes Bauer wrote: On 24.02.2012 03:51, burtbick wrote: snip HTH, Joe __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org

Re: Triple DES ECB question

2012-02-23 Thread Jeffrey Walton
On Thu, Feb 23, 2012 at 2:12 PM, burtbick l...@burtbicksler.com wrote: Hi,  I'm working on a project where I need to interact with a hardware device that is using Triple DES-ECB for encrypting keys. One of the first things that I'm trying to do is to generate a 16 byte key to be uploaded to

RE: Triple DES ECB question

2012-02-23 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of burtbick Sent: Thursday, 23 February, 2012 14:13 Hi, I'm working on a project where I need to interact with a hardware device that is using Triple DES-ECB for encrypting keys. One of the first things that I'm trying to do is to generate