Really no help with that? I spend so much time on it and you are my last
hope...

Thanks,
Koza


Koza wrote:
> 
> I'd like to use function des_encrypt1 and I have the following code: 
> 
> const_DES_cblock key= {0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11}; 
> DES_key_schedule k; 
> DES_set_key_unchecked(&key,&k); 
> DES_LONG dataenc1[2]; 
> dataenc1[0] = 0x01234567; 
> dataenc1[1] = 0x89abcdef; 
> DES_encrypt1(dataenc1,&k,1); 
> 
> but it doesn't work... instead of 8a5ae1f81ab8f2dd I receive
> eb0b38b6de16165 
> DES_ecb_encrypt works fine with that data (8a5ae1f81ab8f2dd is valid test
> vector for key/plain set above)
> Any idea how to use that function? 
> 

-- 
View this message in context: 
http://www.nabble.com/usage-of-DES_encrypt1-in-0.9.7j-tf4246728.html#a12460262
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to