Re: linking errors on linux........!

2008-06-16 Thread karim Bendadda
Could you post the message given you by the compiler?? On Mon, Jun 16, 2008 at 9:51 AM, vinni rathore [EMAIL PROTECTED] wrote: hi i m getting undefined symbol for my sample server program that is on linux. my program is using openssl apis. i have installed the openssl 0.9.8g version on

Re: AES CTR128

2008-05-27 Thread karim Bendadda
Try this: http://www.grandville.net/pmwiki.php/OpenSSL/AES-CBC-EVP Openssl EVP API makes AES encryption/decryption. On Mon, May 26, 2008 at 5:54 PM, Mohamed Amine Ourmech [EMAIL PROTECTED] wrote: Good morning, I want to test the AES CTR128 encryption of openSSL but infortunately i could

Re: AES CTR128

2008-05-27 Thread karim Bendadda
http://fixunix.com/openssl/249591-evp_decryptfinal_ex-bad-decrypt.html On Tue, May 27, 2008 at 10:58 AM, karim Bendadda [EMAIL PROTECTED] wrote: Try this: http://www.grandville.net/pmwiki.php/OpenSSL/AES-CBC-EVP Openssl EVP API makes AES encryption/decryption. On Mon, May 26, 2008 at 5

Re: [Base64 Decoding] Bug when decoding??

2008-05-24 Thread karim Bendadda
Thank you Steve for help. I tried to use the BIO_FLAGS_BASE64_NO_NL flag in my code. This works fine. Thank you everybody again for help. On Fri, May 23, 2008 at 12:24 PM, Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Fri, May 23, 2008, karim Bendadda wrote: Hi Stephen, I just

Re: [Base64 Decoding] Bug when decoding??

2008-05-23 Thread karim Bendadda
at 8:14 PM, Victor Duchovni [EMAIL PROTECTED] wrote: On Thu, May 22, 2008 at 02:20:07PM +0200, karim Bendadda wrote: Hi All, I'm trying to decode a Base64 encoded string. Using the openssl decoding command:* echo

Re: [Base64 Decoding] Bug when decoding??

2008-05-23 Thread karim Bendadda
Hi Stephen, I just try it! it works fine! it doesn't appear when lunching openssl command: $openssl enc ? How can I implement it using the openssl's EVP API??? Thank you. On Thu, May 22, 2008 at 8:12 PM, Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Thu, May 22, 2008, karim Bendadda

[Base64 Decoding] Bug when decoding??

2008-05-22 Thread karim Bendadda
Hi All, I'm trying to decode a Base64 encoded string. Using the openssl decoding command:* echo nnnKZdKOQMmVpLEOBqNU3L07ELMSoQxW0z7SvgZBmwXpjvMYPqnSMaWy9vu6NFUHGc40nhLbaFe8vI159nZHHdMOssHyfI6kzXljRolfrSX6bNjcMvfy7k5J+2xo451u= | openssl enc -base64 -d *I got no result! nothing!!! I tried to

Re: [Base64 Decoding] Bug when decoding??

2008-05-22 Thread karim Bendadda
are not printables karim Bendadda a écrit : Hi All, I'm trying to decode a Base64 encoded string. Using the openssl decoding command:/ echo nnnKZdKOQMmVpLEOBqNU3L07ELMSoQxW0z7SvgZBmwXpjvMYPqnSMaWy9vu6NFUHGc40nhLbaFe8vI159nZHHdMOssHyfI6kzXljRolfrSX6bNjcMvfy7k5J+2xo451u= | openssl enc

Update: !!! [AEC CBC decryption] Decrypted data Length problem (AES_cbc_encrypt)...

2008-05-19 Thread karim Bendadda
,bufferLength, aeskeyDec, iv1, AES_DECRYPT); //AES_cbc_encrypt(unBase64, buffer1, strlen(unBase64), aeskeyDec, iv1, AES_DECRYPT); printf(Decrypted data: %s \n,buffer1); return(0); } -- Karim Bendadda

Re: Update: !!! [AEC CBC decryption] Decrypted data Length problem (AES_cbc_encrypt)...

2008-05-19 Thread karim Bendadda
May 19 2008 09:35, karim Bendadda wrote: *Sorry for the first mail!!* Unless you can guarantee that the strings do not contain embedded zeros; strlen() will not give the expected results. Mike Hi all, I'm new on openssl development, so I'm sorry if that a beginner's question