]> 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)
committerVitaly Chikunov <vt@altlinux.org>
Sun, 22 Jul 2018 23:25:08 +0000 (02:25 +0300)
commitd40efde88e6c6589d9d4f5128ec92178776c518a
treea91865bac1c1b3d87c92bda5b90e54eabd3dcab7
parent6e163b2cdd1233b2b0f46ddd2c9e0fdab0d318f8
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.
test_grasshopper.c