Functions
aes-cbc.c File Reference
#include "includes.h"
#include "common.h"
#include "aes.h"
#include "aes_wrap.h"
Include dependency graph for aes-cbc.c:

Go to the source code of this file.

Functions

int aes_128_cbc_decrypt (const u8 *key, const u8 *iv, u8 *data, size_t data_len)
int aes_128_cbc_encrypt (const u8 *key, const u8 *iv, u8 *data, size_t data_len)

Function Documentation

int aes_128_cbc_decrypt ( const u8 *  key,
const u8 *  iv,
u8 *  data,
size_t  data_len 
)

aes_128_cbc_decrypt - AES-128 CBC decryption : Decryption key : Decryption IV for CBC mode (16 bytes) : Data to decrypt in-place : Length of data in bytes (must be divisible by 16) Returns: 0 on success, -1 on failure

Definition at line 63 of file aes-cbc.c.

int aes_128_cbc_encrypt ( const u8 *  key,
const u8 *  iv,
u8 *  data,
size_t  data_len 
)

aes_128_cbc_encrypt - AES-128 CBC encryption : Encryption key : Encryption IV for CBC mode (16 bytes) : Data to encrypt in-place : Length of data in bytes (must be divisible by 16) Returns: 0 on success, -1 on failure

Definition at line 30 of file aes-cbc.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:15