Hi,
I want to use AES scheme by counter mode.
void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out,
const unsigned long length, const AES_KEY *key,
unsigned char counter[AES_BLOCK_SIZE],
unsigned char ecount_buf[AES_BLOCK_SIZE],
unsigned int *num)
The 'in' and 'out' is plaintext(ciphertext) and ciphertext(plaintext).
The 'key' is key value. The 'length' is block length value...
But I don't know the other value...(And How to decrypt the ciphertext?
The other mode use a value of 'AES_ENCRYPT' or 'AES_DECRYPT'.)
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]