23 lines
655 B
C
23 lines
655 B
C
|
/*
|
||
|
* PKCS #8 (Private-key information syntax)
|
||
|
* Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 as
|
||
|
* published by the Free Software Foundation.
|
||
|
*
|
||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||
|
* license.
|
||
|
*
|
||
|
* See README and COPYING for more details.
|
||
|
*/
|
||
|
|
||
|
#ifndef PKCS8_H
|
||
|
#define PKCS8_H
|
||
|
|
||
|
struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len);
|
||
|
struct crypto_private_key *
|
||
|
pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);
|
||
|
|
||
|
#endif /* PKCS8_H */
|