1 /* 2 * PKCS #8 (Private-key information syntax) 3 * Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi> 4 * 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. 8 * 9 * Alternatively, this software may be distributed under the terms of BSD 10 * license. 11 * 12 * See README and COPYING for more details. 13 */ 14 15 #ifndef PKCS8_H 16 #define PKCS8_H 17 18 struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len); 19 struct crypto_private_key * 20 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd); 21 22 #endif /* PKCS8_H */ 23