Extend test of chained modes for 128bit ciphers
* tests/basic.c (check_one_cipher_core, check_one_cipher): Increase input and output buffer sizes from 16 bytes to 1024+16=1040 bytes. (check_one_cipher_core): Add asserts to verify sizes of temporary buffers.
Currently check_one_cipher() has buffer size of 16 bytes, which is one block
with 128bit cipher. As result chained modes for 128bit ciphers are not well
tested. Increase buffer size to 1040 bytes, so that iterations of chained
modes and parallellized code paths (AES-NI CTR, etc) are also tested.
Extra 16 bytes after 1024 bytes to ensure that loop transision from
parallelized code paths to serialized code paths get tested too.
- Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>