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

Document Type Active Internet-Draft (individual)
Last updated 2019-11-13 (latest revision 2019-10-31)
Stream ISE
Intended RFC status Informational
Formats plain text xml pdf htmlized bibtex
Stream ISE state In ISE Review
Revised I-D Needed
Consensus Boilerplate Unknown
Document shepherd Adrian Farrel
IESG IESG state I-D Exists::Revised I-D Needed
Telechat date
Responsible AD (None)
Send notices to Adrian Farrel <rfc-ise@rfc-editor.org>
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: May 2, 2020                                    October 30, 2019

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

Abstract

   In addition to a new cipher with block length of n=128 bits (referred
   as "Kyznyechik" and described in RFC 7801) Russian Federal standard
   GOST R 34.12-2015 includes an updated version of the block cipher
   with block length of n=64 bits and key length k=256 bits, which is
   also referred as "Magma".  The algorithm is an updated version of
   older block cipher with block length of n=64 bits described in GOST
   28147-89 (RFC 5830).  This document is intended to be a source of
   information about the updated version of 64-bit cipher.  It may
   facilitate the use of the block cipher in Internet applications by
   providing information for developers and users of GOST 64-bit cipher
   with the revised version of the cipher for encryption and decryption.

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 May 2, 2020.

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

Dolmatov & Eremin-SolenikovExpires May 2, 2020                  [Page 1]
Internet-Draft   GOST R 34.12-2015: Block Cipher "Magma"    October 2019

   (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
   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.  Parameter Values  . . . . . . . . . . . . . . . . . . . . . .   5
     4.1.  Nonlinear Bijection . . . . . . . . . . . . . . . . . . .   5
     4.2.  Transformations . . . . . . . . . . . . . . . . . . . . .   6
     4.3.  Key schedule  . . . . . . . . . . . . . . . . . . . . . .   6
   5.  Basic encryption algorithm  . . . . . . . . . . . . . . . . .   7
     5.1.  Encryption  . . . . . . . . . . . . . . . . . . . . . . .   7
     5.2.  Decryption  . . . . . . . . . . . . . . . . . . . . . . .   7
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   7
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .   7
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   7
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .   7
     8.2.  Informative References  . . . . . . . . . . . . . . . . .   8
   Appendix A.  Test Examples  . . . . . . . . . . . . . . . . . . .   8
     A.1.  Transformation t  . . . . . . . . . . . . . . . . . . . .   8
     A.2.  Transformation g  . . . . . . . . . . . . . . . . . . . .   9
     A.3.  Key schedule  . . . . . . . . . . . . . . . . . . . . . .   9
     A.4.  Test Encryption . . . . . . . . . . . . . . . . . . . . .  10
     A.5.  Test Decryption . . . . . . . . . . . . . . . . . . . . .  11
   Appendix B.  Background . . . . . . . . . . . . . . . . . . . . .  12
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  13

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
Show full document text