xref: /aosp_15_r20/external/wpa_supplicant_8/src/tls/pkcs8.h (revision 03f9172ca588f91df233974f4258bab95191f931)
1*03f9172cSAndroid Build Coastguard Worker /*
2*03f9172cSAndroid Build Coastguard Worker  * PKCS #8 (Private-key information syntax)
3*03f9172cSAndroid Build Coastguard Worker  * Copyright (c) 2006-2009, Jouni Malinen <[email protected]>
4*03f9172cSAndroid Build Coastguard Worker  *
5*03f9172cSAndroid Build Coastguard Worker  * This software may be distributed under the terms of the BSD license.
6*03f9172cSAndroid Build Coastguard Worker  * See README for more details.
7*03f9172cSAndroid Build Coastguard Worker  */
8*03f9172cSAndroid Build Coastguard Worker 
9*03f9172cSAndroid Build Coastguard Worker #ifndef PKCS8_H
10*03f9172cSAndroid Build Coastguard Worker #define PKCS8_H
11*03f9172cSAndroid Build Coastguard Worker 
12*03f9172cSAndroid Build Coastguard Worker struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len);
13*03f9172cSAndroid Build Coastguard Worker struct crypto_private_key *
14*03f9172cSAndroid Build Coastguard Worker pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);
15*03f9172cSAndroid Build Coastguard Worker 
16*03f9172cSAndroid Build Coastguard Worker #endif /* PKCS8_H */
17