Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release

This commit is contained in:
Jouni Malinen 2008-02-27 17:34:43 -08:00 committed by Jouni Malinen
commit 6fc6879bd5
589 changed files with 213408 additions and 0 deletions

25
src/crypto/aes.h Normal file
View file

@ -0,0 +1,25 @@
/*
* AES functions
* Copyright (c) 2003-2006, 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.
*/
#ifndef AES_H
#define AES_H
void * aes_encrypt_init(const u8 *key, size_t len);
void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
void aes_encrypt_deinit(void *ctx);
void * aes_decrypt_init(const u8 *key, size_t len);
void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
void aes_decrypt_deinit(void *ctx);
#endif /* AES_H */