]> Cypherpunks.ru repositories - gogost.git/blob - news.texi
gost3410.Public/Private keys BE/LE marshalling
[gogost.git] / news.texi
1 @node News
2 @unnumbered News
3
4 @table @strong
5
6 @anchor{Release 5.13.0}
7 @item 5.13.0
8     @itemize
9     @item
10         @code{gost3410.NewPublicKeyLE}, @code{gost3410.PublicKey.RawLE},
11         @code{gost3410.NewPublicKeyBE}, @code{gost3410.PublicKey.RawBE},
12         @code{gost3410.NewPrivateKeyLE}, @code{gost3410.PrivateKey.RawLE},
13         @code{gost3410.NewPrivateKeyBE}, @code{gost3410.PrivateKey.RawBE},
14         functions appeared, to simplify dealing with different endianness
15         keys serialisation
16     @end itemize
17
18 @anchor{Release 5.12.0}
19 @item 5.12.0
20 Updated dependencies.
21
22 @anchor{Release 5.11.0}
23 @item 5.11.0
24 You can check if public key is on curve with
25 @code{gost3410.Curve.Contains} method now.
26
27 @anchor{Release 5.10.0}
28 @item 5.10.0
29     @itemize
30     @item @code{mgm.MGM.Open} returns @code{mgm.InvalidTag} for failed authentication
31     @item Example @file{cmd/cer-dane-hash} and
32         @file{cmd/cer-selfsigned-example} utilities appeared
33     @end itemize
34
35 @anchor{Release 5.9.1}
36 @item 5.9.1
37 Updated and cleaned up @file{go.sum}.
38
39 @anchor{Release 5.9.0}
40 @item 5.9.0
41 @code{gost3410} is more thread-safe.
42
43 @anchor{Release 5.8.0}
44 @item 5.8.0
45 Faster Kuznechik and ~3x faster Kuznechik-MGM.
46
47 @anchor{Release 5.7.0}
48 @item 5.7.0
49 Go 1.17 requires @code{gost3410.PublicKey} to have @code{Equal} method.
50
51 @anchor{Release 5.6.0}
52 @item 5.6.0
53     @itemize
54     @item Add @code{gost3410.CurveIdtc26gost341012512paramSetTest} curve
55     @item More curve aliases:
56 @verbatim
57 CurveIdGostR34102001CryptoProAParamSet -> CurveIdtc26gost341012256paramSetB
58 CurveIdGostR34102001CryptoProBParamSet -> CurveIdtc26gost341012256paramSetC
59 CurveIdGostR34102001CryptoProCParamSet -> CurveIdtc26gost341012256paramSetD
60 CurveIdGostR34102001CryptoProXchAParamSet -> CurveIdGostR34102001CryptoProAParamSet
61 CurveIdGostR34102001CryptoProXchBParamSet -> CurveIdGostR34102001CryptoProCParamSet
62 CurveIdtc26gost34102012256paramSetA -> CurveIdtc26gost341012256paramSetA
63 CurveIdtc26gost34102012256paramSetB -> CurveIdtc26gost341012256paramSetB
64 CurveIdtc26gost34102012256paramSetC -> CurveIdtc26gost341012256paramSetC
65 CurveIdtc26gost34102012256paramSetD -> CurveIdtc26gost341012256paramSetD
66 CurveIdtc26gost34102012512paramSetTest -> CurveIdtc26gost341012512paramSetTest
67 CurveIdtc26gost34102012512paramSetA -> CurveIdtc26gost341012512paramSetA
68 CurveIdtc26gost34102012512paramSetB -> CurveIdtc26gost341012512paramSetB
69 CurveIdtc26gost34102012512paramSetC -> CurveIdtc26gost341012512paramSetC
70 @end verbatim
71     @end itemize
72
73 @anchor{Release 5.5.0}
74 @item 5.5.0
75     @code{gost3410.PrivateKey} is in @code{gost3410.Curve.Q} now. That
76     makes them more friendly with some implementations.
77
78 @anchor{Release 5.4.0}
79 @item 5.4.0
80     Even slightly less allocations in Streebog.
81
82 @anchor{Release 5.3.0}
83 @item 5.3.0
84     ~16x speedup of Streebog, ~15x speedup of Kuznechik.
85
86 @anchor{Release 5.2.0}
87 @item 5.2.0
88     MGM does not panic when short (tagless) message is verified.
89
90 @anchor{Release 5.1.1}
91 @item 5.1.1
92     Tarball uses vendoring, instead of @env{GOPATH} overriding.
93     As minimal Go version is 1.12 for a long time, it supports modules.
94
95 @anchor{Release 5.1.0}
96 @item 5.1.0
97     @code{gost3410/KEK*} functions do not alter @code{ukm} argument.
98     It is safe to reuse now.
99
100 @anchor{Release 5.0.0}
101 @item 5.0.0
102     Backward incompatible remove of excess misleading @code{gost3410.Mode}
103     from all related functions. Point/key sizes are determined by
104     looking at curve's parameters size.
105
106 @anchor{Release 4.3.0}
107 @item 4.3.0
108     @strong{Fixed} nasty bug with Edwards curves using in 34.10-VKO
109     functions: curve's cofactor has not been used.
110
111 @anchor{Release 4.2.4}
112 @item 4.2.4
113     @code{gost3410.PrivateKeyReverseDigest} reversed digests and
114     @code{PrivateKeyReverseDigestAndSignature} with also reversed signatures
115     signers appeared for convenience.
116
117 @anchor{Release 4.2.3}
118 @item 4.2.3
119     Panic on all possible hash @code{Write} errors.
120
121 @anchor{Release 4.2.2}
122 @item 4.2.2
123     More 34.10-2012 test vectors.
124
125 @anchor{Release 4.2.1}
126 @item 4.2.1
127     Dummy release. More nicer tarballs.
128
129 @anchor{Release 4.2.0}
130 @item 4.2.0
131     @itemize
132     @item @code{PRF_IPSEC_PRFPLUS_GOSTR3411_2012_@{256,512@}} implementation
133     @item Generic @code{prf+} function (taken from IKEv2
134         (@url{https://tools.ietf.org/html/rfc5831.html, RFC 7296}))
135     @end itemize
136
137 @anchor{Release 4.1.0}
138 @item 4.1.0
139     @itemize
140     @item @code{ESPTREE}/@code{IKETREE} implementation
141     @item @code{CurveIdtc26gost34102012256paramSetB},
142         @code{CurveIdtc26gost34102012256paramSetC},
143         @code{CurveIdtc26gost34102012256paramSetD} curve aliases
144     @item Forbid any later GNU GPL version autousage
145         (project's licence now is GNU GPLv3 only)
146     @item Project now is @command{go get}-able and uses
147         @code{go.cypherpunks.ru} namespace:
148         @command{go get go.cypherpunks.ru/gogost},
149         @command{go get go.cypherpunks.ru/gogost/cmd/streebog@{256,512@}}
150     @end itemize
151
152 @anchor{Release 4.0}
153 @item 4.0
154     @itemize
155     @item Backward incompatible change: all keys passing to encryption
156         functions are slices now, not the fixed arrays. That heavily
157         simplifies the library usage
158     @item Fix bug with overwriting IVs memory in @code{gost28147.CFB*crypter}
159     @item @code{TLSTREE}, used in TLS 1.[23], implementation
160     @item @code{gost3410.KEK2012*} can be used with any curves, not only 512-bit ones
161     @item @code{gost3410.PrivateKey} satisfies @code{crypto.Signer} interface
162     @item @code{gost34112012*} hashes satisfy @code{encoding.Binary(Un)Marshaler}
163     @item Streebog256 HKDF test vectors
164     @end itemize
165
166 @anchor{Release 3.0}
167 @item 3.0
168     @itemize
169     @item Multilinear Galois Mode (MGM) block cipher mode for
170       64 and 128 bit ciphers
171     @item @code{KDF_GOSTR3411_2012_256} KDF
172     @item 34.12-2015 64-bit block cipher Магма (Magma)
173     @item Additional EAC 28147-89 Sbox
174     @item 34.10-2012 TC26 twisted Edwards curve related parameters
175     @item Coordinates conversion from twisted Edwards to Weierstrass
176       form and vice versa
177     @item Fixed @code{gost3410.PrivateKey}'s length validation
178     @item Backward incompatible change: @code{gost3410.NewCurve} takes
179       @code{big.Int}, instead of encoded integers
180     @item Backward incompatible Sbox and curves parameters renaming, to
181       comply with OIDs identifying them:
182 @verbatim
183 Gost2814789_TestParamSet       -> SboxIdGost2814789TestParamSet
184 Gost28147_CryptoProParamSetA   -> SboxIdGost2814789CryptoProAParamSet
185 Gost28147_CryptoProParamSetB   -> SboxIdGost2814789CryptoProBParamSet
186 Gost28147_CryptoProParamSetC   -> SboxIdGost2814789CryptoProCParamSet
187 Gost28147_CryptoProParamSetD   -> SboxIdGost2814789CryptoProDParamSet
188 GostR3411_94_TestParamSet      -> SboxIdGostR341194TestParamSet
189 Gost28147_tc26_ParamZ          -> SboxIdtc26gost28147paramZ
190 GostR3411_94_CryptoProParamSet -> SboxIdGostR341194CryptoProParamSet
191 EACParamSet                    -> SboxEACParamSet
192
193 CurveParamsGostR34102001cc            -> CurveGostR34102001ParamSetcc
194 CurveParamsGostR34102001Test          -> CurveIdGostR34102001TestParamSet
195 CurveParamsGostR34102001CryptoProA    -> CurveIdGostR34102001CryptoProAParamSet
196 CurveParamsGostR34102001CryptoProB    -> CurveIdGostR34102001CryptoProBParamSet
197 CurveParamsGostR34102001CryptoProC    -> CurveIdGostR34102001CryptoProCParamSet
198 CurveParamsGostR34102001CryptoProXchA -> CurveIdGostR34102001CryptoProXchAParamSet
199 CurveParamsGostR34102001CryptoProXchB -> CurveIdGostR34102001CryptoProXchBParamSet
200 CurveParamsGostR34102012TC26ParamSetA -> CurveIdtc26gost341012512paramSetA
201 CurveParamsGostR34102012TC26ParamSetB -> CurveIdtc26gost341012512paramSetB
202 @end verbatim
203     @item Various additional test vectors
204     @item go modules friendliness
205     @end itemize
206
207 @anchor{Release 2.0}
208 @item 2.0
209     @itemize
210     @item 34.11-2012 is split on two different modules:
211         @code{gost34112012256} and @code{gost34112012512}
212     @item 34.11-94's digest is reversed. Now it is compatible with TC26's
213       HMAC and PBKDF2 test vectors
214     @item @code{gogost-streebog} is split to @code{streebog256} and
215         @code{streebog512} correspondingly by analogy with sha* utilities
216     @item added VKO 34.10-2012 support with corresponding test vectors
217     @item @code{gost3410.DigestSizeX} is renamed to
218         @code{gost3410.ModeX} because it is not related to digest size,
219         but parameters and key sizes
220     @item KEK functions take @code{big.Int} UKM value. Use @code{NewUKM}
221         to unmarshal raw binary UKM
222     @end itemize
223
224 @anchor{Release 1.1}
225 @item 1.1
226     @itemize
227     @item gogost-streebog is able to use either 256 or 512 bits digest size
228     @item 34.13-2015 padding methods
229     @item 28147-89 CBC mode of operation
230     @end itemize
231
232 @end table