MFC corrected printing of the slice number when adding a GPT partition.
[dragonfly.git] / contrib / wpa_supplicant-0.5.8 / aes.h
blob6b9f4147afb17dccb535bb7f39b465472272ed8d
1 /*
2 * AES functions
3 * Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
15 #ifndef AES_H
16 #define AES_H
18 void * aes_encrypt_init(const u8 *key, size_t len);
19 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
20 void aes_encrypt_deinit(void *ctx);
21 void * aes_decrypt_init(const u8 *key, size_t len);
22 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
23 void aes_decrypt_deinit(void *ctx);
25 #endif /* AES_H */