Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:15

0001 /* curve448.h
0002 
0003    Copyright (C) 2017 Daiki Ueno
0004    Copyright (C) 2017 Red Hat, Inc.
0005 
0006    This file is part of GNU Nettle.
0007 
0008    GNU Nettle is free software: you can redistribute it and/or
0009    modify it under the terms of either:
0010 
0011      * the GNU Lesser General Public License as published by the Free
0012        Software Foundation; either version 3 of the License, or (at your
0013        option) any later version.
0014 
0015    or
0016 
0017      * the GNU General Public License as published by the Free
0018        Software Foundation; either version 2 of the License, or (at your
0019        option) any later version.
0020 
0021    or both in parallel, as here.
0022 
0023    GNU Nettle is distributed in the hope that it will be useful,
0024    but WITHOUT ANY WARRANTY; without even the implied warranty of
0025    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0026    General Public License for more details.
0027 
0028    You should have received copies of the GNU General Public License and
0029    the GNU Lesser General Public License along with this program.  If
0030    not, see http://www.gnu.org/licenses/.
0031 */
0032 
0033 #ifndef NETTLE_CURVE448_H
0034 #define NETTLE_CURVE448_H
0035 
0036 #include "nettle-types.h"
0037 
0038 #ifdef __cplusplus
0039 extern "C" {
0040 #endif
0041 
0042 /* Name mangling */
0043 #define curve448_mul_g nettle_curve448_mul_g
0044 #define curve448_mul nettle_curve448_mul
0045 
0046 #define CURVE448_SIZE 56
0047 
0048 void
0049 curve448_mul_g (uint8_t *q, const uint8_t *n);
0050 
0051 void
0052 curve448_mul (uint8_t *q, const uint8_t *n, const uint8_t *p);
0053 
0054 #ifdef __cplusplus
0055 }
0056 #endif
0057 
0058 #endif /* NETTLE_CURVE448_H */