xref: /dflybsd-src/contrib/wpa_supplicant/src/tls/pkcs8.h (revision bcf9aa4feb4a2fdf8ceac276d271a57f4b27e13d)
1 /*
2  * PKCS #8 (Private-key information syntax)
3  * Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef PKCS8_H
10 #define PKCS8_H
11 
12 struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len);
13 struct crypto_private_key *
14 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);
15 
16 #endif /* PKCS8_H */
17