From: Vitaly Chikunov <vt@altlinux.org> To: Open-source aspects of GOST Cryptography <oss-gost-crypto@lists.altlinux.org> Subject: [oss-gost-crypto] Streebog fuzzing 24h Date: Mon, 6 May 2019 16:26:12 +0300 Message-ID: <20190506132611.3e6gyswbsnzr6in5@altlinux.org> (raw) FYI, Я прогнал fuzz testing для реализации Стрибога Дегтярева (которая используется и в ядре и в gost-engine) в течении суток, на Clang (8.0.0.) libFuzzer и на AFL (2.36b) Проблем не выявлено. Код фуззера ниже. #include <stdint.h> #include <stddef.h> #include "gost3411-2012-config.h" #include "gost3411-2012-core.h" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { GOST34112012Context ctx; unsigned char digest[32]; GOST34112012Init(&ctx, 256); GOST34112012Update(&ctx, data, size); GOST34112012Final(&ctx, digest); return 0; } Fuzzing ничего не гарантирует, но считается хорошей практикой.
reply other threads:[~2019-05-06 13:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190506132611.3e6gyswbsnzr6in5@altlinux.org \ --to=vt@altlinux.org \ --cc=oss-gost-crypto@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Open-source aspects of GOST Cryptography This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/oss-gost-crypto/0 oss-gost-crypto/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 oss-gost-crypto oss-gost-crypto/ http://lore.altlinux.org/oss-gost-crypto \ oss-gost-crypto@lists.altlinux.org oss-gost-crypto@lists.altlinux.ru oss-gost-crypto@lists.altlinux.com public-inbox-index oss-gost-crypto Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.oss-gost-crypto AGPL code for this site: git clone https://public-inbox.org/public-inbox.git