Internet-Draft ACVP KAS KDF HKDF March 2024
Hammett Expires 20 September 2024 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-ietf-acvp-sub-kas-kdf-hkdf-sp800-56c
:
Published:
Intended Status:
Informational
Expires:
Author:
R. Hammett, Ed.

ACVP KDA HKDF 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 20 September 2024.

Table of Contents

1. Acknowledgements

There are no acknowledgements.

2. Abstract

This document defines the JSON schema for testing KDA-HKDF SP800-56C implementations with the ACVP specification.

3. Introduction

The Automated Crypto Validation Protocol (ACVP) defines a mechanism to automatically verify the cryptographic implementation of a software or hardware crypto module. The ACVP specification defines how a crypto module communicates with an ACVP server, including crypto capabilities negotiation, session management, authentication, vector processing and more. The ACVP specification does not define algorithm specific JSON constructs for performing the crypto validation. A series of ACVP sub-specifications define the constructs for testing individual crypto algorithms. Each sub-specification addresses a specific class of crypto algorithms. This sub-specification defines the JSON constructs for testing KDA-HKDF SP800-56C implementations using ACVP.

4. Conventions

4.1. Notation conventions

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 of [RFC2119] and [RFC8174] when, and only when, they appear in all capitals, as shown here.

4.2. Terms and Definitions

4.2.1. Prompt

JSON sent from the server to the client describing the tests the client performs

4.2.2. Registration

The initial request from the client to the server describing the capabilities of one or several algorithm, mode and revision combinations

4.2.3. Response

JSON sent from the client to the server in response to the prompt

4.2.4. Test Case

An individual unit of work within a prompt or response

4.2.5. Test Group

A collection of test cases that share similar properties within a prompt or response

4.2.6. Test Vector Set

A collection of test groups under a specific algorithm, mode, and revision

4.2.7. Validation

JSON sent from the server to the client that specifies the correctness of the response

5. Supported KDA HKDF

The following key derivation algorithms MAY be advertised by the ACVP compliant cryptographic module:

6. Test Types and Test Coverage

The ACVP server performs a set of tests on the KDAs specific to the KAS protocol in order to assess the correctness and robustness of the implementation. A typical ACVP validation session SHALL require multiple tests to be performed for every supported permutation of KDA capabilities. This section describes the design of the tests used to validate implementations of KDA algorithms.

6.1. Test Types

There are two test types for KDA testing:

  • "AFT" - Algorithm Function Test. In the AFT test mode, the IUT SHALL act as a party in the Key Agreement with the ACVP server. The server SHALL generate and provide all necessary information for the IUT to perform a successful key agreement; both the server and IUT MAY act as party U/V.
  • "VAL" - Validation Test. In the VAL test mode, The ACVP server MUST generate a complete (from both party U and party V's perspectives) key agreement, and expects the IUT to be able to determine if that agreement is valid. Various types of errors MUST be introduced in varying portions of the key agreement process that the IUT MUST be able to detect and report on.

6.2. Test Coverage

The tests described in this document have the intention of ensuring an implementation is conformant to [SP800-56Cr1] and [SP800-56Cr2].

6.2.1. Requirements Covered

  • SP 800-56C - 5 Two-Step Key Derivation. HKDF is a subset of the TwoStep derivation function described and is covered by ACVP testing.

6.2.2. Requirements Not Covered

  • SP 800-56Ar3 / SP 800-56Br2 - ASN.1 encoding for the KDA is not currently supported.

7. Capabilities Registration

ACVP requires crypto modules to register their capabilities. This allows the crypto module to advertise support for specific algorithms, notifying the ACVP server which algorithms need test vectors generated for the validation process. This section describes the constructs for advertising support of KDA-HKDF SP800-56C algorithms to the ACVP server.

The algorithm capabilities MUST be advertised as JSON objects within the 'algorithms' value of the ACVP registration message. The 'algorithms' value is an array, where each array element is an individual JSON object defined in this section. The 'algorithms' value is part of the 'capability_exchange' element of the ACVP JSON registration message. See the ACVP specification [ACVP] for more details on the registration message.

7.1. Prerequisites

Each algorithm implementation MAY rely on other cryptographic primitives. For example, RSA Signature algorithms depend on an underlying hash function. Each of these underlying algorithm primitives must be validated, either separately or as part of the same submission. ACVP provides a mechanism for specifying the required prerequisites:

Prerequisites, if applicable, MUST be submitted in the registration as the prereqVals JSON property array inside each element of the algorithms array. Each element in the prereqVals array MUST contain the following properties

Table 1: Prerequisite Properties
JSON Property Description JSON Type
algorithm a prerequisite algorithm string
valValue algorithm validation number string

A "valValue" of "same" SHALL be used to indicate that the prerequisite is being met by a different algorithm in the capability exchange in the same registration.

An example description of prerequisites within a single algorithm capability exchange looks like this

"prereqVals":
[
  {
    "algorithm": "Alg1",
    "valValue": "Val-1234"
  },
  {
    "algorithm": "Alg2",
    "valValue": "same"
  }
]

7.2. Required Prerequisite Algorithms for KDA Validations

Some algorithm implementations rely on other cryptographic primitives. For example, IKEv2 uses an underlying SHA algorithm. Each of these underlying algorithm primitives must be validated, either separately or as part of the same submission. ACVP provides a mechanism for specifying the required prerequisites:

Table 2: Prerequisite Algorithms
JSON Value Description JSON Type Valid Values
algorithm a prerequisite algorithm value DRBG, HMAC, SHA
valValue algorithm validation number value actual number or "same"
prereqAlgVal prerequisite algorithm validation object with algorithm and valValue properties see above

7.3. Property Registration

The KDA-HKDF SP800-56C mode capabilities are advertised as JSON objects within a root "algorithm" object.

A registration SHALL use these properties:

Table 3: Registration Properties
JSON Value Description JSON Type Valid Values
algorithm The algorithm under test value KDA
mode The mode under test value HKDF
revision The algorithm testing revision to use. value "Sp800-56Cr1" or "Sp800-56Cr2"
prereqVals Prerequisite algorithm validations array of prereqAlgVal objects See Section 7.2
fixedInfoPattern The pattern used for fixedInfo construction. string See Section 7.3.1
encoding The encoding type to use with fixedInfo construction. Note concatenation is currently supported. ASN.1 should be coming. array of string concatenation
hmacAlg The HMAC modes supported by the KDA. array of string See Section 7.3.2
macSaltMethods How the salt is determined (default being all 00s, random being a random salt). array of string default, random
saltLens The salt lengths supported by the IUT in bits. This property is 1) optional and 2) only available for [SP800-56Cr2] testing. Per [SP800-56Cr2] Section 4.2, the "byte length [of the chosen salt must] be greater than zero but no greater than the length of a single input block to the hash function, hash, used to implement HMAC-hash." Refer also to [SP800-56Cr2] Table 1. Domain Min: 8, Max: See [SP800-56Cr2] Table 1, Increment: 8
z The length(s) of the shared secret, Z, the IUT supports in bits. Domain Min: 224, Max: 65536, Increment: 8
usesHybridSharedSecret Whether the IUT uses a hybrid shared secret. Only applicable for [SP800-56Cr2]. This property is required for "SP800-56Cr2" testing. Omit this property for "SP800-56Cr1" testing. Boolean true or false
auxSharedSecretLen The length(s) of the auxiliary shared secret, T, the IUT supports in bits. Only applicable for [SP800-56Cr2]. This property is required for IUTs that implement a hybrid shared secret. Omit this property for "SP800-56Cr1" testing and for "SP800-56Cr2" testing without a hybrid shared secret. Domain Min: 112, Max: 65536, Increment: 8
l The length (in bits) of the largest derived keying material the implementation can produce (up to a max of 2048). number Min: 112; Max: 2048
performMultiExpansionTests Should multi expansion runs of the KDA be tested (in addition to the single expansion tests)? Only applicable for [SP800-56Cr2] boolean true, false

7.3.1. FixedInfoPatternConstruction

IUTs MUST be capable of specifying how the FixedInfo is constructed for the KDA construction. Note that for the purposes of testing against the ACVP system, both uPartyInfo and vPartyInfo are REQUIRED to be registered within the fixed info pattern. Also, when l is used for fixedInfo it is expected to be and is processed as a big endian byte string.

Pattern candidates:

  • literal[0123456789ABCDEF]

    • uses the specified hex within "[]". literal[0123456789ABCDEF] substitutes "0123456789ABCDEF" in place of the field
  • uPartyInfo

    • uPartyId { || ephemeralData }

      • For the purposes of the testing defined in this specification, the uPartyInfo value used to create the fixedInfo that is input to the key derivation function SHALL take the form of "uPartyId { || ephemeralData }". Because the KDA is being tested in isolation of the specific schemes it may be used with, ephemeralData is used in place of "{ || ephemeralKey } { || ephemeralNonce } { || dkmNonce }"
      • For a given test case, a partyId value (see Section 8.2.2) SHALL always be given. ephemeralData values (see Section 8.2.2) may be provided or omitted.
  • vPartyInfo

    • vPartyId { || ephemeralData }

      • For the purposes of the testing defined in this specification, the vPartyInfo value used to create the fixedInfo that is input to the key derivation function SHALL take the form of "vPartyId { || ephemeralData }". Because the KDA is being tested in isolation of the specific schemes it may be used with, ephemeralData is used in place of "{ || ephemeralKey } { || ephemeralNonce } { || dkmNonce }"
      • For a given test case, a partyId value (see Section 8.2.2) SHALL always be given. ephemeralData values (see Section 8.2.2) may be provided or omitted.
  • context

    • Random value chosen by ACVP server to represent the context.
  • algorithmId

    • Random value chosen by ACVP server to represent the algorithmId.
  • label

    • Random value chosen by ACVP server to represent the label.
  • l

    • The length of the derived keying material in bits, MUST be represented in 32 bits for ACVP testing.

Example (Note that party U is the server in this case "434156536964", party V is the IUT "a1b2c3d4e5"):

  • "concatenation" : "literal[123456789CAFECAFE]||uPartyInfo||vPartyInfo"

Evaluated as:

  • "123456789CAFECAFE434156536964a1b2c3d4e5"

7.3.2. Valid HMAC Functions

The following hash functions MAY be advertised by an ACVP compliant client under the 'hmacAlg' property

  • SHA-1
  • SHA2-224
  • SHA2-256
  • SHA2-384
  • SHA2-512
  • SHA2-512/224
  • SHA2-512/256
  • SHA3-224
  • SHA3-256
  • SHA3-384
  • SHA3-512

7.4. Registration Example

{
  "algorithm": "KDA",
  "mode": "HKDF",
  "revision": "Sp800-56Cr1",
  "fixedInfoPattern": "uPartyInfo||vPartyInfo||l",
  "encoding": [
    "concatenation"
  ],
  "hmacAlg": [
    "SHA2-224",
    "SHA2-256",
    "SHA2-384",
    "SHA2-512",
    "SHA2-512/224",
    "SHA2-512/256",
    "SHA3-224",
    "SHA3-256",
    "SHA3-384",
    "SHA3-512"
  ],
  "macSaltMethods": [
    "default",
    "random"
  ],
  "l": 1024,
  "z": [
    {
      "min": 224,
      "max": 65336,
      "increment": 8
    }
  ]
}
{
  "algorithm": "KDA",
  "mode": "HKDF",
  "revision": "Sp800-56Cr2",
  "fixedInfoPattern": "uPartyInfo||vPartyInfo||l",
  "encoding": [
    "concatenation"
  ],
  "hmacAlg": [
    "SHA2-224",
    "SHA2-256",
    "SHA2-384",
    "SHA2-512",
    "SHA2-512/224",
    "SHA2-512/256",
    "SHA3-224",
    "SHA3-256",
    "SHA3-384",
    "SHA3-512"
  ],
  "macSaltMethods": [
    "default",
    "random"
  ],
  "l": 1024,
  "z": [
    {
      "min": 224,
      "max": 65536,
      "increment": 8
    }
  ],
  "usesHybridSharedSecret": true,
  "auxSharedSecretLen": [
    {
      "min": 112,
      "max": 65536,
      "increment": 8
    }
  ],
  "performMultiExpansionTests": true
}

8. Test Vectors

The ACVP server provides test vectors to the ACVP client, which are then processed and returned to the ACVP server for validation. A typical ACVP validation test session would require multiple test vector sets to be downloaded and processed by the ACVP client. Each test vector set represents an individual algorithm defined during the capability exchange. This section describes the JSON schema for a test vector set used with KDA-HKDF SP800-56C algorithms.

The test vector set JSON schema is a multi-level hierarchy that contains meta data for the entire vector set as well as individual test vectors to be processed by the ACVP client. The following table describes the JSON elements at the top level of the hierarchy.

Table 4: Top Level Test Vector JSON Elements
JSON Values Description JSON Type
acvVersion Protocol version identifier string
vsId Unique numeric vector set identifier integer
algorithm Algorithm defined in the capability exchange string
mode Mode defined in the capability exchange string
revision Protocol test revision selected string
testGroups Array of test groups containing test data, see Section 8.1 array

An example of this would look like this

[
  {
    "acvVersion": <version>
  },
  {
    "vsId": 1,
    "algorithm": "Alg1",
    "mode": "Mode1",
    "revision": "Revision1.0",
    "testGroups": [ ... ]
  }
]

8.1. Test Groups JSON Schema

The testGroups element at the top level in the test vector JSON object is an array of test groups. Test vectors are grouped into similar test cases to reduce the amount of data transmitted in the vector set. For instance, all test vectors that use the same key size would be grouped together. The Test Group JSON object contains meta data that applies to all test vectors within the group. The following table describes the KDA-HKDF SP800-56C JSON elements of the Test Group JSON object

Table 5: Test Group Properties
JSON Values Description JSON Type
tgId Test group identifier integer
testType Describes the operation the client should perform on the tests data string
tests Array of individual test cases See Section 8.2
kdfConfiguration Describes the KDA configuration values used for single expansion groups. See Section 8.1.1
multiExpansion Whether multi expansion tests should be run (true or false)? boolean
kdfMultiExpansionConfiguration Describes the KDA configuration values used for multi expansion groups. See Section 8.1.2
zLength The length of the shared secret, Z, in bits. integer
usesHybridSharedSecret Will a hybrid shared secret be used (true or false)? boolean
auxSharedSecretLen The length of the auxiliary shared secret, T, in bits. Only applicable for [SP800-56Cr2] and when a hybrid shared secret is used. integer

The 'tgId', 'testType' and 'tests' objects MUST appear in every test group element communicated from the server to the client as a part of a prompt. Other properties are dependent on which 'testType' the group is addressing.

8.1.1. kdfConfiguration JSON Schema

Describes the KDA configuration for use under the test group.

Table 6: KdfConfiguration JSON Object
JSON Value Description JSON Type
kdfType The type of KDA to use for the group. value - HKDF
saltMethod The strategy used for salting. value - default (all 00s), random
saltLen The bit length of the salt. integer
fixedInfoPattern The pattern used for constructing the fixedInfo. value - See Section 7.3.1.
fixedInfoEncoding The encoding used for constructing the fixedInfo. value.
hmacAlg The MAC function used in the KDF. value
l the bit length of keying material to derive from the KDA value

8.1.2. kdfMultiExpansionConfiguration JSON Schema

Describes the KDA Multi Expansion configuration for use under the test group.

Table 7: KdfConfiguration JSON Object
JSON Value Description JSON Type
kdfType The type of KDA to use for the group. value - HKDF
saltMethod The strategy used for salting. value - default (all 00s), random
saltLen The bit length of the salt. integer
hmacAlg The MAC function used in the KDA. value
l the bit length of keying material to derive from the KDA value

8.2. Test Case JSON Schema

Each test group contains an array of one or more test cases. Each test case is a JSON object that represents a single test vector to be processed by the ACVP client. The following table describes the JSON elements for each KAS/KTS ECC test vector.

Table 8: Test Case JSON Object
JSON Value Description JSON Type
tcId Numeric identifier for the test case, unique across the entire vector set. integer
dkm Derived keying material value for VAL tests. hex
kdfParameter Object representing inputs into the KDA for single expansion tests. See Section 8.2.1.
fixedInfoPartyU Fixed information specific to party U for single expansion tests. See Section 8.2.2.
fixedInfoPartyV Fixed information specific to party V for single expansion tests. See Section 8.2.2.
kdfMultiExpansionParameter Object representing inputs into the KDA for multi expansion tests. See Section 8.2.3.

8.2.1. kdfParameter JSON Schema

KDA specific options used for the test case.

Table 9: KDF Parameter JSON Object
JSON Value Description JSON Type
kdfType The type of KDA utilized. value
salt The salt used for the test case. value
algorithmId The random "algorithmId" used for the test case when applicable to the fixedInfo pattern. value
context The random "context" used for the test case when applicable to the fixedInfo pattern. value
label The random "label" used for the test case when applicable to the fixedInfo pattern. value
z shared secret z value to be used for the test case. value
t auxiliary shared secret t. For [SP800-56Cr2] only. value
l the bit length of keying material to derive from the KDA value

8.2.2. FixedInfo PartyU/V JSON Schema

Fixed information that is included for party U/V for fixed info construction

Table 10: Fixed Info JSON Object
JSON Value Description JSON Type
partyId The party identifier value
ephemeralData Ephemeral data (randomly) included as a part of the parties fixed info construction value

8.2.3. kdfMultiExpansionParameter JSON Schema

KDA specific options used for the test case.

Table 11: KDF Multi Expansion Parameter JSON Object
JSON Value Description JSON Type
salt The salt used for the test case. value
z shared secret z value to be used for the test case. value
t auxiliary shared secret t. For [SP800-56Cr2] only. value
iterationParameters the per iteration parameters for multi expansion See Section 8.2.3.1.
8.2.3.1. KDF Multi Expansion IterationParameters JSON Schema

The per multi expansion iteration specific parameters used within a test case.

Table 12: KDF Multi Expansion IterationParameters JSON Object
JSON Value Description JSON Type
l The length of keying material to derive for the current iteration. value
fixedInfo The fixed information for the current iteration. Note that [SP800-56Cr2] does not go into detail regarding how this per iteration fixed info should be constructed, but it obviously needs to be different each iteration. value

8.3. Example Test Vectors JSON

The following is a example JSON object for KDA HKDF test vectors sent from the ACVP server to the crypto module.

{
  "vsId": 0,
  "algorithm": "KDA",
  "mode": "HKDF",
  "revision": "Sp800-56Cr1",
  "isSample": true,
  "testGroups": [
    {
      "tgId": 1,
      "testType": "AFT",
      "kdfConfiguration": {
        "kdfType": "hkdf",
        "l": 1024,
        "saltLen": 512,
        "saltMethod": "default",
        "fixedInfoPattern": "uPartyInfo||vPartyInfo||l",
        "fixedInfoEncoding": "concatenation",
        "hmacAlg": "SHA2-224"
      },
      "zLength": 232,
      "tests": [
        {
          "tcId": 1,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "2B51270EBBB7584CD76990ABF15CE2C476701CB9E3A4F99DE2BBF43AB2",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "DE42EABD35C9C7753D578C1F0B66B6D8",
            "ephemeralData": "33C6E37B1F8B375665B5020A78A876D3FF3DE1664FCC49949E5BCD4A2C"
          },
          "fixedInfoPartyV": {
            "partyId": "7526D03E1D223AD083DCE17AD8166219",
            "ephemeralData": "98E0D0A82499F28464CB03359882B0223C4213D6DB283FDF448D53F376"
          }
        },
        {
          "tcId": 2,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "C1DD726C48A987E49DCCBF87B5B7B9D221F50AE66A2A6D78C41222E6AB",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "ABA8317B789ECC0191A1244FAE65E847"
          },
          "fixedInfoPartyV": {
            "partyId": "900657CA785EC6F475CB9B3DC58638F0"
          }
        },
        {
          "tcId": 3,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "CAB5FD12F09FC062A40F2DED654F6CE8E4EF8F42DCFF4DBE5DC825846F",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "B6BEE5C3D435597531AC7A83E9B249EC"
          },
          "fixedInfoPartyV": {
            "partyId": "98C04AD785C40CEC412041CDF12370AB",
            "ephemeralData": "ABE86E97A791081ED8928C67D2E9027CE13BF793EF1DBF6D6006DDF8F0"
          }
        },
        {
          "tcId": 4,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "D6DD5FB6987560D1FB9DD8A46FFE2231B49BD2A793FD991187851A35E0",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "353CF39A999673B058D2D95CE20FC537",
            "ephemeralData": "034131BFA64F5757B9C3E15C26BBB1D1ECA4D40E1E26C9469C03497048"
          },
          "fixedInfoPartyV": {
            "partyId": "FECA3EBB457F9BD394EE6D3B4024DD60",
            "ephemeralData": "7D62C15327C364B164B031BE238715DC5DF919F0A3725A9774DDE4A1C3"
          }
        },
        {
          "tcId": 5,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "91962267BE22AA0E0F2471478DFFCF294A516E60D74619EAF82356AF48",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "FE20B6A67156639891446C82A669230E"
          },
          "fixedInfoPartyV": {
            "partyId": "83C790653305398D6FD9A237493898FD"
          }
        }
      ]
    },
    {
      "tgId": 17,
      "testType": "VAL",
      "kdfConfiguration": {
        "kdfType": "hkdf",
        "l": 1024,
        "saltLen": 512,
        "saltMethod": "default",
        "fixedInfoPattern": "uPartyInfo||vPartyInfo||l",
        "fixedInfoEncoding": "concatenation",
        "hmacAlg": "SHA2-224"
      },
      "zLength": 224,
      "tests": [
        {
          "tcId": 501,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "DE6AACB5503BCE94E64D6B8772B67FC43092BA8753356E1A109218E6",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "69BF11A09D903C658FB2FF76F9645CA5",
            "ephemeralData": "DB4A0C27CDC4B998562AAD56036D5A41DC18AAE02E475D7863A3562C"
          },
          "fixedInfoPartyV": {
            "partyId": "5595CA1CFF2D7BC6558851D20E8245AF"
          },
          "dkm": "A3C6AED567A05C6EFAC5C3E42BA24974BDA382ACD44E748F37317900DDDD77F6637897D37AD2C0C72EDC01B6D1AFD019F181533DCC60A56718A715F56CEFF6F78D00FE276175BE4674156C0C5FA8E70B226AEC0F169F3F602EF728B3C1AC6BB6C2A8052D858E150D943B9014A7C2E8A658B61BA79429479660DEB56F2E3E6FA0"
        },
        {
          "tcId": 502,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "0810C7FE90B9C0228BDEC50E57EDC03392D7F9AECFC7DF1BD6F921C2",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "914E90330C165C57CC29689E44642695"
          },
          "fixedInfoPartyV": {
            "partyId": "F03F633609E1CC983F5D82D56201ACE5",
            "ephemeralData": "479C050507A4BF432940D27D48BF40BA794E2BE8A2CE1A0E81E37FC8"
          },
          "dkm": "9B9A32A967D0D9FF6798199B4696B7457EC64E7747962F96637422450D9A631068540A647D262D1D0BFE4C790AD937BBB03DF7BD527294DCADECBC1E4BD3225556C10AEDD8360A083BE157859FE8914468DBA57C5244CCE98791DC3EFEFFD25942E204D603D64A766D998F72C955985766E7BBCB5BF08FDC24ECA0C6D7EF078D"
        },
        {
          "tcId": 503,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "EEE8EF6DD5DBB38AFFFC0BDAD611C5EB3C2D7C7B79688787E8A1BD54",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "A34D62AFF61666BDBF9580D8596F8438",
            "ephemeralData": "F5741952306B63D30CF6417A9F977BCBE1A0A9A964DA9789F0BEA59C"
          },
          "fixedInfoPartyV": {
            "partyId": "D62EF595ECAEFD294AD07D3765284F05",
            "ephemeralData": "927C754DAA4DAA3A815A5EE5236F9E8E3A388496562135577FEBF1DD"
          },
          "dkm": "0B3F948164FA9938CF29F6C5FD126AA7408E4C5D3326994932D1DBBF910F783E8E550BCA12515EA902950A959211F3C0DD9F38EC9305A3121F04F4BDBADC7D5F1428F08B6A71CE4B52FBCC718020E9E74FFA77C83157556BC9CA3014E4EC916EC43DFBAD6D13B9B280DB90E36D28C7E3503684CEC49B1ED314421699CADCC89A"
        },
        {
          "tcId": 504,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "56BBD9C1C5B1A686314B0818E42E93F11C18600493A49C52534DD839",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "D6655CE5706E4F73221229ADE9507049",
            "ephemeralData": "99C8700C80C86F2F1093494DE17992872793D662DE4C8F26419F81D2"
          },
          "fixedInfoPartyV": {
            "partyId": "524A0A03E023151B58EE93DA402A4CDA",
            "ephemeralData": "2537C520A3F34C52AB1603B2C7B5351FB86302C6D212988EF5BDECFB"
          },
          "dkm": "2C32DB432AB45F95F29418778524C7BA9692D0419B6F379F51B3996E2E092B4A845EE0FDCA2FA42E7C58E52B50CC83EA1D61311B4D81CA7F01C54E5CB6603CE8E37D603066574054A5F8E20B990CADC37B6DA8113A45871974E7C51365FF860BE8DB7B734A97029F5650C3E076F45B3B8802A4F68D611D754C336530701308F2"
        },
        {
          "tcId": 505,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "8CEF2CEB7F8BB2D7A75200A9B968FA6C998FB365D1E368CCF87BC0E0",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "534591B3457E8284ED782F27CA8C0863"
          },
          "fixedInfoPartyV": {
            "partyId": "799F0DFC352EB3BABC6E9FCD8A28BBA8",
            "ephemeralData": "4A7B6D0D1D699602C6704223386D45F40D8226347A813D72C4275C6E"
          },
          "dkm": "B1AE1B451E375F2B14C58D115CAB2689D5F4E827D9E9DB66224ADB6D4108A5AA861B3A7169DFD683AD3ED713029F2720CC2DE2F105968157F02F91C1CAADD2B6846AA54B5131777E38BF75CC772B9CD4F7647CC9ADD614E0192BFE7A41C03A0D47756D1C8EA163B2A2B7AD73E2ADB6509E7C3794893FB1AF7776829B280E3F73"
        }
      ]
    }
  ]
}
{
  "vsId": 0,
  "algorithm": "KDA",
  "mode": "HKDF",
  "revision": "Sp800-56Cr2",
  "testGroups": [{
      "tgId": 1,
      "testType": "AFT",
      "kdfConfiguration": {
        "kdfType": "hkdf",
        "l": 1024,
        "saltLen": 512,
        "saltMethod": "default",
        "fixedInfoPattern": "uPartyInfo||vPartyInfo||l",
        "fixedInfoEncoding": "concatenation",
        "hmacAlg": "SHA2-224"
      },
      "zLength": 224,
      "usesHybridSharedSecret": true,
      "auxSharedSecretLen": 160,
      "multiExpansion": false,
      "tests": [
        {
          "tcId": 1,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "589410408990A227518017C37997BE2F770AF54063E7393B2AA54631",
            "t": "96136D18F365733139EB74CDD6B7268F41D33DB6",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "02AC8EA52BEA1BB58F249517CD3FB58F",
            "ephemeralData": "89B1202702FA2A06FD00C9FEFDD2709D3DB420472C4FACC10708E7C9"
          },
          "fixedInfoPartyV": {
            "partyId": "74CFA0F009CD8E0A864FD162C6A293BF"
          }
        },
        {
          "tcId": 2,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "392022D5AB4FE8EFFB02690FD263035F6FC23C2BFD03E653FFE26DB6",
            "t": "F2313B907D46D47EC1F63C2DDB48FC20C5E74BA9",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "E053CAC63029361ECD3E1AB4972F9A37",
            "ephemeralData": "12F6BD7ABD05114F1B0E012DF1991BD2A11B7C4173D3A587BA634FFD"
          },
          "fixedInfoPartyV": {
            "partyId": "9D72245CF5AF37CDEC92276680B3FBC5",
            "ephemeralData": "52F523AD88AA3A9BC846ADC0AFCA40A649EC06C445C8983F8F1B4B2C"
          }
        }
      ]
    },
    {
      "tgId": 2,
      "testType": "AFT",
      "zLength": 224,
      "usesHybridSharedSecret": true,
      "auxSharedSecretLen": 160,
      "multiExpansion": true,
      "kdfMultiExpansionConfiguration": {
        "kdfType": "hkdf",
        "l": 1024,
        "saltLen": 512,
        "saltMethod": "default",
        "hmacAlg": "SHA2-224"
      },
      "tests": [
        {
          "tcId": 6,
          "kdfMultiExpansionParameter": {
            "kdfType": "hkdf",
            "z": "B4B9AF094E6AD6C8E0A1025B1ECE1FF34F193F71971B7A9746EEA89F",
            "t": "E4EA585842F8DE31A991D4C7E6A8318704BC544A",
            "hmacAlg": "SHA2-224",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "iterationParameters": [
              {
                "l": 1024,
                "fixedInfo": "AAF6DA45C9F75B4D12642228DB0B97A1"
              },
              {
                "l": 1024,
                "fixedInfo": "AB3724F7AE94DF75582C888D45396B37"
              },
              {
                "l": 1024,
                "fixedInfo": "EB3F3F2DC52B76D45D675A028458DC53"
              },
              {
                "l": 1024,
                "fixedInfo": "291BB58E4866B36B196BBB90BD8CB1C0"
              }
            ]
          }
        },
        {
          "tcId": 7,
          "kdfMultiExpansionParameter": {
            "kdfType": "hkdf",
            "z": "10874123585C710F6BF62F3D32BB31AA8B86B923966A8482C73F21FC",
            "t": "CB4C28F982B37F1BB90D9B509B2985AE3DEB735A",
            "hmacAlg": "SHA2-224",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "iterationParameters": [
              {
                "l": 1024,
                "fixedInfo": "984825F134BF9FC2785856352CF38E7B"
              },
              {
                "l": 1024,
                "fixedInfo": "8F6290BC26ACAAA53A6AE5348538D7D8"
              }
            ]
          }
        }
      ]
    },
    {
      "tgId": 201,
      "testType": "VAL",
      "kdfConfiguration": {
        "kdfType": "hkdf",
        "l": 1024,
        "saltLen": 512,
        "saltMethod": "default",
        "fixedInfoPattern": "uPartyInfo||vPartyInfo||l",
        "fixedInfoEncoding": "concatenation",
        "hmacAlg": "SHA2-224"
      },
      "zLength": 280,
      "usesHybridSharedSecret": true,
      "auxSharedSecretLen": 128,
      "multiExpansion": false,
      "tests": [
        {
          "tcId": 1001,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "88D8AC2D6D75147EC9ACF1D885F0407C7E3CBB2A48DAB0FD121813AC0DDECE875A6CC8",
            "t": "F9E46546388A90BBD85207ED6E6205A0",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "600D500E36E5D32A232CEA95797B59DC"
          },
          "fixedInfoPartyV": {
            "partyId": "89B765B50FAE21E988A2D4ECFF15CB3D"
          },
          "dkm": "A0EC5BDE1C2A4CD814A9A258FF1D608BA7161CD961F0668C030CED65D27063C41743578ED5BB3CE21B535C4D5EF52BA96FB7F005BCBDDAF43B784F0D74ADFD3F634CBB3E186A904DDC8E470562C2B61F88F25D87091EFC305CA5314DBE84B5FC751545FD3CAA3D9D2D6A18026259044C43B93BB16AD64E6C7C45877E37F4E1F3"
        },
        {
          "tcId": 1002,
          "kdfParameter": {
            "kdfType": "hkdf",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "z": "774842CB739C91BFA58F52594AEA02B838AA8DCA00102CC18CE5A7166EE1C77B9841D7",
            "t": "D189BB492E9413A0420A96B8FFDE451E",
            "l": 1024
          },
          "fixedInfoPartyU": {
            "partyId": "7EC0710B84AF3C38293FF6EDC37667E7"
          },
          "fixedInfoPartyV": {
            "partyId": "08045B60BD45AAA7F72180ABAE85E299"
          },
          "dkm": "5C535DA521DB5260924BFD59538C1742B6325EBCF110EE0E8189CF23F0A43F5777481E6241E05865E86AA584093E7DE16204838ACA1E6798B163B43AB3EF072EF1AC192EC7F08002DA6E149F1F58E4E4EFFDDE55EAF54F9D4B6BD73FDF8FCEABD965AD86481751653410A01C0CAC0FEA73E9F0FC464F7A2230E4373DE5036E0B"
        }
      ]
    },
    {
      "tgId": 202,
      "testType": "VAL",
      "zLength": 280,
      "usesHybridSharedSecret": true,
      "auxSharedSecretLen": 128,
      "multiExpansion": true,
      "kdfMultiExpansionConfiguration": {
        "kdfType": "hkdf",
        "l": 1024,
        "saltLen": 512,
        "saltMethod": "default",
        "hmacAlg": "SHA2-224"
      },
      "tests": [
        {
          "tcId": 1006,
          "kdfMultiExpansionParameter": {
            "kdfType": "hkdf",
            "z": "60D8AADBD25EDB2B2111650DA11CBF7695178BC714580555376298A93577F8670C5E1A",
            "t": "0C2C369126D49BECB2E79693D795E508",
            "hmacAlg": "SHA2-224",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "iterationParameters": [
              {
                "l": 1024,
                "fixedInfo": "AC8436F7EC4E82E61CE75720ADC6BEA0"
              },
              {
                "l": 1024,
                "fixedInfo": "EF674F42A1E788B97BD374D959A48F79"
              },
              {
                "l": 1024,
                "fixedInfo": "D0FCF1667B6F832242F7D0760C3D8FE0"
              }
            ]
          },
          "dkms": [
            "5799CF30BF9962CB93F43B9E77BDE2FC7CD84831A828918090EE5702CD199E08D535D865227BAA2D525E34231B8913E046DFA8DBD02168BC3C335EB951D0B54617EB14BC8AEA35014F549E0012ECCAEDC09B50584F96D8E30E049A2A2F328E0317B29D719B1B0400033A3EAABBABD0F7B58E19BF3AD126556B53944935FDD940",
            "822B00F5D52CA132D31EDFAE4BD41B85EC7A28390578699FA4F4125ECCD2DE492538F2DD1638143DF88AAEDAED62B10510978AE3D3ABA0F70CDB13F7FD5A15081523F29F9FEFD860D4226AF8EAA0643C5C2D21B31D1CCF5BA149D39036C9724204956FEEA88419A649AF5A000DD6A719BBE764E4A2A590BD3E5A6FAAEEC9428F",
            "83FA92F7D2B58DBCF1F5EC97714B9AEB1B72FBB7F0647DEA98CB955A1FB6AAE638652403AE92EA383333DFA8A3BB0CF9EF832C01A3D48803EB24F888AF85FC615E09F537074343A40961CEF01F30536925015E5F1256B25593379A6CB7BDE60381B10B3CECB9287CA96A1541A74BF8BBEB2B6EC4A6807D0607CE9F70DAE557FD"
          ]
        },
        {
          "tcId": 1007,
          "kdfMultiExpansionParameter": {
            "kdfType": "hkdf",
            "z": "214266BEB39DC34DE9F9E79EF7ECAE46AD5377652E5CA25EF0CCD5233A720DD1152336",
            "t": "B5E3EBF9492A32D51CDFED3C924CD696",
            "hmacAlg": "SHA2-224",
            "salt": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "iterationParameters": [
              {
                "l": 1024,
                "fixedInfo": "AB6328F195B1E7BC08D959CD482F17F0"
              },
              {
                "l": 1024,
                "fixedInfo": "DA9E2AD50EF93AEA6EA08427931EA3B3"
              },
              {
                "l": 1024,
                "fixedInfo": "4747A897E370E439BC87F3125F1F8F5D"
              },
              {
                "l": 1024,
                "fixedInfo": "9132CA60935EC1776B18AC25F68AA56C"
              }
            ]
          },
          "dkms": [
            "83FA1B81C2DB911D42EB2C026B34485074995C029D841D3B4AEF5E9C8213EBD343AEDBD379F20809266977BC4BA21EA51ADBF3D34798FA1658D8BBA88161120F4DF8C2E19E737B5E11D168AD18FF37528D187298B3C8F700654C9DDB28BC26209132CAD75C7828EA225ED81E2C97AA2C5E44777DE07EC2374A2D0701FD5D66BE",
            "7FC003A357754CF05293602DE37848266A1C206E3F33598A225D181FA27B9F1067AF59295F5147A769AD87A947FAAF6DF5BDC15E609F91E80F0C50CCD6580C489802AAF43614DB73544EF3FE1BD0F5B0CC0B0153E1C44DCB2399F5A80371AC8FB747DC337BBCAB717150CF59FA0CE607CB2258BD7AC1E636F8DB3B89EEE2C2E3",
            "DC9235A585436EDC4B31460D46FC825AE90B77971405AA757BF830ACE8EA494E9C978C7D97D77F0DB86669611B090828E6C511AB94F83A3276DF014482C000734166204D354A500092F05F27916EDF5DB830463A9BDE63E63CD1F4A94AA1E5B8F65A0CB59735435DEBC37B287E2D20761FAEBDC779BDCA174E4EAF61A2488370",
            "13F9F740B48C1E6CC1B8667A3320B58826DABA0BC204BDD91D21F5AA38BA8BC7EB6DC2F19FCC988EF154ED274733558C83C1A723E625178C5C05CB5A01865F061079320D866DACA0CFBD7A285174D20DBB100ADA7F2AAD22A1FBC77763D84C5475D998811DC80A99E5FA27160BA83BF343E6B0AB0CAF7C1FBBAA51265F83DA4F"
          ]
        }
      ]
    }
  ]
}

9. Test Vector Responses

After the ACVP client downloads and processes a vector set, it MUST send the response vectors back to the ACVP server. The following table describes the JSON object that represents a vector set response.

Table 13: Vector Set Response Properties
JSON Property Description JSON Type
acvVersion The version of the protocol string
vsId The vector set identifier integer
testGroups The test group data array

The testGroups section is used to organize the ACVP client response in a similar manner to how it receives vectors. Several algorithms SHALL require the client to send back group level properties in their response. This structure helps accommodate that.

Table 14: Test Group Response Properties
JSON Property Description JSON Type
tgId The test group identifier integer
tests The test case data array

The testCase section is used to organize the ACVP client response in a similar manner to how it receives vectors. Several algorithms SHALL require the client to send back group level properties in their response. This structure helps accommodate that.

The following table describes the JSON object that represents a test case response for a KDA-HKDF SP800-56C.

Table 15: Test Case Response Properties
JSON Property Description JSON Type
tcId The test case identifier integer
testPassed Was the provided dkm valid? Only valid for the "VAL" test type. boolean
dkm The derived keying material. Provided by the IUT for "AFT" test type test cases. For single expansion tests. hex
dkms The derived keying materials. Provided by the IUT for "AFT" test type test cases. For multi expansion groups. array of hex

Here is an abbreviated example of the response

9.1. Example Test Vectors Response JSON

{
  "vsId": 0,
  "algorithm": "KDA",
  "mode": "HKDF",
  "revision": "Sp800-56Cr1",
  "isSample": true,
  "testGroups": [
    {
      "tgId": 1,
      "tests": [
        {
          "tcId": 1,
          "dkm": "C0656E0516EE50E1AD98D0D0113784C8314018A4A00994E31F3F24338234750F8BED8F5CCC3F207411D2253D5FD83E9C0473958B66C3DDE21B024D0A46D14C3392F1CAF82096A569E2A66BF981CB7F7D4493EB1EEF3DBC7370D06647A23FC934DD86D4C3647811380E081566E3AF557466DF1AF07DF2522662FF2D1CE2B8A74DB0A952CB8C8D821DECF81A9840B3A841AB0155D6999C6B206FE184E4A21ED12AB4394871D9966801F9A844F6BAC1CBF30BE46DD8BFBA031DB439F07D023112C8CA3DBB26E3F4BF90741E58C3AED3BEDF091FD6B98502005C96163C2C46207CC23756EA53007064D0CF43AA8A09291F371272B3954E8038BE0E23F69412069A2FAD20205D0806EC1FA37AF077F8A49C1971DCE32D74A0818A891BB5FC86E7964EA814A504A5769AB44EBE463168B53C2AE460835B79654010EBB100A7F969192FFDA0F5BE8CA477BC3383EFEA52165D8DAE337F8E4DDDA261980AA88263DA5E8696B642830FDF1C2A29DF3E79074817EF0351412DA01306637E762631D6CACCCF0CFC85D38C5BE9BD1305B4504D4F5340542F78BBE5644279089A27554CB094CF63442A8866985F5F22395599F0BA4E4FA37D6CEA12C3C38A5AE8F7B22CADB52218C64D0836C2848E295DBFF1BB395AA5D8512AA11D2A5004EC09D5193AEEED1AD09A3D87BAF66BCEF021FB9AE0932D0D9EEA0E1FA10F628143035CEE61C29001"
        },
        {
          "tcId": 2,
          "dkm": "C7F3ED4A40575BF622A24C6495DE509C11330DAE56C423AABF20FF37A6AAF0EEE10009BF7917CF5046D9753A682E1270792382D0486FEBB86C191222A6454A995BB2583D864E946E2D689398EE6FD6C8126186DF71CCB5D46DF45BB2F088AA412C4D635250C11CE13B2B1AAA5FCCF336CB6887A7147FD1235DB3392C0CBE33CB68243756E04AA1E482BEDD6199C5592EEE03F909ACB4A2FBDD5D123507B39C30AFB38F88D1D1560597DC26CD92A1BCCEE24F48DF27994C8A5D668B2575EC4929312285EB14DA2797AD26FB5638F4CBF3935597D64A04CB4312334D517C8BB440157DE7F7FE944025166B9488E87F3FB1BA40B60C88958E12EF8DA1D23BA58FE552C8D6859B10C80746F7AEE24F3CFE29FE55121A35D3B2E073E268C0E66F4825B6456358108E33664BABF67C9748207EAAFAD1FCCF8467DF2DD5AADA48FD6A91782C5E89D6B8395A545B90C5CBC2ADF406941BBD920855054B353743BC1F00905B4512EFBC314490C636DBC9CA9F91784C8D5A2B2855185ADCBAFFDB3FE31AF2084F001658AA2C29D6CD633856D2BC00AF19EA23FFEFA3CAC39AC6D54C61B78C5F8A9ED307FD2503251DAE2C8663544BBF59DD934735FE8038B67220BD3460CCC88B651E59896319271BFE72B78971CD9BA4782DFFB6F60F78FB3B248F9F6DA454A1FADF901FE803B0744120DE1879638CC3458C3112BE739188FBF53B7AD4B4"
        },
        {
          "tcId": 3,
          "dkm": "40E532EB410797A79153B6111F033A4813E9A3F3BCF9EE502477645A86CB6822A06D9F4CAC4386D80897756657855C5921E47FA84B1ED92929C557D25AE91FDF629833C07BC746CA0ED86FC82D7B9E67CF1FCBE98BB9F2087C298FB53B5DBB4FB9CFA38115FABB9D9BDA111EA3806DF31220A3AACC7735D4417F5938CB20FF5EB323883412624A9A4DF076DFBD3D6B7A700546AB72F1663B6F19E2CFD84DDC7F2F249AEEAA0E8A30E70F7F7D860C32C82CDF2755E0F281D926A20FE6C36C037C590FD5B36230FC2949361311BAD514A77BF51FE7E763A30C91666A76085F44F150F7C92C310D42376DE0D09CD4A95A08098164E4A78600AF55783B8BCC0B96ACD6AB2E1B991A070E40B1DDDF3175E9041FB5B04138030EA001E94AE467F8154C445E623AAED1A476A37D23B55D659ABDB79251A6CB1957C9DC15EBAAB0F89AA84371EE0892F3AD2E23EDB128974688CF3B0087CA15A90AFEEEBD3EFBB7AE2E2300D5516A05FB2F3DFF10655FAB35359EA46F49E22C261FDAE1C0213801FAB438B5B02AA39FB58C15162D27F871B41AF7598A43D6EFDB820111D1AFC247A7ED9961DD1745A8ADC774AA627F77B9A7BAB631B323B86269D3D5D4D2C3EDF00148BA878D9356BE146A14F6D49A2294C97447C37E95374A3B02200E863C459336CD38FF4A322D03290CC7A0C17F42E948D99B2CA819654D2260C9AC0D3098A88BEBF4"
        },
        {
          "tcId": 4,
          "dkm": "882A568B7825EA2075CEB551EE607EC75CDCB57ACA51E0A2972883F4F07CFC12F2F15ECD500888D5E52D4A080A7B2A3829799ECC05F2C668AEAA75C578D7D6C21EF8ECC1D7B186BFB535FB42D13C703A6BB116EFF86306348E51DA1EC26E8C9CB9BAB8486E3E8C750796882EB9CF10ED6A121E37C583857780B810B8D916264054C3DA709795ABD9145083F87ED9BF25BF6B77DA59E5038498720755BB9BDAC4CC5F9DA6BC6CBB8EFF7E160BFE7B5C1C159FDCB849B48A6BB367C6D7A4A71518D53F3F02D9F92A2B8C8B19B784F7AB25C553399A13A5E2ECA55A0D003BA96C954BC20AD2AF24B15DD0FEC2D9C5DA35F4385EF0876DF96A0932ED079E5CFACAE62F1765E8F06E85B73637AF6B80F9F3670128F27708D1A0A9FE6C64B7C038044620D201B369F1CA22C699B550493677DCA1874314FD4A9834FF36348D6E596EB305CB41CB973355FE72522B83F352DFE041BDBF20593983850F694D8086F91E5CA899DB85C5D8907158F6F72FE484D21660AC87A76A4DE1D7D134E0CEA074D1EA125C9DF459B651686B8C403FDC297546AF782447EED13210C89AFC67D1A698F83A59A411A44CBE83C2EB0994F126DA066BF043C9EA4239E67E1374B32729DBA51D8D31F2B286B70ECA03159C9D04C679DA1093297DD9D6A77AAF650BA06FA678F2278289DE6EA32A21AFBA67727BC0E3EA93A50853E66841F4181971690809AA"
        },
        {
          "tcId": 5,
          "dkm": "314D4FA329D5EF96DD0C57F8CD329E0839B8C0D75527C36E2B0F6B1841BFEF534F2FBC5FD98ACD474CAA33F65BCDB71B78E4C00A6210F52B0EB5D11267FE6232E5E1F0A8B73C0E2DE14658057404A3AACBF863ABCDEE5D17BA9CAEE96644CDA1A53258FB51967038C79CE232E2389062DAE86BAC395BB2C57DF8A0F98B95BB0B1D700CF18BAC140B33B1820B3AED2E511CEF13A983496E4B9E8D0CC129F3E29582121E0F41E3A9D7EE08680EB16BE2469ED52DB680F84C418D4DB459F3FEFA5A773C12C42D6621AE5BAEAF4134CB891F86E2903482BBA47CFB8D6B8682E85FA0473A395370460AB7321955F565714B382E4C4B7815B679A3D70F38BE41F23689537E4858E54DFEE7AAA87FB09FC0D86017674E6626E713808FC72671D35DF2FCF8693BCDD941EF5A7BE378E9DDAE518F18EC50C41EF3E4F4268DB8B8D2B4DB19E8B21D203B0091086E36392B2C979CED1AABB08A95BE89834D5158947213C4E5D582EC60E02E963E2BD6E21EDC0EFFC9B5CCAE886ED5EE628CFB18567327FFA66647C77C9EC6D19F8B599038D2D3C01A6A2BED4F2FC5A7D7DBA25F668B88810E1766269DA59E55488E12BF2DEB8F8FCC7B56D6FE37F4A7076DF31A35A2292184C9DE9B9E1E99B1CC47F751B619700BFBE638E3B27C97B1DB88F478FB48C16817C911C526F9A4B757DA2AF36DD5B0F5FE585801F30AA6E2CF9CF205566E9D2766"
        }
      ]
    },
{
      "tgId": 17,
      "tests": [
        {
          "tcId": 81,
          "testPassed": true
        },
        {
          "tcId": 82,
          "testPassed": false
        },
        {
          "tcId": 83,
          "testPassed": true
        },
        {
          "tcId": 84,
          "testPassed": true
        },
        {
          "tcId": 85,
          "testPassed": true
        }
      ]
    }
  ]
}
{
  "vsId": 0,
  "algorithm": "KDA",
  "mode": "HKDF",
  "revision": "Sp800-56Cr2",
  "isSample": true,
  "testGroups": [
    {
      "tgId": 1,
      "tests": [
        {
          "tcId": 1,
          "dkm": "B23D44EBF223E030508A16CE52ACE3EA9C24155E26748D6EEC9C1886663B91F918DA9B328D39EF656BDEBCB5996F9DF51BC06D146338F5E16CBF4893F104BCAFC704489932912917A4A27A736935B344AE416DD2E033B207595EEBB85486D85902E5297C1156D57FBE3A46867BF4A41FEB066D55F44653C6B19B79EC4053A65C"
        },
        {
          "tcId": 2,
          "dkm": "D966508D28ADFFCB04B7D97D6B2BBF45264BB508AE5B69C990180E26F2C51B2C24D0591C6860A09792A3C8B8C26D9A58B5962A01BC5BD6E072B99643E106CEE104C6CBFBFD7837A6D5C60770882055AA4E8A076C6EF1ACD78B1EBB25143EA0E151C7C0250EE48FE8F9B5304FE47BB168E6A4D1FEE309A4FDE08DF40A2EC2A46A"
        }
      ]
    },
    {
      "tgId": 2,
      "tests": [
        {
          "tcId": 6,
          "dkms": [
            "72E5C6A964F4FAEBA65507465ADEBF9E2CD6E7185382DA09B7757040871D6842067F8A88A874D7C0D5A74864C763B2B3D6BABA1F75586C2F155749EF10F83216C4F3AAF72352C071423C3C459841C0FC397599DBB740B564E2C031A09643E802E881FA9759D87DC1BA1A46C62C5E1FC9AD5AA9F541E0A9BE4943851E679419D0",
            "40A53F75389AD6EFE151CFE466C94D2766443EF7DB5EE93D8A99C41B26C2F37369071A7E1B28C3558CAD2624433E853A521CC74ED53EE8A66C7C829FE6DA0584DB953A8493F33C3DA84E328AE19679C19BAB7EE3ECB75682C7142A3E3B43FABC0C5558E744D102DC193D0BC1EC870ED92F91C68AD8DB5B22D99295DAEF0136F3",
            "869A46E135AC6035EE870BC88758B22D36363F1A399C5B4199394DB77F760B17CAF950EA7414EB764240B62B5DE6E07DD6F4235698A1AC5925064F7B1D088120DFE5BEF99710BF3AE1A6DDCECBA4A57F6C5C6F6C4120A4CA0F7684FD08E7B7DD481D6B1DB34BC14DC6B224E20466C073CC0FEC9882AB4E7A9B0C815EB6A6BC2E"
          ]
        },
        {
          "tcId": 7,
          "dkms": [
            "EB7921CF24F156755E0221CD56BF49FD786307E6AD0E83D896BAE199DA6CB6E057891E50CFC23EE9066345E8568E2E456A549F2A24DD3D712A936145FB664A0EB21809421B0CB43BE8BE9771123CE255868443B56D17F043363C5CB37472CCAEF07FBD55BEB1F5B3A9BA09F51CFC634E114D83C223B7819A23ACFBD464D94D72",
            "53EB7064B2D475CCAA88C0153C5B00775E43D6E7D982D8BB24ED0A79FB8482AAA935B4F0086A10D7731057CFB2DB2F14C229AB7A35FFBC1D9821B483D5E1DA241416B43802650456DE4760204A6174D8982358F28C3EF8869258C99B6F65FDE755A37AFF86F2A3EDEEAC256C0E77C9B9479A1B0B7AA2BB6C611D8739959D7C45",
            "882EA02AE5F9B5CF9061B3173B21881EC9950BEA6CE7F143F490D0FBB1CB7F0212CD573FA74119CFC95597C454E106D77F16A9142EE4D7F7DDE14A03D77AAAABB7945BBD6938C3A7BA9E65E67533AC6185FB3CC6411AE526CA354DA824E3DAC23681EBCE05B9B15DBF8BE6FF458DD108C1CEA2625F505CDB0239B8EB9166E449",
            "964C0650DD3DB9C9C840329233578660230FEAB39DFD0178B027DB34CA0DE5E8D16A44651CA98E9A9A5366F9E41D29CF49B133688613C35A165655E8ECA7AB00DE95F1C86C0DFB0E2A31D7DDB37EED825152374F93E98CF568292875046BA38864CFCE7DD4930A063E0679A67D45680342B16D95CD18606D04DAFED698F4A648"
          ]
        }
      ]
    },
    {
      "tgId": 201,
      "tests": [
        {
          "tcId": 1001,
          "testPassed": true
        },
        {
          "tcId": 1002,
          "testPassed": true
        }
      ]
    },
    {
      "tgId": 202,
      "tests": [
        {
          "tcId": 1006,
          "testPassed": true
        },
        {
          "tcId": 1007,
          "testPassed": false
        }
      ]
    }
  ]
}

10. Security Considerations

There are no additional security considerations outside of those outlined in the ACVP document.

11. IANA Considerations

This document does not require any action by IANA.

12. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC7991]
Hoffman, P., "The "xml2rfc" Version 3 Vocabulary", RFC 7991, RFC 7991, DOI 10.17487/RFC7991, , <https://www.rfc-editor.org/info/rfc7991>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", RFC 8174, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[SP800-108]
Chen, L., "Recommendation for Key Derivation Using Pseudorandom Functions (Revised)", NIST SP 800-108, , <https://csrc.nist.gov/pubs/sp/800/108/upd1/final>.
[SP800-56Ar3]
Barker, E. B., Chen, L., Roginsky, A., Vassilev, A., and R. Davis, "Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography", NIST SP 800-56A Rev. 3, , <https://csrc.nist.gov/pubs/sp/800/56/a/r3/final>.
[SP800-56Br2]
Barker, E. B., Chen, L., Roginsky, A., Vassilev, A., Davis, R., and S. Simon, "Recommendation for Pair-Wise Key-Establishment Using Integer Factorization Cryptography", NIST SP 800-56B Rev. 2, , <https://csrc.nist.gov/pubs/sp/800/56/b/r2/final>.
[SP800-56Cr1]
Barker, E. B., Chen, L., and R. Davis, "Recommendation for Key-Derivation Methods in Key-Establishment Schemes", NIST SP 800-56C Rev. 1, , <https://csrc.nist.gov/pubs/sp/800/56/c/r1/final>.
[SP800-56Cr2]
Barker, E. B., Chen, L., and R. Davis, "Recommendation for Key-Derivation Methods in Key-Establishment Schemes", NIST SP 800-56C Rev. 2, , <https://csrc.nist.gov/pubs/sp/800/56/c/r2/final>.
[ACVP]
Fussell, B., Vassilev, A., and H. Booth, "Automatic Cryptographic Validation Protocol", ACVP, .

Author's Address

Russell Hammett (editor)