aes-eax.c File Reference

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

Go to the source code of this file.

Functions

int aes_128_eax_decrypt (const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, const u8 *tag)
int aes_128_eax_encrypt (const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, u8 *tag)

Function Documentation

int aes_128_eax_decrypt ( const u8 key,
const u8 nonce,
size_t  nonce_len,
const u8 hdr,
size_t  hdr_len,
u8 data,
size_t  data_len,
const u8 tag 
)

aes_128_eax_decrypt - AES-128 EAX mode decryption : Key for decryption (16 bytes) : Nonce for counter mode : Nonce length in bytes : Header data to be authenticity protected : Length of the header data bytes : Data to encrypt in-place : Length of data in bytes : 16-byte tag value Returns: 0 on success, -1 on failure, -2 if tag does not match

Definition at line 98 of file aes-eax.c.

int aes_128_eax_encrypt ( const u8 key,
const u8 nonce,
size_t  nonce_len,
const u8 hdr,
size_t  hdr_len,
u8 data,
size_t  data_len,
u8 tag 
)

aes_128_eax_encrypt - AES-128 EAX mode encryption : Key for encryption (16 bytes) : Nonce for counter mode : Nonce length in bytes : Header data to be authenticity protected : Length of the header data bytes : Data to encrypt in-place : Length of data in bytes : 16-byte tag value Returns: 0 on success, -1 on failure

Definition at line 34 of file aes-eax.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