plan.html 4.39 KB
Newer Older
Niels Möller's avatar
Niels Möller committed
1
<?xml version="1.0" encoding="utf-8"?>
Niels Möller's avatar
Niels Möller committed
2
3
4
5
6
7
8
9
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" title="Default"
      type="text/css" href="todo.css" media="all"/>
    <meta http-equiv="Content-Type"
Niels Möller's avatar
Niels Möller committed
10
      content="text/html; charset=utf-8"/>
Niels Möller's avatar
Niels Möller committed
11
<title>TODO for coming releases</title>
Niels Möller's avatar
Niels Möller committed
12
13
</head>
<body>
Niels Möller's avatar
Niels Möller committed
14
  <h1> Nettle release plans </h1>
Niels Möller's avatar
Niels Möller committed
15
  <p> This is an attempt at defining a development target for
Niels Möller's avatar
Niels Möller committed
16
17
    Nettle-3.1, inspired by similar pages for recent GMP releases.
    [Last updated 2014-10-22]</p>
Niels Möller's avatar
Niels Möller committed
18
19
20
21
22
23
24
25
26
27
28
29
  <p class='should'>
    This really ought to be done before release
  </p>
  <p class='wish'>
    Try to get this done before release
  </p>
  <p class='done'>
    Done!
  </p>
  <p class='postponed'>
    Leave for some later release!
  </p>
Niels Möller's avatar
Niels Möller committed
30

Niels Möller's avatar
Niels Möller committed
31
  <h1> Plans for nettle-3.1 </h1>
Niels Möller's avatar
Niels Möller committed
32
33

  <h2> Interface changes </h2>
Niels Möller's avatar
Niels Möller committed
34
35
36
  <p class='should'>
    Review public functions in ecc.h, move some to ecc-internal.h, to
    enable sane support for other types of curves.
Niels Möller's avatar
Niels Möller committed
37
38
  </p>
  
Niels Möller's avatar
Niels Möller committed
39
  <h2> New features </h2>
Niels Möller's avatar
Niels Möller committed
40
41
42
  <p class='done'>
    Add support for curve25519.<span class='should'> What about the
    "x25519" name?</span>
Niels Möller's avatar
Niels Möller committed
43
  </p>
Niels Möller's avatar
Niels Möller committed
44
45
  <p class='done'>
    Add support for Ed25519 signatures.
Niels Möller's avatar
Niels Möller committed
46
  </p>
Niels Möller's avatar
Niels Möller committed
47
48
  <p class='wish'>
    Add larger "safe" curves, e.g., M-383, curve41417 and E-521.
Niels Möller's avatar
Niels Möller committed
49
  </p>
Niels Möller's avatar
Niels Möller committed
50
  <p class='wish'>
Niels Möller's avatar
Niels Möller committed
51
52
    Add functions for converting ECC points to and from ANSI x9.62.
  </p>
Niels Möller's avatar
Niels Möller committed
53
  <p class='wish'>
Niels Möller's avatar
Niels Möller committed
54
55
56
    Use side-channel silent GMP functions for RSA and DSA. May require
    additional interface changes, to use mpn functions.
  </p>
57
  <p class='done'>
Niels Möller's avatar
Niels Möller committed
58
    Make it possible to build nettle and hogweed using mini-gmp.
Niels Möller's avatar
Niels Möller committed
59
  </p>
Niels Möller's avatar
Niels Möller committed
60
61
  <p class='should'>
    Side-channel silent mem_equalp.
Niels Möller's avatar
Niels Möller committed
62
  </p>
Niels Möller's avatar
Niels Möller committed
63
64
65
66

  <h2> Optimizations </h2>
  <p class='should'>
    Support for using AES acceleration.
Niels Möller's avatar
Niels Möller committed
67
  </p>
Niels Möller's avatar
Niels Möller committed
68
69
70

  <p class='should'>
    Assembly optimizations for ARMv8 (64-bit).
Niels Möller's avatar
Niels Möller committed
71
  </p>
Niels Möller's avatar
Niels Möller committed
72
73
74
75
76
77
  <p class='wish'>
    Further optimizations of curve25519 and EdDSA, in particular,
    radix 51 modp operations,
    and <a href='http://www.hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html#addition-add-2008-hwcd-3'>more
    efficient</a> point addition.
  </p>
Niels Möller's avatar
Niels Möller committed
78
79
80
81
  
  <h2> Miscellaneous </h2>
  <p class='should'>
    Use more GMP-6 functions when available.
Niels Möller's avatar
Niels Möller committed
82
  </p>
Niels Möller's avatar
Niels Möller committed
83
84
85
86

  <h2> Documentation </h2>
  <p class='should'>
    Document curve25519.
Niels Möller's avatar
Niels Möller committed
87
  </p>
Niels Möller's avatar
Niels Möller committed
88
89
  <p class='should'>
    Document EdDSA.
Niels Möller's avatar
Niels Möller committed
90
  </p>
Niels Möller's avatar
Niels Möller committed
91
  
Niels Möller's avatar
Niels Möller committed
92
  <h2> Build system </h2>
Niels Möller's avatar
Niels Möller committed
93
94
95
  <p class='should'>
    Support for fat binaries on ARM and x86_64, selecting code at
    runtime depending on cpu capabilities.
Niels Möller's avatar
Niels Möller committed
96
  </p>
Niels Möller's avatar
Niels Möller committed
97
  <p class='done'>
Niels Möller's avatar
Niels Möller committed
98
    Stop using the nonstandard <tt>.po</tt> extension.
Niels Möller's avatar
Niels Möller committed
99
  </p>
Niels Möller's avatar
Niels Möller committed
100
  <p class='done'>
Niels Möller's avatar
Niels Möller committed
101
102
    Reconsider assembly make rules, going back to an .asm.o: rule
    might work better with Solaris' make.
Niels Möller's avatar
Niels Möller committed
103
  </p>
Niels Möller's avatar
Niels Möller committed
104
105
  <p class='should'>
    Update AX_CREATE_STDINT_H to the latest version.
Niels Möller's avatar
Niels Möller committed
106
  </p>
Niels Möller's avatar
Niels Möller committed
107
  
Niels Möller's avatar
Niels Möller committed
108
109
110
111
  <h2> Testing </h2>
  <p> Since xenofarm isn't up and running, do some manual testing:
  </p>
  <ul>
Niels Möller's avatar
Niels Möller committed
112
113
114
115
116
117
118
119
120
121
122
    <li class='should> x86_64-linux-gnu</li>
    <li class='should'> x86-linux-gnu</li>
    <li class='should'> x86_64-freebsd</li>
    <li class='should'> x86-w*ndows (using cross compiler and wine)</li>
    <li class='should'> x86_64-w*ndows (using cross compiler and wine)</li>
    <li class='should'> x86-darwin (needs help from Nettle users)</li>
    <li class='should'> x86_64-darwin (needs help from Nettle users)</li>
    <li class='should'> armv7-linux-gnu (pandaboard test platform)</li>
    <li class='wish'> armv7-android </li>
    <li class='should'> sparc32-solaris10</li>
    <li class='should'> sparc64-solaris10</li>
Niels Möller's avatar
Niels Möller committed
123
124
  </ul>

Niels Möller's avatar
Niels Möller committed
125
  <h1> Changes under consideration for later releases </h1>
Niels Möller's avatar
Niels Möller committed
126

Niels Möller's avatar
Niels Möller committed
127
128
  <p> These are some other changes under consideration. </p>

Niels Möller's avatar
Niels Möller committed
129
  <h2> Interface changes </h2>
Niels Möller's avatar
Niels Möller committed
130
131
  <p class='should'>
    For Merkle-Damgaard hash functions, separate the state and the
Niels Möller's avatar
Niels Möller committed
132
133
    buffering. E.g., when using them for HMAC keyed "inner" and
    "outer" states, we now get three buffers but we only need one.
Niels Möller's avatar
Niels Möller committed
134
135
136
  </p>
  <p class='should'>
    Reorganize private key operations. Need to support RSA with and
Niels Möller's avatar
Niels Möller committed
137
    without blinding, and DSA according to spec and some deterministic
Niels Möller's avatar
Niels Möller committed
138
139
140
141
142
    variant (like putty
    or <a href='http://tools.ietf.org/html/rfc6979'>RFC6979</a>), and
    possibly also smartcard versions where the private key is not
    available to the library. And without an explosion of the number
    of functions.
Niels Möller's avatar
Niels Möller committed
143
144
145
  </p>
</body>
</html>