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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user