Home GnuPG

kdf: Restructure KDF test vectors

Description

kdf: Restructure KDF test vectors

* tests/t-kdf.c: Restructure KDF test vectors to allow easy addition
  new vectors. Also remove some ugly C code like goto again.

[jk: fixed commit changelog cipher/kdf.c -> tests/t-kdf.c]

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
gmazylandAuthored on Aug 18 2022, 4:18 PM
jukiviliCommitted on Aug 18 2022, 6:41 PM
Parents
rC97e2c237f15d: tests/basic: Add ifdefs for SM4 and CAMELLIA tests
Branches
Unknown
Tags
Unknown