Fri Nov 12 11:47:46 2010

Asterisk developer's documentation


aes.h File Reference

#include "openssl/aes.h"
Include dependency graph for aes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ast_aes_decrypt(in, out, context)   AES_decrypt(in, out, context)
#define ast_aes_decrypt_key(key, context)   AES_set_decrypt_key(key, 128, context)
#define ast_aes_encrypt(in, out, context)   AES_encrypt(in, out, context)
#define ast_aes_encrypt_key(key, context)   AES_set_encrypt_key(key, 128, context)

Typedefs

typedef AES_KEY ast_aes_decrypt_key
typedef AES_KEY ast_aes_encrypt_key

Detailed Description

Wrappers for AES encryption/decryption

Author:
Kevin P. Fleming <kpfleming@digium.com>

These wrappers provided a generic interface to either the AES methods provided by OpenSSL's crypto library, or the AES implementation included with Asterisk.

Definition in file aes.h.


Define Documentation

#define ast_aes_decrypt ( in,
out,
context   )     AES_decrypt(in, out, context)

Definition at line 46 of file aes.h.

Referenced by aes_helper(), decrypt_memcpy(), and memcpy_decrypt().

#define ast_aes_decrypt_key ( key,
context   )     AES_set_decrypt_key(key, 128, context)
#define ast_aes_encrypt ( in,
out,
context   )     AES_encrypt(in, out, context)

Definition at line 44 of file aes.h.

Referenced by aes_helper(), encrypt_memcpy(), and memcpy_encrypt().

#define ast_aes_encrypt_key ( key,
context   )     AES_set_encrypt_key(key, 128, context)

Definition at line 40 of file aes.h.

Referenced by aes_helper(), build_ecx_key(), check_key(), and update_key().


Typedef Documentation

typedef AES_KEY ast_aes_decrypt_key

Definition at line 38 of file aes.h.

typedef AES_KEY ast_aes_encrypt_key

Definition at line 37 of file aes.h.


Generated by  doxygen 1.6.2