xref: /freebsd/contrib/wpa/src/tls/pkcs8.h (revision 0bfd163f522701b486e066fa2e56624c02f5081a)
1e28a4053SRui Paulo /*
2e28a4053SRui Paulo  * PKCS #8 (Private-key information syntax)
3e28a4053SRui Paulo  * Copyright (c) 2006-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 PKCS8_H
10e28a4053SRui Paulo #define PKCS8_H
11e28a4053SRui Paulo 
12e28a4053SRui Paulo struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len);
13e28a4053SRui Paulo struct crypto_private_key *
14e28a4053SRui Paulo pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);
15e28a4053SRui Paulo 
16e28a4053SRui Paulo #endif /* PKCS8_H */
17