#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "aes.h"
Go to the source code of this file.
Defines | |
#define | ROUND(i, d, s) |
Functions | |
void | aes_decrypt (void *ctx, const u8 *crypt, u8 *plain) |
void | aes_decrypt_deinit (void *ctx) |
void * | aes_decrypt_init (const u8 *key, size_t len) |
static void | rijndaelDecrypt (const u32 rk[], const u8 ct[16], u8 pt[16]) |
void | rijndaelKeySetupDec (u32 rk[], const u8 cipherKey[]) |
#define ROUND | ( | i, | |||
d, | |||||
s | ) |
aes_decrypt - Decrypt one AES block : Context pointer from aes_encrypt_init() : Encrypted data (16 bytes) : Buffer for the decrypted data (16 bytes)
Definition at line 141 of file aes-internal-dec.c.
void aes_decrypt_deinit | ( | void * | ctx | ) |
aes_decrypt_deinit - Deinitialize AES decryption : Context pointer from aes_encrypt_init()
Definition at line 147 of file aes-internal-dec.c.
void* aes_decrypt_init | ( | const u8 * | key, | |
size_t | len | |||
) |
aes_decrypt_init - Initialize AES for decryption : Decryption key : Key length in bytes (usually 16, i.e., 128 bits) Returns: Pointer to context data or NULL on failure
Definition at line 62 of file aes-internal-dec.c.
Definition at line 74 of file aes-internal-dec.c.
Expand the cipher key into the decryption key schedule.
Definition at line 35 of file aes-internal-dec.c.