aes.h
Go to the documentation of this file.
00001 /*
00002  * AES functions
00003  * Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  *
00009  * Alternatively, this software may be distributed under the terms of BSD
00010  * license.
00011  *
00012  * See README and COPYING for more details.
00013  */
00014 
00015 #ifndef AES_H
00016 #define AES_H
00017 
00018 #define AES_BLOCK_SIZE 16
00019 
00020 void * aes_encrypt_init(const u8 *key, size_t len);
00021 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
00022 void aes_encrypt_deinit(void *ctx);
00023 void * aes_decrypt_init(const u8 *key, size_t len);
00024 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
00025 void aes_decrypt_deinit(void *ctx);
00026 
00027 #endif /* AES_H */


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:12