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