Home GnuPG

tests/basic: add vector cluttering to detect implementation bugs

Description

tests/basic: add vector cluttering to detect implementation bugs

* src/global.c (_gcry_check_version): Fix missing newline.
* src/basic.c (ALWAYS_INLINE, CLUTTER_REGISTER_*, prepare_vector_data)
(clutter_vector_registers): New.
(progress_handler): Make static function.
(check_bulk_cipher_modes, check_one_cipher_core_reset)
(check_one_cipher_core, check_one_md, check_one_md_multi)
(check_one_md_final, check_one_mac): Clutter vector registers before
gcry_* calls to cipher/md/mac algorithms.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jan 22 2020, 6:36 PM
Parents
rC79ed620ec46a: Set vZZ.16b register to zero before use in armv8 gcm implementation
Branches
Unknown
Tags
Unknown