]> Cypherpunks.ru repositories - gost-www.git/blob - en/34.13-2015.texi
83cc9cbdda76ebe40e15057e86fe9efbde2ff615
[gost-www.git] / en / 34.13-2015.texi
1 @node en34132015
2 @section Cipher modes of operation
3
4 @ref{en2814789, GOST 28147-89} standard defines the following modes of
5 operation for Magma cipher:
6 @itemize
7     @item ECB
8     @item CFB
9     @item CTR
10     @item MAC
11 @end itemize
12
13 @strong{Features}:
14 @itemize
15 @item 28147-89 MAC is completely unusable:
16     @itemize
17         @item Reduced 16-round Magma cipher is used instead of 32 one.
18         @item Authenticating data does not have neither padding, nor
19         length specifying, so @code{MAC(0xDEAD) = MAC(0xDEAD00)}.
20     @end itemize
21 @item Specified counter (CTR) mode increments counters with predefined
22 constants for 32-bit halves of the block. This differs from simpler
23 counter mode implementations.
24 @end itemize
25
26 Modern @strong{GOST R 34.13-2015} standard defines the following modes
27 of operation:
28 @itemize
29 @item ECB
30 @item CBC
31 @item OFB
32 @item CFB
33 @item CTR
34 @item MAC
35 @end itemize
36
37 @strong{Features}:
38 @itemize
39 @item Common simple counter mode implementation.
40 @item Specified MAC is identical to
41 @url{https://en.wikipedia.org/wiki/CMAC, CMAC} and can be used safely.
42 @end itemize