Bitcoin Forum
April 26, 2024, 04:17:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / techinical papers about EC on: June 20, 2014, 04:23:47 AM
Hi forum,

What are good information resources about ECC_DIALECT_STANDARD and ECC_DIALECT_NONSTANDARD.

I am trying to undertand that code

Code:
diff --git a/cipher/ecc-curves.c b/cipher/ecc-curves.c
 index 0f622f7..e7dbc17 100644
 --- a/cipher/ecc-curves.c
 +++ b/cipher/ecc-curves.c
 @@ -40,7 +40,7 @@ static const struct
    const char *other; /* Other name. */
  } curve_aliases[] =
    {
 -  /*{ "Curve25519", "1.3.6.1.4.1.3029.1.5.1" },*/
 +    { "Curve25519", "1.3.6.1.4.1.3029.1.5.1" },
      { "Ed25519",    "1.3.6.1.4.1.11591.15.1" },

      { "NIST P-192", "1.2.840.10045.3.1.1" }, /* X9.62 OID  */
 @@ -127,6 +127,17 @@ static const ecc_domain_parms_t domain_parms[] =
        "0x216936D3CD6E53FEC0A4E231FDD6DC5C692CC7609525A7B2C9562D608F25D51A",
        "0x6666666666666666666666666666666666666666666666666666666666666658"
      },
 +    {
 +      /* (y^2 = x^3 + 486662*x^2 + x) */
 +      "Curve25519", 256, 0,
 +      MPI_EC_MONTGOMERY, ECC_DIALECT_STANDARD,
 +      "0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFED",
 +      "0x01DB41",
 +      "0x01",
 +      "0x1000000000000000000000000000000014DEF9DEA2F79CD65812631A5CF5D3ED",
 +      "0x0000000000000000000000000000000000000000000000000000000000000009",
 +      "0x20AE19A1B8A086B4E01EDD2C7748D14C923D4D7E6D7C61B229E9C5A27ECED3D9"
 +    },
  #if 0 /* No real specs yet found.  */
      {
        /* x^2 + y^2 = 1 + 3617x^2y^2 mod 2^414 - 17 */


local_ref
https://bitcointalk.org/index.php?topic=2699.0
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!