aes-encblock.c File Reference

AES encrypt_block. More...

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

Go to the source code of this file.

Functions

int aes_128_encrypt_block (const u8 *key, const u8 *in, u8 *out)
 Perform one AES 128-bit block operation.

Detailed Description

AES encrypt_block.

Copyright
Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file aes-encblock.c.


Function Documentation

int aes_128_encrypt_block ( const u8 *  key,
const u8 *  in,
u8 *  out 
)

Perform one AES 128-bit block operation.

Parameters:
key Key for AES
in Input data (16 bytes)
out Output of the AES block operation (16 bytes)
Returns:
0 on success, -1 on failure

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

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:18:43 2009 for hostapd by  doxygen 1.6.1