]> www.wagner.pp.ru Git - openssl-gost/engine.git/commit
test_ciphers: Rework cipher test
authorVitaly Chikunov <vt@altlinux.org>
Fri, 8 May 2020 18:53:30 +0000 (21:53 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sat, 9 May 2020 08:28:38 +0000 (11:28 +0300)
commita14b39cd5af4635947b86433bbc44bbd267011b2
tree5527d02e674b565b2f5e0f0def84ac889c5bd41d
parent2ffd7dabe3d9f191c8933d89dcc62db1bee75200
test_ciphers: Rework cipher test

- Use EVP API instead of direct calls to gost-engine;
- Remove MAC tests (they should go into test_digest);
- Expand `testcases' array to be more readable;
- Add some asserts of IV and block sizes.
- Remove noisy hex dumps if there is no errors;
- Note: no new cipers are added.
test_ciphers.c