-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Milestone
Description
- During CI: Port ec2_compatibilitytests #665 , we found that the following Amazon Linux 2 containers failed ACVP tests due to missing sha512_224 support:
- amazonlinux-2-aarch:base
- amazonlinux-2-aarch:gcc-7x
- amazonlinux-2-aarch:clang-7x
Error is reported during make quickcheck:
File "/usr/lib64/python3.7/hashlib.py", line 150, in __hash_new
return _hashlib.new(name, data)
ValueError: unsupported hash type
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./test/acvp_client.py", line 469, in <module>
test(args.prompt, args.expected, args.output, args.version)
File "./test/acvp_client.py", line 437, in test
runTest(data, output)
File "./test/acvp_client.py", line 417, in runTest
runTestSingle(promptName, prompt, expectedResultName, expectedResult, output)
File "./test/acvp_client.py", line 379, in runTestSingle
result = run_sigGen_test(tg, tc)
File "./test/acvp_client.py", line 206, in run_sigGen_test
ph = compute_hash(tc["message"], tc["hashAlg"])
File "./test/acvp_client.py", line 161, in compute_hash
return hashlib.new("sha512_224", msg_bytes).hexdigest()
File "/usr/lib64/python3.7/hashlib.py", line 156, in __hash_new
return __get_builtin_constructor(name)(data)
File "/usr/lib64/python3.7/hashlib.py", line 113, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512_224
This failure is unrelated to test correctness; it is solely due to missing hash support required for computing the verification value.
- This issue is created to track and record the problem for a future fix.
Metadata
Metadata
Assignees
Labels
No labels