Age | Commit message (Collapse) | Author | Files | Lines |
|
Error message:
OPENSSL_Uplink(00007FF9FB00F600,08): no OPENSSL_Applink
Link: https://www.openssl.org/docs/faq.html#PROG3
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
|
|
test_digest.c(513,2): warning C4389: '==': signed/unsigned mismatch
test_digest.c(820,5): warning C4389: '==': signed/unsigned mismatch
test_sign.c(241,22): warning C4389: '==': signed/unsigned mismatch
test_params.c(1131,16): warning C4018: '<': signed/unsigned mismatch
test_sign.c(241,22): warning C4389: '==': signed/unsigned mismatch
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
|
|
Error messages:
test_ciphers.c(329,5): error C2059: syntax error: '{'
test_ciphers.c(329,5): error C2059: syntax error: '}'
test_ciphers.c(329,5): error C2059: syntax error: ')'
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
|
|
Error message:
test_ciphers.c(37,9): warning C4068: unknown pragma 'GCC'
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
|
|
|
|
|
|
The following programs had a hard coded load of the gost engine.
This changes them to rely more on the testing environment, and to
load engines through configuration files.
This affects: test_ciphers.c, test_context.c, test_derive.c,
test_digest.c, test_params.c, test_sign.c, test_tls.c
|
|
|
|
Using cNORM after "\n" may or may not work, probably because of the
line buffered nature of standard output.
If an error is displayed immediately after a printf that has cNORM
after "\n", the error output sometimes "overrides" the cNORM, and you
may end up with a surprisingly colorful error message, not to mention
that this may also affect your prompt in the same manner.
The lesson is to always output cNORM before the ending "\n".
|
|
|
|
|
|
This vector triggers so much bugs in different implementations.
|
|
- Less arguments - less scary function calls.
- Better screen output: all tests now shown.
- Some typo corrections.
|
|
Use chance of having CMAC test vector to test CMAC provider.
|
|
Both HMAC (deprecated) and EVP_MAC (since 3.0).
Also, remove redundant test iteration in do_digest().
|
|
It's good to know what needs to be done.
|
|
They say `HMAC' API is deprecated since 3.0, thus `EVP_MAC' API should
be used.
https://www.openssl.org/docs/manmaster/man3/HMAC_CTX_free.html
|
|
From GOST R 34.13-2015 (А.2.6).
|
|
From RFC 7836 (B) and R 50.1.113-2016 (A).
|
|
Dumps from `etalon/' dir.
|
|
Here is better place, because they all digests.
|
|
There need to be more tests than 2 constant fixed size blocks.
Final digest values are generated from the first run.
Test description in comments.
|
|
Especially test alginment problems on MIPSel.
|