wpa_supplicant / hostapd 2.0
Functions

aes-encblock.c File Reference

AES encrypt_block. More...

#include "includes.h"
#include "common.h"
#include "aes.h"
#include "aes_wrap.h"

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 software may be distributed under the terms of the BSD license. See README for more details.


Function Documentation

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

Perform one AES 128-bit block operation.

Parameters:
keyKey for AES
inInput data (16 bytes)
outOutput of the AES block operation (16 bytes)
Returns:
0 on success, -1 on failure
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines