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