aes-cbc.c File Reference

#include "includes.h"
#include "common.h"
#include "aes.h"
Include dependency graph for aes-cbc.c:
This graph shows which files directly or indirectly include this file:

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:01:34 2013