1214501Srpaulo/* 2214501Srpaulo * PKCS #5 (Password-based Encryption) 3214501Srpaulo * Copyright (c) 2009, Jouni Malinen <j@w1.fi> 4214501Srpaulo * 5214501Srpaulo * This program is free software; you can redistribute it and/or modify 6214501Srpaulo * it under the terms of the GNU General Public License version 2 as 7214501Srpaulo * published by the Free Software Foundation. 8214501Srpaulo * 9214501Srpaulo * Alternatively, this software may be distributed under the terms of BSD 10214501Srpaulo * license. 11214501Srpaulo * 12214501Srpaulo * See README and COPYING for more details. 13214501Srpaulo */ 14214501Srpaulo 15214501Srpaulo#ifndef PKCS5_H 16214501Srpaulo#define PKCS5_H 17214501Srpaulo 18214501Srpaulou8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len, 19214501Srpaulo const u8 *enc_data, size_t enc_data_len, 20214501Srpaulo const char *passwd, size_t *data_len); 21214501Srpaulo 22214501Srpaulo#endif /* PKCS5_H */ 23