Home GnuPG

tests: Add test to verify GOST 28147-89 against known results.
4f5c26c73c66Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: Add test to verify GOST 28147-89 against known results.

* tests/basic.c (check_gost28147_cipher): new test function.

Currently the only test executed against GOST 28147-89 cipher is a
basic cipher test: it checks that decoding of encoded text returns
the original plaintext. Add a function to verify the cipher against
test vectors.

  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
lumagAuthored on Nov 23 2016, 6:38 AM
gniibeCommitted on Nov 25 2016, 4:13 AM
Parents
rC5ca63c928254: cipher/gost28147: Fix CryptoPro-B S-BOX.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rC4f5c26c73c66: tests: Add test to verify GOST 28147-89 against known results. (authored by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>).Nov 25 2016, 4:13 AM