Skip to content

Commit

Permalink
Fix KMAC tests on Azure Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vcsjones authored and pull[bot] committed Sep 6, 2024
1 parent d31bb92 commit 1b72428
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public abstract class KmacTestDriver<TKmacTrait, TKmac>
public static bool IsSupported => TKmacTrait.IsSupported;
public static bool IsNotSupported => !IsSupported;
public static KeySizes? PlatformKeySizeRequirements { get; } =
PlatformDetection.IsOpenSslSupported ? new KeySizes(4, 512, 1) : null;
PlatformDetection.IsOpenSslSupported && !PlatformDetection.IsAzureLinux ? new KeySizes(4, 512, 1) : null;

public static int? PlatformMaxOutputSize { get; } = PlatformDetection.IsOpenSslSupported ? 0xFFFFFF / 8 : null;
public static int? PlatformMaxCustomizationStringSize { get; } = PlatformDetection.IsOpenSslSupported ? 512 : null;
Expand Down

0 comments on commit 1b72428

Please sign in to comment.