Re: How to configure DES ECB encryption without the "no padding" mode?

2010-04-10 Thread Martin Kaiser
Hi Ali, Thus wrote Ali Sydney (asyd...@k-state.edu): > Thanks for the speedy response. I have been attempting to use the EVP > interface, but the cipher text produced is wrong (and I am fairly new > to this). As a simple test, I have hard-coded an 8 byte block for the > key (in hexadecimal), and

How to configure DES ECB encryption without the "no padding" mode?

2010-04-10 Thread Ali Sydney
All, I am attempting to implement DES (in C++ with the OpenSSL libraries) in ECB mode without padding. I am using the following function for encryption: void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks, int enc); However, this function does not

Re: How to configure DES ECB encryption without the "no padding" mode?

2010-04-09 Thread Ali Sydney
/Print ciphertext { printf("%02x",out[i]); } cout< To: openssl-users@openssl.org Sent: Friday, April 9, 2010 10:52:07 AM GMT -06:00 US/Canada Central Subject: Re: How to configure DES ECB encryption without the "no padding" mode? Hi Ali, Thus wrote Ali Sydney (asyd..

Re: How to configure DES ECB encryption without the "no padding" mode?

2010-04-09 Thread Martin Kaiser
Hi Ali, Thus wrote Ali Sydney (asyd...@k-state.edu): >I am attempting to implement DES (in C++ with the OpenSSL >libraries) in ECB mode without padding. I am using the following >function for encryption: > void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, >

How to configure DES ECB encryption without the "no padding" mode?

2010-04-09 Thread Ali Sydney
All, I am attempting to implement DES (in C++ with the OpenSSL libraries) in ECB mode without padding. I am using the following function for encryption: void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks, int enc); However, this function does not