|
Coda Distributed File System
|
#include <sys/time.h>#include <time.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include <rpc2/secure.h>#include "aes.h"#include "grunt.h"#include "testvectors.h"
Macros | |
| #define | aes_cbc192_pt aes_cbc128_pt |
| #define | aes_cbc256_pt aes_cbc128_pt |
Functions | |
| int | aes_cbc_encrypt (const aes_block *in, aes_block *out, size_t nblocks, const aes_block *iv, aes_encrypt_ctx *ctx) |
| int | aes_cbc_decrypt (const aes_block *in, aes_block *out, size_t nblocks, const aes_block *iv, aes_decrypt_ctx *ctx) |
| int | aes_xcbc_prf_init (void **ctx, const uint8_t *key, size_t len) |
| void | secure_aes_init (int verbose) |
| #define aes_cbc192_pt aes_cbc128_pt |
| #define aes_cbc256_pt aes_cbc128_pt |
| int aes_cbc_decrypt | ( | const aes_block * | in, |
| aes_block * | out, | ||
| size_t | nblocks, | ||
| const aes_block * | iv, | ||
| aes_decrypt_ctx * | ctx | ||
| ) |
| int aes_cbc_encrypt | ( | const aes_block * | in, |
| aes_block * | out, | ||
| size_t | nblocks, | ||
| const aes_block * | iv, | ||
| aes_encrypt_ctx * | ctx | ||
| ) |
| int aes_xcbc_prf_init | ( | void ** | ctx, |
| const uint8_t * | key, | ||
| size_t | len | ||
| ) |
| void secure_aes_init | ( | int | verbose | ) |