Closed shilpa-1992 closed 3 years ago
envstr = secure_getenv("OPENSSL_ACVP_DH_KEYGEN");
Could you please brief how this string get set.
Am Montag, dem 17.05.2021 um 02:53 -0700 schrieb shilpa-1992:
envstr = secure_getenv("OPENSSL_ACVP_DH_KEYGEN");
Could you please brief how this string get set.
See helper/exec_openssl.sh
What i understood is that through this script the Environment variable evaluated by ACVP Parser is set. Please correct me if wrong.
Currently i was executing the tool directly as "./acvp-parser
1.How to include the helper script as well in execution , is it necessary to include the helper script. 2.In the AFT test mode test vectors for safeprimes ,KAS-FFC-SSC and KAS-ECC-SSC is failing and the Validation test passing , any clue which part of code responsible for this ?
Regards,
Am Montag, dem 17.05.2021 um 03:23 -0700 schrieb shilpa-1992:
What i understood is that through this script the Environment variable evaluated by ACVP Parser is set.
Currently i was executing the tool directly as "./acvp-parser
/testvector-request.json /testvector-response.json How to include the helper script as well in execution , is it necessary to include the helper script.
The script is intended to automate running hundreds of test vectors automatically with the right options.
If you invoke testing manually you need to set the environment variable as needed for your command.
Ciao Stephan
Regards,
Could see that "testType": "AFT", Failed in all cases.
What does this Meta info "AFT" say ?
"result": "failed", "reason": "Z does not match"
Any clue on this failure situation. what might have failed all the KeyGen .
Could you please share the function flow "testType": "AFT".
I understood that for key gen " _openssl_dh_keygen which calls openssl_dh_set_param to fill the DH structure with PQG and then call DH_generate_key to generate the key"
Regards,