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