wolfSSL SSL/TLS library, support up to TLS1.3
Dependents: CyaSSL-Twitter-OAuth4Tw Example-client-tls-cert TwitterReader TweetTest ... more
ed448.h
00001 /* ed448.h 00002 * 00003 * Copyright (C) 2006-2020 wolfSSL Inc. 00004 * 00005 * This file is part of wolfSSL. 00006 * 00007 * wolfSSL 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 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * wolfSSL 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 this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA 00020 */ 00021 00022 /* ed448.h */ 00023 00024 #ifndef WOLFSSL_ED448_H_ 00025 #define WOLFSSL_ED448_H_ 00026 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 WOLFSSL_API 00032 int wolfSSL_ED448_generate_key(unsigned char *priv, unsigned int *privSz, 00033 unsigned char *pub, unsigned int *pubSz); 00034 WOLFSSL_API 00035 int wolfSSL_ED448_sign(const unsigned char *msg, unsigned int msgSz, 00036 const unsigned char *priv, unsigned int privSz, 00037 unsigned char *sig, unsigned int *sigSz); 00038 WOLFSSL_API 00039 int wolfSSL_ED448_verify(const unsigned char *msg, unsigned int msgSz, 00040 const unsigned char *pub, unsigned int pubSz, 00041 const unsigned char *sig, unsigned int sigSz); 00042 00043 #ifdef __cplusplus 00044 } /* extern "C" */ 00045 #endif 00046 00047 #endif /* header */ 00048
Generated on Tue Jul 12 2022 20:58:35 by 1.7.2