On 2 Apr 2012, at 8:09 AM, Theodore Tolstoy wrote:
> It seems to implement AES-{128,192,256} ECB mode of
> encryption/decryption(?). Am I wrong?
>
> Is it possible to use OpenSSL to achieve equivalent results?
Yes. The low-level openssl AES implementation (AES_ecb_encrypt(), etc.) is
available (see openssl/aes.h for the function declarations), but in most cases
it is better to use the EVP_* interface, which provides a uniform interface to
all of the crypto algorithms.
Here's a blog post with some sample code doing AES encryption with the EVP
interface:
http://saju.net.in/blog/?p=36
It doesn't look like the low level AES functions have a man page, but their API
is similar to Blowfish's (see the man page for BF_encrypt(), etc.).
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]