![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include "config.h"#include "config_unix.h"#include "config_win32.h"#include "debug.h"#include "memory.h"#include "crypto/crypt_aes.h"#include "test_aes.h"
Go to the source code of this file.
Macros | |
| #define | __USE_MINGW_ANSI_STDIO 1 |
| #define | SUBMITTER "Joan Daemen" |
Functions | |
| static void | blockPrint (FILE *fp, const BYTE *block, const char *tag) |
| static void | compare_files (char *nfile_n, char *ofile_n) |
| static void | makeKATs (const char *vkFile, const char *vtFile, const char *tblFile, const char *ivFile) |
| static void | makeMCTs (const char *ecbEncryptionFile, const char *ecbDecryptionFile, const char *cbcEncryptionFile, const char *cbcDecryptionFile) |
| static void | rijndaelCBC_MCT (FILE *fp, int keyLength, BYTE direction) |
| static void | rijndaelECB_MCT (FILE *fp, int keyLength, BYTE direction) |
| static void | rijndaelIVKAT (FILE *fp, int keyLength) |
| static void | rijndaelTKAT (FILE *fp, int keyLength, FILE *in) |
| static void | rijndaelVKKAT (FILE *fp, int keyLength) |
| static void | rijndaelVTKAT (FILE *fp, int keyLength) |
| int | test_aes (void) |
| #define __USE_MINGW_ANSI_STDIO 1 |
Definition at line 39 of file test_aes.c.
| #define SUBMITTER "Joan Daemen" |
Definition at line 50 of file test_aes.c.
Referenced by makeKATs(), and makeMCTs().
|
static |
Definition at line 52 of file test_aes.c.
Referenced by rijndaelCBC_MCT(), rijndaelECB_MCT(), rijndaelIVKAT(), rijndaelTKAT(), rijndaelVKKAT(), and rijndaelVTKAT().
|
static |
Definition at line 712 of file test_aes.c.
Referenced by test_aes().
|
static |
Definition at line 278 of file test_aes.c.
References rijndaelIVKAT(), rijndaelTKAT(), rijndaelVKKAT(), rijndaelVTKAT(), and SUBMITTER.
Referenced by test_aes().

|
static |
Definition at line 616 of file test_aes.c.
References DIR_DECRYPT, DIR_ENCRYPT, rijndaelCBC_MCT(), rijndaelECB_MCT(), and SUBMITTER.
Referenced by test_aes().

|
static |
Definition at line 496 of file test_aes.c.
References blockDecrypt(), blockEncrypt(), blockPrint(), cipherInit(), DIR_ENCRYPT, makeKey(), MODE_ECB, and TRUE.
Referenced by makeMCTs().

|
static |
Definition at line 404 of file test_aes.c.
References blockDecrypt(), blockEncrypt(), blockPrint(), cipherInit(), DIR_ENCRYPT, makeKey(), MAXKC, and MODE_ECB.
Referenced by makeMCTs().

|
static |
Definition at line 222 of file test_aes.c.
References blockPrint(), cipherInit(), cipherUpdateRounds(), DIR_DECRYPT, DIR_ENCRYPT, makeKey(), MODE_ECB, and keyInstance::Nr.
Referenced by makeKATs().

|
static |
Definition at line 158 of file test_aes.c.
References blockDecrypt(), blockEncrypt(), blockPrint(), cipherInit(), DIR_DECRYPT, DIR_ENCRYPT, makeKey(), and MODE_ECB.
Referenced by makeKATs().

|
static |
Definition at line 63 of file test_aes.c.
References blockDecrypt(), blockEncrypt(), blockPrint(), cipherInit(), DIR_DECRYPT, DIR_ENCRYPT, makeKey(), MODE_ECB, and TRUE.
Referenced by makeKATs().

|
static |
Definition at line 123 of file test_aes.c.
References blockEncrypt(), blockPrint(), cipherInit(), DIR_ENCRYPT, makeKey(), and MODE_ECB.
Referenced by makeKATs().

| int test_aes | ( | void | ) |
Definition at line 752 of file test_aes.c.
References compare_files(), makeKATs(), and makeMCTs().
