Coda Distributed File System
Variables
encr_aes_cbc.c File Reference
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <rpc2/secure.h>
#include "aes.h"
#include "grunt.h"
Include dependency graph for encr_aes_cbc.c:

Variables

struct secure_encr secure_ENCR_AES_CBC
 

Variable Documentation

◆ secure_ENCR_AES_CBC

struct secure_encr secure_ENCR_AES_CBC
Initial value:
= {
.name = "ENCR-AES-CBC",
.encrypt_init = encrypt_init,
.encrypt_free = encrypt_free,
.encrypt = encrypt,
.decrypt_init = decrypt_init,
.decrypt_free = decrypt_free,
.decrypt = decrypt,
.min_keysize = bytes(128),
.max_keysize = bytes(256),
.blocksize = AES_BLOCK_SIZE,
.iv_len = AES_BLOCK_SIZE,
}
#define AES_BLOCK_SIZE
Definition: aes.h:26
#define bytes(bits)
Definition: grunt.h:29
void encrypt(char *buff)
Definition: rijndael-mikescott.c:267
void decrypt(char *buff)
Definition: rijndael-mikescott.c:314
#define SECURE_ENCR_AES_CBC
Definition: secure.h:58