#include "includes.h"#include "common.h"#include "crypto.h"#include "aes_i.h"
Go to the source code of this file.
Defines | |
| #define | ROUND(i, d, s) |
Functions | |
| void | aes_encrypt (void *ctx, const u8 *plain, u8 *crypt) |
| void | aes_encrypt_deinit (void *ctx) |
| void * | aes_encrypt_init (const u8 *key, size_t len) |
| void | rijndaelEncrypt (const u32 rk[], const u8 pt[16], u8 ct[16]) |
| #define ROUND | ( | i, | |||
| d, | |||||
| s | ) |
aes_encrypt - Encrypt one AES block : Context pointer from aes_encrypt_init() : Plaintext data to be encrypted (16 bytes) : Buffer for the encrypted data (16 bytes)
Definition at line 111 of file aes-internal-enc.c.
| void aes_encrypt_deinit | ( | void * | ctx | ) |
aes_encrypt_deinit - Deinitialize AES encryption : Context pointer from aes_encrypt_init()
Definition at line 117 of file aes-internal-enc.c.
| void* aes_encrypt_init | ( | const u8 * | key, | |
| size_t | len | |||
| ) |
aes_encrypt_init - Initialize AES for encryption : Encryption key : Key length in bytes (usually 16, i.e., 128 bits) Returns: Pointer to context data or NULL on failure
Definition at line 98 of file aes-internal-enc.c.
Definition at line 30 of file aes-internal-enc.c.