Closed rahulcode60 closed 1 month ago
Am Dienstag, 10. September 2024, 08:16:49 GMT-5 schrieb rahulcode60:
Hi rahulcode60,
ACVPParser (18:44:14) Debug [backends/backend_openssl3.c:_openssl_eddsa_curves:2394]: curve : 18014398727585792
ACVPParser (18:44:14) Debug [parser/parser_common.c:exec_test:410]: Failure with return code -14
There is something missing between this and the previous log, there are logs missing.
The test vector shows that the test code is function openssl_eddsa_sigver. It perhaps looks like the following code path is triggered:
} else {
logger(LOGGER_WARN, "Signature verification: general
error\n"); ret = -EFAULT; }
If so, the parser receives an answer that it did not expect. For that you can extend the logging message by
logger(LOGGER_WARN, "Signature verification: general error: %s\n", ERR_error_string(ERR_get_error(), NULL));
to get more information.
Ciao Stephan
These are the error logs
ACVPParser (18:44:14) Debug [backends/backend_openssl3.c:openssl_eddsa_create_pkey:2475]: Q = 03bb8a5e4266722ffd6c0264dbfa80d17931098fcc284bf948eafd39580602ce
ACVPParser (18:44:14) Debug [backends/backend_openssl3.c:_openssl_eddsa_curves:2394]: curve : 18014398727585792
ACVPParser (18:44:14) Debug [parser/parser_common.c:exec_test:410]: Failure with return code -14
ACVPParser (18:44:14) Warning [parser/parser_common.c:exec_test:457]: Test execution failed with error -14
ACVPParser (18:44:14) Error [parser/parser_common.c:parse_array:881]: Test execution failed
ACVPParser (18:44:14) Debug [parser/parser_common.c:vector_free_entry:88]: Freeing entry message with data type 0
ACVPParser (18:44:14) Debug [parser/parser_common.c:vector_free_entry:88]: Freeing entry q with data type 0
This is first vector testcase
{