Re: using AES encryption

2005-06-16 Thread Julien ALLANOS
Quoting Nils Larsch [EMAIL PROTECTED]: Julien ALLANOS wrote: ... Actually, I have tested the following: EVP_CIPHER_CTX_init(ctx); EVP_CipherInit_ex(ctx, EVP_aes_192_ecb(), NULL, key-data, NULL, 1); if (!EVP_CipherUpdate(ctx, ciphertext-data, (int *) ciphertext-length,

Re: using AES encryption

2005-06-15 Thread Julien ALLANOS
Quoting Nils Larsch [EMAIL PROTECTED]: Julien ALLANOS wrote: Hello, I want to use AES encryption in my C application, but I am missing documentation. I only have openssl/aes.h but there isn't any manpage. Can someone points me to any how-to or source code? Thanks for you help. consider using

Re: using AES encryption

2005-06-15 Thread Julien ALLANOS
Quoting Julien ALLANOS [EMAIL PROTECTED]: Quoting Nils Larsch [EMAIL PROTECTED]: Julien ALLANOS wrote: Hello, I want to use AES encryption in my C application, but I am missing documentation. I only have openssl/aes.h but there isn't any manpage. Can someone points me to any how-to or source

Re: using AES encryption

2005-06-15 Thread Nils Larsch
Julien ALLANOS wrote: ... Actually, I have tested the following: EVP_CIPHER_CTX_init(ctx); EVP_CipherInit_ex(ctx, EVP_aes_192_ecb(), NULL, key-data, NULL, 1); if (!EVP_CipherUpdate(ctx, ciphertext-data, (int *) ciphertext-length, plaintext-data, (int) plaintext-length)) {

Re: using AES encryption

2005-06-14 Thread Nils Larsch
Julien ALLANOS wrote: Hello, I want to use AES encryption in my C application, but I am missing documentation. I only have openssl/aes.h but there isn't any manpage. Can someone points me to any how-to or source code? Thanks for you help. consider using the EVP_Cipher* etc. functions (see