Thu Apr 28 2011 17:15:26

Asterisk developer's documentation


aes.h File Reference

#include "aes_internal.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 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 aes_helper(), 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.

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

Definition at line 62 of file aes.h.

Referenced by aes_helper(), 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.


Typedef Documentation

Definition at line 56 of file aes.h.

Definition at line 55 of file aes.h.