Home GnuPG

tests:pkcs1v2: Skip tests with small keys in FIPS mode.

Description

tests:pkcs1v2: Skip tests with small keys in FIPS mode.

* tests/pkcs1v2.c (in_fips_mode): New.
(check_oaep): Skip when key size is less than 2048 in FIPS mode.
(check_pss, check_v15crypt, check_v15sign): Likewise.
  • GnuPG-bug-id: T5512
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Nov 11 2021, 5:44 AM
Parents
rC66119e0c1a02: tests:pubkey: Replace RSA key to one of 2k.
Branches
Unknown
Tags
Unknown
Tasks
T5512: Implement service indicators