GOST R 34.12-2015: Block Cipher "Magma"
draft-dolmatov-magma-01

Document Type Active Internet-Draft (individual)
Last updated 2019-06-26
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Internet Engineering Task Force                         V. Dolmatov, Ed.
Internet-Draft                                      JSC "NPK Kryptonite"
Updates: 5830 (if approved)                          D. Eremin-Solenikov
Intended status: Informational                               Auriga, Inc
Expires: December 27, 2019                                 June 26, 2019

                GOST R 34.12-2015: Block Cipher "Magma"
                        draft-dolmatov-magma-01

Abstract

   This document is intended to be a source of information about updated
   version of the block cipher with block length of n=64 bits and key
   length k=256 bits (RFC5830), which is also referred as "Magma" and is
   described in the Russian Federal standard GOST R 34.12-2015,
   containing also the description of block cipher "Kuznechik"
   (RFC7801).  These algorithms are from the set of Russian
   cryptographic standard algorithms (called GOST algorithms).

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on December 27, 2019.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must

Dolmatov & Eremin-SoleniExpires December 27, 2019               [Page 1]
Internet-Draft              Abbreviated Title                  June 2019

   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  General Information . . . . . . . . . . . . . . . . . . . . .   3
   3.  Definitions and Notations . . . . . . . . . . . . . . . . . .   3
     3.1.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   3
     3.2.  Notations . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Description of Kuznechik cipher . . . . . . . . . . . . . . .   5
   5.  Parameter Values  . . . . . . . . . . . . . . . . . . . . . .   5
     5.1.  Nonlinear Bijection . . . . . . . . . . . . . . . . . . .   5
     5.2.  Transformations . . . . . . . . . . . . . . . . . . . . .   6
     5.3.  Key schedule  . . . . . . . . . . . . . . . . . . . . . .   6
   6.  Basic encryption algorithm  . . . . . . . . . . . . . . . . .   7
     6.1.  Encryption  . . . . . . . . . . . . . . . . . . . . . . .   7
     6.2.  Decryption  . . . . . . . . . . . . . . . . . . . . . . .   7
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   7
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .   7
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   7
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .   7
     9.2.  Informative References  . . . . . . . . . . . . . . . . .   8
   Appendix A.  Test Examples  . . . . . . . . . . . . . . . . . . .   8
     A.1.  Transformation t  . . . . . . . . . . . . . . . . . . . .   8
     A.2.  Transformation g  . . . . . . . . . . . . . . . . . . . .   8
     A.3.  Key schedule  . . . . . . . . . . . . . . . . . . . . . .   9
     A.4.  Test Encryption . . . . . . . . . . . . . . . . . . . . .  10
     A.5.  Test Decryption . . . . . . . . . . . . . . . . . . . . .  11
   Appendix B.  Background . . . . . . . . . . . . . . . . . . . . .  12
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  12

1.  Introduction

   The Russian Federal standard [GOSTR3412-2015] specifies basic block
   ciphers used as cryptographic techniques for information processing
   and information protection including the provision of
   confidentiality, authenticity, and integrity of information during
   information transmission, processing and storage in computer-aided
   systems.

   The cryptographic algorithms specified in this Standard are designed
   both for hardware and software implementation.  They comply with
   modern cryptographic requirements, and put no restrictions on the
Show full document text