Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 1 | /* |
| 2 | * PKCS #5 (Password-based Encryption) |
| 3 | * Copyright (c) 2009, Jouni Malinen <j@w1.fi> |
| 4 | * |
Dmitry Shmidt | c5ec7f5 | 2012-03-06 16:33:24 -0800 | [diff] [blame] | 5 | * This software may be distributed under the terms of the BSD license. |
| 6 | * See README for more details. |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef PKCS5_H |
| 10 | #define PKCS5_H |
| 11 | |
| 12 | u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len, |
| 13 | const u8 *enc_data, size_t enc_data_len, |
| 14 | const char *passwd, size_t *data_len); |
| 15 | |
| 16 | #endif /* PKCS5_H */ |