Re: Examples to encrypt/decrypt

2011-03-25 Thread Anthony Gabrielson
This will do what you want: http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ - Original Message - From: Venkateswara Rao Chikkireddi (HSSL-Bangalore) cv...@hp.com To: openssl-users@openssl.org Sent: Friday, March 25, 2011 12:41:36 PM Subject:

Re: Examples to encrypt/decrypt

2011-03-25 Thread Anthony Gabrielson
On Mar 25, 2011, at 4:45 PM, Jeffrey Walton wrote: On Fri, Mar 25, 2011 at 3:56 PM, Anthony Gabrielson agabriels...@comcast.net wrote: This will do what you want: http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ memset(plaintext,0,sizeof(plaintext

Multiple Sign

2010-11-05 Thread Anthony Gabrielson
Hello, I think I know the answer to this, but I want to check in and verify. Does anyone know of capability that will allow me sign data with more than one key? Thanks, Anthony__ OpenSSL Project

Re: mini project in C using openssl

2010-10-26 Thread Anthony Gabrielson
Hi, Check this out, its a nice little C example: http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ Anthony On Oct 26, 2010, at 7:32 AM, g A b R i E L wrote: Hi. My name is Gabriel. I'm newbie in openssl and I need to develop a aplication in C languaje

Re: AES128 CBC

2010-07-16 Thread Anthony Gabrielson
want to encrypt a string containing 292 bytes. After calling EVP_EncryptUpdate_ex() the variable out_len = 288. Do I have to call EVP_EncryptUpdate_ex() again to encrypt the remaining 4 bytes? I thought the remaining bytes will be encrypted by calling EVP_EncryptFinal_ex() Rudy1 Anthony

Re: AES128 CBC

2010-07-15 Thread Anthony Gabrielson
Hello, This seems to be a pretty typical question that gets posted often. I have a simple example that I think hits it. Anyway, its the first entry into a blog that I'm starting to building up. If your interested the code and (a brief) explanation is available here:

Re: AES128 CBC

2010-07-15 Thread Anthony Gabrielson
On Jul 15, 2010, at 6:18 PM, Michael S. Zick wrote: Interesting blog. One quick question on the first linked-to source at the top: quote memset(plaintext,0,sizeof(plaintext)); in_len = strlen(ciphertext); end-quote How did you get strlen to ignore any embedded zeros in the

Re: Cipher Block Chaining

2010-05-05 Thread Anthony Gabrielson
...@gmail.com To: openssl-users@openssl.org Sent: Wednesday, May 5, 2010 10:07:53 AM GMT -05:00 US/Canada Eastern Subject: Re: Cipher Block Chaining On Wed, May 5, 2010 at 7:07 AM, Anthony Gabrielson agabriels...@comcast.net wrote: works. So I'm curious whats going on - ism y understanding of CBC

Re: Random Numbers

2010-03-31 Thread Anthony Gabrielson
- Original Message - From: Dr. Stephen Henson st...@openssl.org To: openssl-users@openssl.org Sent: Wednesday, March 31, 2010 7:43:06 AM GMT -05:00 US/Canada Eastern Subject: Re: Random Numbers You can use RAND_bytes() on Windows and the OpenSSL PRNG will be automatically seeded

Random Numbers

2010-03-30 Thread Anthony Gabrielson
Hello, I've been searching around and I'm not finding much on OpenSSL and random numbers. I'm trying to figure out how to best use RAND_bytes and RAND_pseudo_bytes; do I still need to worry about entropy or does OpenSSL take care of it for me these days? If I do need to worry