smuellerDD / acvpparser

ACVP Parser for invocation of cryptographic implementations using the ACVP JSON test vectors
https://www.chronox.de/acvpparser
Other
36 stars 27 forks source link

RSA KeyGen Output Issues #44

Closed ashahhosse closed 3 years ago

ashahhosse commented 3 years ago

Hi,

We are having some issues with some of the outputs in our resp file for RSA Key Gen -- do we need to update the parser to handle the problems below?

  1. resp "bitlens" only outputs 0, 0, 0, 0
  2. resp file seems to be missing/pruning out xP, xP1, etc. values
  3. Our implementation supports a fixed exponent, but when we process the req file with "e": "010001", it outputs random values for "e" in our resp file.

Including some information regarding type of testing done: "testType": "AFT", "keyFormat": "standard", "primeTest": "tblC2", "randPQ": "B.3.6", "pubExp": "fixed", "tests": [ .....

Thank you for your help!

Regards, Amir

smuellerDD commented 3 years ago

Hi,

Am 20.10.2021 um 20:45 schrieb ashahhosse @.***>:

 Hi,

We are having some issues with some of the outputs in our resp file -- do we need to update the parser to handle the problems below?

resp "bitlens" only outputs 0, 0, 0, 0

Please see parser_rsa.h - bitlen has to be set by backend.

resp file seems to be missing/pruning out xP, xP1, etc. values

Did your backend fill this buffer in?

Our implementation supports a fixed exponent, but when we process the req file with "e": "010001", it outputs random values for "e" in our resp file.

Did your backen fill it in?

Ciao Stephan

Thank you for your help!

Regards, Amir

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

ashahhosse commented 3 years ago

Thank you for the notes, Stephan. We can close this issue now.