Wed Aug 18 22:33:57 2010

Asterisk developer's documentation


aes.h File Reference

#include "aes_internal.h"
#include "openssl/aes.h"

Go to the source code of this file.

Defines

#define AES_128
#define ast_aes_decrypt(in, out, context)   aes_decrypt(in, out, context)
#define ast_aes_decrypt_key(key, context)   aes_decrypt_key128(key, context)
#define ast_aes_encrypt(in, out, context)   aes_encrypt(in, out, context)
#define ast_aes_encrypt_key(key, context)   aes_encrypt_key128(key, context)

Typedefs

typedef aes_decrypt_ctx ast_aes_decrypt_key
typedef aes_encrypt_ctx 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 AES_128

Definition at line 52 of file aes.h.

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

Definition at line 64 of file aes.h.

Referenced by decrypt_memcpy(), and memcpy_decrypt().

#define ast_aes_decrypt_key ( key,
context   )     aes_decrypt_key128(key, context)

Definition at line 60 of file aes.h.

Referenced by build_ecx_key(), build_encryption_keys(), check_key(), socket_process(), and update_key().

#define ast_aes_encrypt ( in,
out,
context   )     aes_encrypt(in, out, context)

Definition at line 62 of file aes.h.

Referenced by encrypt_memcpy(), and memcpy_encrypt().

#define ast_aes_encrypt_key ( key,
context   )     aes_encrypt_key128(key, context)

Definition at line 58 of file aes.h.

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


Typedef Documentation

typedef aes_decrypt_ctx ast_aes_decrypt_key

Definition at line 56 of file aes.h.

typedef aes_encrypt_ctx ast_aes_encrypt_key

Definition at line 55 of file aes.h.


Generated on Wed Aug 18 22:33:57 2010 for Asterisk - the Open Source PBX by  doxygen 1.4.7