-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Related issue: #3393.
[==========] spdm_crypt_lib_tests: Running 1 test(s).
[ RUN ] libspdm_test_fips
[ ERROR ] --- status
[ LINE ] --- /home/runner/work/libspdm/libspdm/unit_test/test_spdm_fips/test_spdm_fips.c:29: error: Failure!
FFDH compute key failed
[ FAILED ] libspdm_test_fips
[==========] spdm_crypt_lib_tests: 1 test(s) run.
[ PASSED ] 0 test(s).
[ FAILED ] spdm_crypt_lib_tests: 1 test(s), listed below:
[ FAILED ] libspdm_test_fips
libspdm/library/spdm_crypt_lib/fips/libspdm_selftest_ffdh.c
Lines 79 to 97 in fbb6a05
| result = libspdm_dh_compute_key(dh1, ff_public_key2, ff_public_key2_length, | |
| ff_key1, &ff_key1_length); | |
| if (!result || ff_key1_length != 256) { | |
| LIBSPDM_DEBUG((LIBSPDM_DEBUG_INFO, "FFDH compute key failed \n")); | |
| libspdm_dh_free(dh1); | |
| libspdm_dh_free(dh2); | |
| result = false; | |
| goto update; | |
| } | |
| result = libspdm_dh_compute_key(dh2, ff_public_key1, ff_public_key1_length, | |
| ff_key2, &ff_key2_length); | |
| if (!result || ff_key2_length != 256) { | |
| LIBSPDM_DEBUG((LIBSPDM_DEBUG_INFO, "FFDH compute key failed \n")); | |
| libspdm_dh_free(dh1); | |
| libspdm_dh_free(dh2); | |
| result = false; | |
| goto update; | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels