xref: /freebsd/contrib/wpa/src/tls/pkcs5.h (revision 0bfd163f522701b486e066fa2e56624c02f5081a)
1e28a4053SRui Paulo /*
2e28a4053SRui Paulo  * PKCS #5 (Password-based Encryption)
3e28a4053SRui Paulo  * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
4e28a4053SRui Paulo  *
5*f05cddf9SRui Paulo  * This software may be distributed under the terms of the BSD license.
6*f05cddf9SRui Paulo  * See README for more details.
7e28a4053SRui Paulo  */
8e28a4053SRui Paulo 
9e28a4053SRui Paulo #ifndef PKCS5_H
10e28a4053SRui Paulo #define PKCS5_H
11e28a4053SRui Paulo 
12e28a4053SRui Paulo u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len,
13e28a4053SRui Paulo 		   const u8 *enc_data, size_t enc_data_len,
14e28a4053SRui Paulo 		   const char *passwd, size_t *data_len);
15e28a4053SRui Paulo 
16e28a4053SRui Paulo #endif /* PKCS5_H */
17