|
||||
File indexing completed on 2025-01-18 10:02:15
0001 /* ecc-curve.h 0002 0003 Copyright (C) 2013 Niels Möller 0004 0005 This file is part of GNU Nettle. 0006 0007 GNU Nettle is free software: you can redistribute it and/or 0008 modify it under the terms of either: 0009 0010 * the GNU Lesser General Public License as published by the Free 0011 Software Foundation; either version 3 of the License, or (at your 0012 option) any later version. 0013 0014 or 0015 0016 * the GNU General Public License as published by the Free 0017 Software Foundation; either version 2 of the License, or (at your 0018 option) any later version. 0019 0020 or both in parallel, as here. 0021 0022 GNU Nettle is distributed in the hope that it will be useful, 0023 but WITHOUT ANY WARRANTY; without even the implied warranty of 0024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0025 General Public License for more details. 0026 0027 You should have received copies of the GNU General Public License and 0028 the GNU Lesser General Public License along with this program. If 0029 not, see http://www.gnu.org/licenses/. 0030 */ 0031 0032 /* Development of Nettle's ECC support was funded by the .SE Internet Fund. */ 0033 0034 #ifndef NETTLE_ECC_CURVE_H_INCLUDED 0035 #define NETTLE_ECC_CURVE_H_INCLUDED 0036 0037 #include "nettle-types.h" 0038 0039 #ifdef __cplusplus 0040 extern "C" { 0041 #endif 0042 0043 /* The contents of this struct is internal. */ 0044 struct ecc_curve; 0045 0046 const struct ecc_curve * _NETTLE_ATTRIBUTE_PURE nettle_get_gost_gc256b(void); 0047 const struct ecc_curve * _NETTLE_ATTRIBUTE_PURE nettle_get_gost_gc512a(void); 0048 const struct ecc_curve * _NETTLE_ATTRIBUTE_PURE nettle_get_secp_192r1(void); 0049 const struct ecc_curve * _NETTLE_ATTRIBUTE_PURE nettle_get_secp_224r1(void); 0050 const struct ecc_curve * _NETTLE_ATTRIBUTE_PURE nettle_get_secp_256r1(void); 0051 const struct ecc_curve * _NETTLE_ATTRIBUTE_PURE nettle_get_secp_384r1(void); 0052 const struct ecc_curve * _NETTLE_ATTRIBUTE_PURE nettle_get_secp_521r1(void); 0053 0054 #ifdef __cplusplus 0055 } 0056 #endif 0057 0058 #endif /* NETTLE_ECC_CURVE_H_INCLUDED */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |