diff libtomcrypt/src/pk/ecc/ecc.c @ 1471:6dba84798cd5

Update to libtomcrypt 1.18.1, merged with Dropbear changes
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 21:44:05 +0800
parents f849a5ca2efc
children
line wrap: on
line diff
--- a/libtomcrypt/src/pk/ecc/ecc.c	Thu Feb 08 23:11:40 2018 +0800
+++ b/libtomcrypt/src/pk/ecc/ecc.c	Fri Feb 09 21:44:05 2018 +0800
@@ -5,8 +5,6 @@
  *
  * The library is free for all purposes without any express
  * guarantee it works.
- *
- * Tom St Denis, [email protected], http://libtom.org
  */
 
 /* Implements ECC over Z/pZ for curve y^2 = x^3 - 3x + b
@@ -19,13 +17,13 @@
 /**
   @file ecc.c
   ECC Crypto, Tom St Denis
-*/  
+*/
 
 #ifdef LTC_MECC
 
 /* This holds the key settings.  ***MUST*** be organized by size from smallest to largest. */
 const ltc_ecc_set_type ltc_ecc_sets[] = {
-#ifdef ECC112
+#ifdef LTC_ECC112
 {
         14,
         "SECP112R1",
@@ -36,7 +34,7 @@
         "A89CE5AF8724C0A23E0E0FF77500"
 },
 #endif
-#ifdef ECC128
+#ifdef LTC_ECC128
 {
         16,
         "SECP128R1",
@@ -47,7 +45,7 @@
         "CF5AC8395BAFEB13C02DA292DDED7A83",
 },
 #endif
-#ifdef ECC160
+#ifdef LTC_ECC160
 {
         20,
         "SECP160R1",
@@ -58,7 +56,7 @@
         "23A628553168947D59DCC912042351377AC5FB32",
 },
 #endif
-#ifdef ECC192
+#ifdef LTC_ECC192
 {
         24,
         "ECC-192",
@@ -69,7 +67,7 @@
         "7192B95FFC8DA78631011ED6B24CDD573F977A11E794811",
 },
 #endif
-#ifdef ECC224
+#ifdef LTC_ECC224
 {
         28,
         "ECC-224",
@@ -80,7 +78,7 @@
         "BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",
 },
 #endif
-#ifdef ECC256
+#ifdef LTC_ECC256
 {
         32,
         "ECC-256",
@@ -91,7 +89,7 @@
         "4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",
 },
 #endif
-#ifdef ECC384
+#ifdef LTC_ECC384
 {
         48,
         "ECC-384",
@@ -102,7 +100,7 @@
         "3617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F",
 },
 #endif
-#ifdef ECC521
+#ifdef LTC_ECC521
 {
         66,
         "ECC-521",
@@ -121,7 +119,7 @@
 
 #endif
 
-/* $Source$ */
-/* $Revision$ */
-/* $Date$ */
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */