]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
gost_crypt: Add some sanity checking to GOST_init_cipher
authorVitaly Chikunov <vt@altlinux.org>
Tue, 12 May 2020 09:26:01 +0000 (12:26 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Tue, 12 May 2020 09:55:47 +0000 (12:55 +0300)
- Stream cipher should have block_size 1, other should not.
- Stream cipher should not have padding.
- If IV is specified Custom IV flag should be set.


No differences found