00001 /* 00002 * PKCS #5 (Password-based Encryption) 00003 * Copyright (c) 2009, 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 PKCS5_H 00016 #define PKCS5_H 00017 00018 u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len, 00019 const u8 *enc_data, size_t enc_data_len, 00020 const char *passwd, size_t *data_len); 00021 00022 #endif /* PKCS5_H */