hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/crypto/ecc_curve_defs.h
....@@ -2,21 +2,6 @@
22 #ifndef _CRYTO_ECC_CURVE_DEFS_H
33 #define _CRYTO_ECC_CURVE_DEFS_H
44
5
-struct ecc_point {
6
- u64 *x;
7
- u64 *y;
8
- u8 ndigits;
9
-};
10
-
11
-struct ecc_curve {
12
- char *name;
13
- struct ecc_point g;
14
- u64 *p;
15
- u64 *n;
16
- u64 *a;
17
- u64 *b;
18
-};
19
-
205 /* NIST P-192: a = p - 3 */
216 static u64 nist_p192_g_x[] = { 0xF4FF0AFD82FF1012ull, 0x7CBF20EB43A18800ull,
227 0x188DA80EB03090F6ull };