Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSA OAEP: no VAL tests? #194

Closed
smuellerDD opened this issue Mar 1, 2022 · 3 comments
Closed

RSA OAEP: no VAL tests? #194

smuellerDD opened this issue Mar 1, 2022 · 3 comments

Comments

@smuellerDD
Copy link

environment
Demo

testSessionId
233813

vsId
910195

Algorithm registration

[
  {
    "acvVersion":"1.0"
  },
  {
    "isSample":false,
    "operation":"register",
    "certificateRequest":"no",
    "debugRequest":"yes",
    "production":"no",
    "encryptAtRest":"yes",
    "algorithms":[
      {
        "prereqVals":[
          {
            "algorithm":"DRBG",
            "valValue":"same"
          }
        ],
        "algorithm":"KTS-IFC",
        "revision":"Sp800-56Br2",
        "function":[
          "partialVal"
        ],
        "iutId":"0123456789abcdef",
        "keyGenerationMethods":[
          "rsakpg1-basic"
        ],
        "modulo":[
          2048,
          3072,
          4096,
          6144,
          8192
        ],
        "fixedPubExp":"010001",
        "scheme":{
          "KTS-OAEP-basic":{
            "kasRole":[
              "initiator",
              "responder"
            ],
            "ktsMethod":{
              "hashAlgs":[
                "SHA2-224",
                "SHA2-256",
                "SHA2-384",
                "SHA2-512"
              ],
              "supportsNullAssociatedData":true,
              "associatedDataPattern":"uPartyInfo||vPartyInfo",
              "encoding":[
                "concatenation"
              ]
            },
            "l":768
          }
        }
      }
    ]
  }
]

Expected behavior
I would have expected to get VAL test vectors, but I only got AFT. Is this intended?

@livebe01
Copy link
Collaborator

livebe01 commented Mar 2, 2022

It appears to be. Looking through the documentation and source, we only implement VAL test for KAS-IFC (vs KTS-IFC).

@Kritner
Copy link
Contributor

Kritner commented Mar 3, 2022

Related issue about the removal of KTS VAL tests usnistgov/ACVP#942 specifically usnistgov/ACVP#942 (comment)

@smuellerDD
Copy link
Author

Right, I overlooked the last entry that VAL was removed. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants