aes-ctr.c File Reference

#include "includes.h"
#include "common.h"
#include "aes.h"
#include "aes_wrap.h"
Include dependency graph for aes-ctr.c:

Go to the source code of this file.

Functions

int aes_128_ctr_encrypt (const u8 *key, const u8 *nonce, u8 *data, size_t data_len)

Function Documentation

int aes_128_ctr_encrypt ( const u8 key,
const u8 nonce,
u8 data,
size_t  data_len 
)

aes_128_ctr_encrypt - AES-128 CTR mode encryption : Key for encryption (16 bytes) : Nonce for counter mode (16 bytes) : Data to encrypt in-place : Length of data in bytes Returns: 0 on success, -1 on failure

Definition at line 30 of file aes-ctr.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