aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/block
Commit message (Collapse)AuthorAgeFilesLines
* Clean up handling of POWER ISA extensionsJack Lloyd2019-12-121-1/+1
| | | | See #2226
* Add SHACAL2 AVX2Jack Lloyd2019-11-141-117/+117
| | | | About 2x faster on Skylake
* Merge CLMUL and PMULL codeJack Lloyd2019-09-251-1/+1
| | | | Same algorithms were used just using SSSE3 vs NEON
* Fix a bug in CAST-128 affecting 11, 13, 14, or 15 byte keysJack Lloyd2019-08-261-0/+24
| | | | | | | | With keys not a multiple of 4 bytes, the zero bytes ended up in the wrong place. In the unlikely event anyone was affected by this they could just use the equivalent 16 byte key. Closes #2081
* Add long Blowfish ECB testJack Lloyd2019-02-281-0/+4
| | | | We were not testing 4-wide encryption
* Handle PPC crypto bit in tests [ci skip]Jack Lloyd2018-10-011-1/+1
|
* Increase minimum Blowfish key length to 64 bitsJack Lloyd2018-09-071-6/+10
| | | | | | See #1673 Also, skip tests if the provider doesn't support the given key length.
* Correct order of CPUID bit clearingsJack Lloyd2018-08-262-2/+2
| | | | | | These are done from left to right, so should end with most widely implement extensions. Noticed because adding AVX2 ChaCha caused SSE2 ChaCha to be no longer tested.
* Add avx2 tag to Serpent test dataJack Lloyd2018-08-241-1/+1
|
* Add a test of Threefish-512 tweak functionalityJack Lloyd2018-08-081-0/+5
|
* Add support for ARMv8 SM4 instructionsJack Lloyd2018-07-091-0/+12
| | | | Tested in qemu
* Fix handling of SHA instructions in testsJack Lloyd2018-06-291-0/+2
|
* Fixes for DES/3DESJack Lloyd2018-05-161-16/+4
|
* Optimize TwofishJack Lloyd2017-11-161-18/+2
| | | | | Interleaving two blocks is 40-50% faster for any mode that supports parallel operation.
* Correct CAST-128 decryption with more than 1 blockJack Lloyd2017-11-161-0/+4
|
* Add SHACAL2 test from Bouncy CastleJack Lloyd2017-11-051-0/+5
| | | | [ci skip]
* Add missing ARIA test vectors (GH #1004)Jeffrey Walton2017-08-231-0/+35
|
* Add SHACAL2 in generic SIMDJack Lloyd2017-08-131-0/+14
| | | | Bit over 2x faster on my desktop
* Add SHACAL2Jack Lloyd2017-08-131-0/+4083
| | | | 256 bit ARX block cipher with hardware support, what's not to love.
* Add SM4 block cipherJack Lloyd2017-06-161-0/+9
| | | | This work was sponsored by Ribose Inc
* Add more Noekeon testsJack Lloyd2017-01-271-8/+4114
| | | | | | Values take from the NESSIE submission package. [ci skip]
* Add sources for some test vectors [ci skip]René Korthaus2016-12-081-0/+2
|
* Remove ECB modeJack Lloyd2016-12-043-0/+131
| | | | | | | Not a good thing to offer at this level. If you know what you are doing for the strange special case where it is necessary, the raw BlockCipher interface is available and probably more convenient.
* Add missing variable to AES test vectorJack Lloyd2016-10-251-0/+1
|
* Add long (4+ block) AES KATsJack Lloyd2016-10-251-0/+10
| | | | We were not previously hitting the 4 way unrolled loop in AES-NI in tests
* Add cpuid overload to test frameworkJack Lloyd2016-09-155-0/+15
|
* Remove deprecated ciphers MARS, RC2, RC5, RC6, SAFER-SK and TEAJack Lloyd2016-09-026-9883/+0
| | | | | XTEA was also deprecated but has been spared, it does seem to be somewhat common (eg, included in the Go x/crypto library)
* Merge asm into single mp_madd.h and mp_asmi.h filesJack Lloyd2016-07-212-0/+8
| | | | | | | Avoids some cut and paste, also removes the need for special logic in configure.py for handling mp module specially. Merge SIMD classes into a single type SIMD_4x32
* Update and consolidate the test framework.Jack Lloyd2015-11-111-1/+1
| | | | | | | | | | | The tests previously had used 4 to 6 different schemes internally (the vec file reader framework, Catch, the old InSiTo Boost.Test tests, the PK/BigInt tests which escaped the rewrite in 1.11.7, plus a number of one-offs). Converge on a design that works everywhere, and update all the things. Fix also a few bugs found by the test changes: SHA-512-256 name incorrect, OpenSSL RC4 name incorrect, signature of FFI function botan_pubkey_destroy was wrong.
* Remove Square, Skipjack, Luby-Rackoff, and Blue Midnight Wish.lloyd2014-02-083-178/+0
|
* Split up test vectors into per-algo files and app into botan-test forlloyd2014-01-1027-0/+28778
the tests and botan for everything else.