Commit c6b44c8e authored by Vitaly Chikunov's avatar Vitaly Chikunov Committed by Dmitry Belyavskiy
Browse files

gost_crypt: Add some sanity checking to GOST_init_cipher

- 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.
parent 6957d348
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment