Home GnuPG

tests/basic: Add ifdefs for SM4 and CAMELLIA tests

Description

tests/basic: Add ifdefs for SM4 and CAMELLIA tests

* tests/basic.c (check_gcm_siv_cipher): Do not run test vectors that
  are known to fail when compiled without support for SM4 or CAMELLIA.

Fixes test execution when configured --enable-ciphers excluding sm4 or
camellia.

  • Signed-off-by: Clemens Lang <cllang@redhat.com>

Details

Provenance
neverpanicAuthored on Aug 2 2022, 1:26 PM
jukiviliCommitted on Aug 2 2022, 5:38 PM
Parents
rCa8f66410ca0d: basic: gcm-siv: add fips checks for SM4 and CAMELLIA128
Branches
Unknown
Tags
Unknown