1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +03:00

tests: Skip chacha20-poly1305 tests in FIPS mode

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2020-01-15 11:24:08 +01:00
parent 60a987fd17
commit ac1c31bda1
2 changed files with 26 additions and 0 deletions

View File

@ -260,6 +260,12 @@ static void torture_packet_chacha20(void **state)
{
int i;
(void)state; /* unused */
/* Chacha20-poly1305 is not FIPS-allowed cipher */
if (ssh_fips_mode()) {
skip();
}
for (i=1;i<256;++i){
torture_packet("chacha20-poly1305@openssh.com", "none", "none", i);
}