Fri Jun 19 12:09:55 2009

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 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 ast_aes_decrypt ( in,
out,
context   )     aes_decrypt(in, out, context)

Definition at line 63 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 59 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 61 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 57 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 55 of file aes.h.

typedef aes_encrypt_ctx ast_aes_encrypt_key

Definition at line 54 of file aes.h.


Generated on Fri Jun 19 12:09:55 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7