]> www.wagner.pp.ru Git - openssl-gost/engine.git/commit
test_grasshopper: ctr test 2 and ofb with truncated iv tests
authorVitaly Chikunov <vt@altlinux.org>
Sun, 22 Jul 2018 23:25:08 +0000 (02:25 +0300)
committerGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Tue, 21 Aug 2018 17:09:13 +0000 (20:09 +0300)
commit5b07c368d61ff31b23938520a0f8b765cd27d1eb
tree4265da16342893facd18f36d900df8bda44dad7a
parentd73884b9ddb11f7d0559171db5bb0732ab3ffff0
test_grasshopper: ctr test 2 and ofb with truncated iv tests

Full test of OFB to match GOST R 34.13-2015 test vectors is impossible,
due to test IVs are having size (256-bits) over the maximum openssl can
allow (128-bits).

I generated new test vectors from canonical implementation
from `PR_GOSTR_bch_v9.zip` (revision of 2016-10-28) by truncating test
IVs in half.

(cherry picked from commit d40efde88e6c6589d9d4f5128ec92178776c518a)
test_grasshopper.c