Go to the source code of this file.
Classes | |
struct | aes_key_st |
Macros | |
#define | AES_ENCRYPT 1 |
#define | AES_DECRYPT 0 |
#define | AES_MAXNR 14 |
#define | AES_BLOCK_SIZE 16 |
Typedefs | |
typedef struct aes_key_st | AES_KEY |
Functions | |
const char * | AES_options (void) |
int | AES_set_encrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key) |
int | AES_set_decrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key) |
int | private_AES_set_encrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key) |
int | private_AES_set_decrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key) |
void | AES_encrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key) |
void | AES_decrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key) |
void | AES_ecb_encrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key, const int enc) |
void | AES_cbc_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc) |
void | AES_cfb128_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) |
void | AES_cfb1_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) |
void | AES_cfb8_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) |
void | AES_ofb128_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num) |
void | AES_ctr128_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char ivec[AES_BLOCK_SIZE], unsigned char ecount_buf[AES_BLOCK_SIZE], unsigned int *num) |
void | AES_ige_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc) |
void | AES_bi_ige_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, const AES_KEY *key2, const unsigned char *ivec, const int enc) |
int | AES_wrap_key (AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen) |
int | AES_unwrap_key (AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen) |
typedef struct aes_key_st AES_KEY |
Definition at line 972 of file aes_core.c.
Definition at line 781 of file aes_core.c.
const char* AES_options | ( | void | ) |
Definition at line 59 of file aes_misc.c.
int AES_set_decrypt_key | ( | const unsigned char * | userKey, |
const int | bits, | ||
AES_KEY * | key | ||
) |
Expand the cipher key into the decryption key schedule.
Definition at line 78 of file aes_misc.c.
int AES_set_encrypt_key | ( | const unsigned char * | userKey, |
const int | bits, | ||
AES_KEY * | key | ||
) |
Expand the cipher key into the encryption key schedule.
Definition at line 69 of file aes_misc.c.
int AES_unwrap_key | ( | AES_KEY * | key, |
const unsigned char * | iv, | ||
unsigned char * | out, | ||
const unsigned char * | in, | ||
unsigned int | inlen | ||
) |
Definition at line 99 of file aes_wrap.c.
int AES_wrap_key | ( | AES_KEY * | key, |
const unsigned char * | iv, | ||
unsigned char * | out, | ||
const unsigned char * | in, | ||
unsigned int | inlen | ||
) |
Definition at line 62 of file aes_wrap.c.
int private_AES_set_decrypt_key | ( | const unsigned char * | userKey, |
const int | bits, | ||
AES_KEY * | key | ||
) |
Expand the cipher key into the decryption key schedule.
Definition at line 729 of file aes_core.c.
int private_AES_set_encrypt_key | ( | const unsigned char * | userKey, |
const int | bits, | ||
AES_KEY * | key | ||
) |
Expand the cipher key into the encryption key schedule.
Definition at line 628 of file aes_core.c.