Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring error during "hashes" #58

Open
KursatCAKAL opened this issue Jun 19, 2023 · 0 comments
Open

Configuring error during "hashes" #58

KursatCAKAL opened this issue Jun 19, 2023 · 0 comments

Comments

@KursatCAKAL
Copy link

I am using MacBook Air M2. Below error is occurred.

18 out of 19 test are successfully completed. 95% tests passed, 1 tests failed out of 19.

Why do you mean by line 117 in CMakeList.txt
add_test(NAME hashes COMMAND sha256sum -c ../../SHA256SUMS)

Error logs attached below:

LastTests.log:
19:hashes

LastTestsFailed.log:

Start testing: Jun 19 22:24 +03
----------------------------------------------------------
1/19 Testing: kyber512_ref
1/19 Test: kyber512_ref
Command: "/Users/macospc/kyber/build/ref/test_kyber512_ref"
Directory: /Users/macospc/kyber/build/ref
"kyber512_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
CRYPTO_SECRETKEYBYTES:  1632
CRYPTO_PUBLICKEYBYTES:  800
CRYPTO_CIPHERTEXTBYTES: 768
<end of output>
Test time =   0.83 sec
----------------------------------------------------------
Test Passed.
"kyber512_ref" end time: Jun 19 22:24 +03
"kyber512_ref" time elapsed: 00:00:00
----------------------------------------------------------

2/19 Testing: kex512_ref
2/19 Test: kex512_ref
Command: "/Users/macospc/kyber/build/ref/test_kex512_ref"
Directory: /Users/macospc/kyber/build/ref
"kex512_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
KEX_UAKE_SENDABYTES: 1568
KEX_UAKE_SENDBBYTES: 768
KEX_AKE_SENDABYTES: 1568
KEX_AKE_SENDBBYTES: 1536
<end of output>
Test time =   0.25 sec
----------------------------------------------------------
Test Passed.
"kex512_ref" end time: Jun 19 22:24 +03
"kex512_ref" time elapsed: 00:00:00
----------------------------------------------------------

3/19 Testing: kyber512-90s_ref
3/19 Test: kyber512-90s_ref
Command: "/Users/macospc/kyber/build/ref/test_kyber512-90s_ref"
Directory: /Users/macospc/kyber/build/ref
"kyber512-90s_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
CRYPTO_SECRETKEYBYTES:  1632
CRYPTO_PUBLICKEYBYTES:  800
CRYPTO_CIPHERTEXTBYTES: 768
<end of output>
Test time =   0.92 sec
----------------------------------------------------------
Test Passed.
"kyber512-90s_ref" end time: Jun 19 22:24 +03
"kyber512-90s_ref" time elapsed: 00:00:00
----------------------------------------------------------

4/19 Testing: kex512-90_ref
4/19 Test: kex512-90_ref
Command: "/Users/macospc/kyber/build/ref/test_kex512-90s_ref"
Directory: /Users/macospc/kyber/build/ref
"kex512-90_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
KEX_UAKE_SENDABYTES: 1568
KEX_UAKE_SENDBBYTES: 768
KEX_AKE_SENDABYTES: 1568
KEX_AKE_SENDBBYTES: 1536
<end of output>
Test time =   0.25 sec
----------------------------------------------------------
Test Passed.
"kex512-90_ref" end time: Jun 19 22:24 +03
"kex512-90_ref" time elapsed: 00:00:00
----------------------------------------------------------

5/19 Testing: kyber768_ref
5/19 Test: kyber768_ref
Command: "/Users/macospc/kyber/build/ref/test_kyber768_ref"
Directory: /Users/macospc/kyber/build/ref
"kyber768_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
CRYPTO_SECRETKEYBYTES:  2400
CRYPTO_PUBLICKEYBYTES:  1184
CRYPTO_CIPHERTEXTBYTES: 1088
<end of output>
Test time =   0.81 sec
----------------------------------------------------------
Test Passed.
"kyber768_ref" end time: Jun 19 22:24 +03
"kyber768_ref" time elapsed: 00:00:00
----------------------------------------------------------

6/19 Testing: kex768_ref
6/19 Test: kex768_ref
Command: "/Users/macospc/kyber/build/ref/test_kex768_ref"
Directory: /Users/macospc/kyber/build/ref
"kex768_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
KEX_UAKE_SENDABYTES: 2272
KEX_UAKE_SENDBBYTES: 1088
KEX_AKE_SENDABYTES: 2272
KEX_AKE_SENDBBYTES: 2176
<end of output>
Test time =   0.24 sec
----------------------------------------------------------
Test Passed.
"kex768_ref" end time: Jun 19 22:24 +03
"kex768_ref" time elapsed: 00:00:00
----------------------------------------------------------

7/19 Testing: kyber768-90s_ref
7/19 Test: kyber768-90s_ref
Command: "/Users/macospc/kyber/build/ref/test_kyber768-90s_ref"
Directory: /Users/macospc/kyber/build/ref
"kyber768-90s_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
CRYPTO_SECRETKEYBYTES:  2400
CRYPTO_PUBLICKEYBYTES:  1184
CRYPTO_CIPHERTEXTBYTES: 1088
<end of output>
Test time =   1.38 sec
----------------------------------------------------------
Test Passed.
"kyber768-90s_ref" end time: Jun 19 22:24 +03
"kyber768-90s_ref" time elapsed: 00:00:01
----------------------------------------------------------

8/19 Testing: kex768-90_ref
8/19 Test: kex768-90_ref
Command: "/Users/macospc/kyber/build/ref/test_kex768-90s_ref"
Directory: /Users/macospc/kyber/build/ref
"kex768-90_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
KEX_UAKE_SENDABYTES: 2272
KEX_UAKE_SENDBBYTES: 1088
KEX_AKE_SENDABYTES: 2272
KEX_AKE_SENDBBYTES: 2176
<end of output>
Test time =   0.24 sec
----------------------------------------------------------
Test Passed.
"kex768-90_ref" end time: Jun 19 22:24 +03
"kex768-90_ref" time elapsed: 00:00:00
----------------------------------------------------------

9/19 Testing: kyber1024_ref
9/19 Test: kyber1024_ref
Command: "/Users/macospc/kyber/build/ref/test_kyber1024_ref"
Directory: /Users/macospc/kyber/build/ref
"kyber1024_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
CRYPTO_SECRETKEYBYTES:  3168
CRYPTO_PUBLICKEYBYTES:  1568
CRYPTO_CIPHERTEXTBYTES: 1568
<end of output>
Test time =   1.13 sec
----------------------------------------------------------
Test Passed.
"kyber1024_ref" end time: Jun 19 22:24 +03
"kyber1024_ref" time elapsed: 00:00:01
----------------------------------------------------------

10/19 Testing: kex1024_ref
10/19 Test: kex1024_ref
Command: "/Users/macospc/kyber/build/ref/test_kex1024_ref"
Directory: /Users/macospc/kyber/build/ref
"kex1024_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
KEX_UAKE_SENDABYTES: 3136
KEX_UAKE_SENDBBYTES: 1568
KEX_AKE_SENDABYTES: 3136
KEX_AKE_SENDBBYTES: 3136
<end of output>
Test time =   0.24 sec
----------------------------------------------------------
Test Passed.
"kex1024_ref" end time: Jun 19 22:24 +03
"kex1024_ref" time elapsed: 00:00:00
----------------------------------------------------------

11/19 Testing: kyber1024-90s_ref
11/19 Test: kyber1024-90s_ref
Command: "/Users/macospc/kyber/build/ref/test_kyber1024-90s_ref"
Directory: /Users/macospc/kyber/build/ref
"kyber1024-90s_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
CRYPTO_SECRETKEYBYTES:  3168
CRYPTO_PUBLICKEYBYTES:  1568
CRYPTO_CIPHERTEXTBYTES: 1568
<end of output>
Test time =   2.05 sec
----------------------------------------------------------
Test Passed.
"kyber1024-90s_ref" end time: Jun 19 22:24 +03
"kyber1024-90s_ref" time elapsed: 00:00:02
----------------------------------------------------------

12/19 Testing: kex1024-90_ref
12/19 Test: kex1024-90_ref
Command: "/Users/macospc/kyber/build/ref/test_kex1024-90s_ref"
Directory: /Users/macospc/kyber/build/ref
"kex1024-90_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
KEX_UAKE_SENDABYTES: 3136
KEX_UAKE_SENDBBYTES: 1568
KEX_AKE_SENDABYTES: 3136
KEX_AKE_SENDBBYTES: 3136
<end of output>
Test time =   0.25 sec
----------------------------------------------------------
Test Passed.
"kex1024-90_ref" end time: Jun 19 22:24 +03
"kex1024-90_ref" time elapsed: 00:00:00
----------------------------------------------------------

13/19 Testing: vectors512_ref
13/19 Test: vectors512_ref
Command: "/bin/sh" "-c" ""/Users/macospc/kyber/build/ref/test_vectors512_ref" > tvecs512"
Directory: /Users/macospc/kyber/build/ref
"vectors512_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
<end of output>
Test time =   4.75 sec
----------------------------------------------------------
Test Passed.
"vectors512_ref" end time: Jun 19 22:24 +03
"vectors512_ref" time elapsed: 00:00:04
----------------------------------------------------------

14/19 Testing: vectors512-90s_ref
14/19 Test: vectors512-90s_ref
Command: "/bin/sh" "-c" ""/Users/macospc/kyber/build/ref/test_vectors512-90s_ref" > tvecs512-90s"
Directory: /Users/macospc/kyber/build/ref
"vectors512-90s_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
<end of output>
Test time =   5.25 sec
----------------------------------------------------------
Test Passed.
"vectors512-90s_ref" end time: Jun 19 22:24 +03
"vectors512-90s_ref" time elapsed: 00:00:05
----------------------------------------------------------

15/19 Testing: vectors768_ref
15/19 Test: vectors768_ref
Command: "/bin/sh" "-c" ""/Users/macospc/kyber/build/ref/test_vectors768_ref" > tvecs768"
Directory: /Users/macospc/kyber/build/ref
"vectors768_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
<end of output>
Test time =   6.03 sec
----------------------------------------------------------
Test Passed.
"vectors768_ref" end time: Jun 19 22:24 +03
"vectors768_ref" time elapsed: 00:00:06
----------------------------------------------------------

16/19 Testing: vectors768-90s_ref
16/19 Test: vectors768-90s_ref
Command: "/bin/sh" "-c" ""/Users/macospc/kyber/build/ref/test_vectors768-90s_ref" > tvecs768-90s"
Directory: /Users/macospc/kyber/build/ref
"vectors768-90s_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
<end of output>
Test time =   8.23 sec
----------------------------------------------------------
Test Passed.
"vectors768-90s_ref" end time: Jun 19 22:24 +03
"vectors768-90s_ref" time elapsed: 00:00:08
----------------------------------------------------------

17/19 Testing: vectors1024_ref
17/19 Test: vectors1024_ref
Command: "/bin/sh" "-c" ""/Users/macospc/kyber/build/ref/test_vectors1024_ref" > tvecs1024"
Directory: /Users/macospc/kyber/build/ref
"vectors1024_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
<end of output>
Test time =   8.36 sec
----------------------------------------------------------
Test Passed.
"vectors1024_ref" end time: Jun 19 22:24 +03
"vectors1024_ref" time elapsed: 00:00:08
----------------------------------------------------------

18/19 Testing: vectors1024-90s_ref
18/19 Test: vectors1024-90s_ref
Command: "/bin/sh" "-c" ""/Users/macospc/kyber/build/ref/test_vectors1024-90s_ref" > tvecs1024-90s"
Directory: /Users/macospc/kyber/build/ref
"vectors1024-90s_ref" start time: Jun 19 22:24 +03
Output:
----------------------------------------------------------
<end of output>
Test time =  11.49 sec
----------------------------------------------------------
Test Passed.
"vectors1024-90s_ref" end time: Jun 19 22:24 +03
"vectors1024-90s_ref" time elapsed: 00:00:11
----------------------------------------------------------

Unable to find executable: sha256sum
19/19 Testing: hashes
19/19 Test: hashes
Command: "" "-c" "../../SHA256SUMS"
Directory: /Users/macospc/kyber/build/ref
"hashes" start time: 
Output:
----------------------------------------------------------
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Passed.
"hashes" end time: Jun 19 22:24 +03
"hashes" time elapsed: 00:00:00
----------------------------------------------------------

End testing: Jun 19 22:24 +03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant