summaryrefslogtreecommitdiffstats
path: root/contrib/wpa_supplicant/aes.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-07-11 15:48:36 +0000
committersam <sam@FreeBSD.org>2007-07-11 15:48:36 +0000
commit35aef052ff21baa52c4cec68b512986c21f70a48 (patch)
treec3da7f33886a852f7dceb74373fbdeec49a48f77 /contrib/wpa_supplicant/aes.h
parent840099f34d8de1ca769f02fae379c4d8e5d6688a (diff)
downloadFreeBSD-src-35aef052ff21baa52c4cec68b512986c21f70a48.zip
FreeBSD-src-35aef052ff21baa52c4cec68b512986c21f70a48.tar.gz
Import of WPA supplicant 0.5.8
Diffstat (limited to 'contrib/wpa_supplicant/aes.h')
-rw-r--r--contrib/wpa_supplicant/aes.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/wpa_supplicant/aes.h b/contrib/wpa_supplicant/aes.h
new file mode 100644
index 0000000..6b9f414
--- /dev/null
+++ b/contrib/wpa_supplicant/aes.h
@@ -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 */
OpenPOWER on IntegriCloud