ACVP Symmetric Block Cipher Algorithm JSON Specification
draft-celi-block-ciph-00

Document Type Active Internet-Draft (individual)
Last updated 2019-02-21
Stream (None)
Intended RFC status (None)
Formats plain text xml 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)
TBD                                                         C. Celi, Ed.
Internet-Draft            National Institute of Standards and Technology
Intended status: Informational                         February 21, 2019
Expires: August 25, 2019

        ACVP Symmetric Block Cipher Algorithm JSON Specification
                        draft-celi-block-ciph-00

Abstract

   This document defines the JSON schema for using symmetric block
   cipher algorithms with the ACVP specification.

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 August 25, 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
   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.

Celi                     Expires August 25, 2019                [Page 1]
Internet-Draft                Sym Alg JSON                 February 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Requirements Language . . . . . . . . . . . . . . . . . .   3
   2.  Supported Block Cipher Algorithms . . . . . . . . . . . . . .   3
   3.  Test Types and Test Coverage  . . . . . . . . . . . . . . . .   4
     3.1.  Monte Carlo tests for block ciphers . . . . . . . . . . .   5
       3.1.1.  AES Monte Carlo Test - ECB mode . . . . . . . . . . .   6
       3.1.2.  AES Monte Carlo Test - CBC mode . . . . . . . . . . .   6
       3.1.3.  AES Monte Carlo Test - OFB mode . . . . . . . . . . .   7
       3.1.4.  AES Monte Carlo Test - CFB1 mode  . . . . . . . . . .   8
       3.1.5.  AES Monte Carlo Test - CFB8 mode  . . . . . . . . . .   9
       3.1.6.  AES Monte Carlo Test - CFB128 mode  . . . . . . . . .  10
       3.1.7.  AES Monte Carlo Key Shuffle . . . . . . . . . . . . .  11
       3.1.8.  TDES Monte Carlo Test - ECB mode  . . . . . . . . . .  12
       3.1.9.  TDES Monte Carlo Test - CBC mode  . . . . . . . . . .  12
       3.1.10. TDES Monte Carlo Test - CBC-I mode  . . . . . . . . .  13
       3.1.11. TDES Monte Carlo Test - CFB1, CFB8, CFB64 modes . . .  15
       3.1.12. TDES Monte Carlo Test - CFB1-P, CFB8-P, CFB64-P modes  15
       3.1.13. TDES Monte Carlo Test - OFB mode  . . . . . . . . . .  16
       3.1.14. TDES Monte Carlo Test - OFB-I mode  . . . . . . . . .  17
     3.2.  Test Coverage . . . . . . . . . . . . . . . . . . . . . .  18
       3.2.1.  AES Requirements Covered  . . . . . . . . . . . . . .  18
       3.2.2.  AES Requirements Not Covered  . . . . . . . . . . . .  19
       3.2.3.  TDES Requirements Covered . . . . . . . . . . . . . .  19
       3.2.4.  TDES Requirements Not Covered . . . . . . . . . . . .  19
       3.2.5.  AEAD Requirements Covered . . . . . . . . . . . . . .  19
       3.2.6.  AEAD Requirements Not Covered . . . . . . . . . . . .  20
       3.2.7.  KeyWrap Requirements Covered  . . . . . . . . . . . .  20
       3.2.8.  KeyWrap Requirements Not Covered  . . . . . . . . . .  20
   4.  Capabilities Registration . . . . . . . . . . . . . . . . . .  20
     4.1.  Required Prerequisite Algorithms for Block Cipher
           Validations . . . . . . . . . . . . . . . . . . . . . . .  21
     4.2.  Block Cipher Algorithm Capabilities JSON Values . . . . .  21
   5.  Test Vectors  . . . . . . . . . . . . . . . . . . . . . . . .  27
     5.1.  Test Groups . . . . . . . . . . . . . . . . . . . . . . .  28
     5.2.  Test Cases  . . . . . . . . . . . . . . . . . . . . . . .  32
   6.  Test Vector Responses . . . . . . . . . . . . . . . . . . . .  33
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  35
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  35
   9.  Security Considerations . . . . . . . . . . . . . . . . . . .  35
Show full document text