Home GnuPG

tests: Explicit FIPS checking for symmetric algorithms.

Description

tests: Explicit FIPS checking for symmetric algorithms.

* tests/basic.c (FLAG_CFB8): New.
(check_ecb_cipher): Introduce new flag and explicitly check for
algorithm functionality in regards to FIPS.
(check_ctr_cipher): Ditto.
(check_cfb_cipher): Replace the cfb8 flag with generic flag and
explicitly check for algorithm funcionality in regards to FIPS.
(check_ofb_cipher): Introduce new flag and explicitly check for
algorithm functionality in regards to FIPS.
(_check_poly1305_cipher): Explicitly check functionality in regards to
FIPS mode.
(check_ccm_cipher): Introduce new flag and explicitly check for
algorithm functionality in regards to FIPS.
(check_gost28147_cipher_basic): Explicitly check functionality in
regards to FIPS mode.
(check_stream_cipher_large_block): Explicitly check functionality in
regards to FIPS mode.
  • GnuPG-bug-id: T5512
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Nov 5 2021, 5:05 PM
gniibeCommitted on Nov 9 2021, 7:33 AM
Parents
rCdf66bd94e6e3: dsa: Add checks in FIPS mode.
Branches
Unknown
Tags
Unknown
Tasks
T5512: Implement service indicators