• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D28-Dec-20211.9 KiB6150

include.amH A D28-Dec-20211.1 KiB3126

test.cH A D28-Dec-20211.2 MiB38,59932,625

test.hH A D28-Dec-20211.1 KiB4414

test.slnH A D28-Dec-20213.5 KiB6058

test.vcprojH A D28-Dec-20213.8 KiB198197

test_paths.h.inH A D28-Dec-2021972 2624

README.md

1# wolfCrypt Test
2
3Tool for performing cryptographic algorithm testing.
4
5## Example Output
6
7Run on Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz.
8
9```sh
10./configure --enable-intelasm --enable-aesni --enable-sp --enable-sp-asm && make
11
12./wolfcrypt/test/testwolfcrypt
13------------------------------------------------------------------------------
14 wolfSSL version 4.0.0
15------------------------------------------------------------------------------
16error    test passed!
17MEMORY   test passed!
18base64   test passed!
19asn      test passed!
20MD5      test passed!
21SHA      test passed!
22SHA-224  test passed!
23SHA-256  test passed!
24SHA-384  test passed!
25SHA-512  test passed!
26SHA-3    test passed!
27Hash     test passed!
28HMAC-MD5 test passed!
29HMAC-SHA test passed!
30HMAC-SHA224 test passed!
31HMAC-SHA256 test passed!
32HMAC-SHA384 test passed!
33HMAC-SHA512 test passed!
34HMAC-SHA3   test passed!
35GMAC     test passed!
36Chacha   test passed!
37POLY1305 test passed!
38ChaCha20-Poly1305 AEAD test passed!
39AES      test passed!
40AES192   test passed!
41AES256   test passed!
42AES-GCM  test passed!
43RANDOM   test passed!
44RSA      test passed!
45DH       test passed!
46ECC      test passed!
47logging  test passed!
48mutex    test passed!
49memcb    test passed!
50Test complete
51```
52
53
54## Windows Visual Studio
55
56For building wolfCrypt test project in Visual Studio open the `test.sln`. For newer Visual Studio version it may prompt for a one-way upgrade. Then you may have to right-click on the solution and choose `Retarget solution` to update the project files for your Visual Studio version.
57
58If you see an error about `rc.exe` then you'll need to update the "Target Platform Version". You can do this by right-clicking on the test project -> General -> "Target Platform Version" and changing to 8.1 (needs to match the wolfssl library project).
59
60This solution includes the wolfSSL library project at `<wolfssl-root>wolfssl.vcxproj` and will compile the library, then the test project.
61