ssh
Embed:
(wiki syntax)
Show/hide line numbers
keygen.h
00001 /* keygen.h 00002 * 00003 * Copyright (C) 2014-2016 wolfSSL Inc. 00004 * 00005 * This file is part of wolfSSH. 00006 * 00007 * wolfSSH is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 3 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * wolfSSH is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with wolfSSH. If not, see <http://www.gnu.org/licenses/>. 00019 */ 00020 00021 00022 /* 00023 * The keygen module contains utility functions wrapping the wolfCrypt 00024 * key generation functions to product SSH friendly keys. 00025 */ 00026 00027 00028 #pragma once 00029 00030 #ifndef WOLFSSH_KEYGEN_H 00031 #define WOLFSSH_KEYGEN_H 00032 00033 #include <wolfssh/settings.h> 00034 #include <wolfssh/port.h> 00035 00036 #ifdef __cplusplus 00037 extern "C" { 00038 #endif 00039 00040 00041 #define WOLFSSH_RSAKEY_DEFAULT_SZ 2048 00042 #define WOLFSSH_RSAKEY_DEFAULT_E 65537 00043 00044 00045 WOLFSSH_API int wolfSSH_MakeRsaKey(byte*, word32, word32, word32); 00046 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif 00051 00052 #endif
Generated on Tue Jul 12 2022 21:46:52 by 1.7.2