Skip to content

SCOSSL: Shake Squeeze tests fail #112036

Open
@vcsjones

Description

@vcsjones

For SymCrypt-OpenSSL (SCOSSL) the implementation of EVP_DigestSqueeze does not appear to work correctly which results in test failures like:

Interop+Crypto+OpenSslCryptographicException : error:1C80006A:Provider routines::output buffer too small
      Stack Trace:
        /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/LiteHash.Unix.cs(110,0): at System.Security.Cryptography.LiteXof.Check(Int32 result)
        /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/LiteHash.Unix.cs(95,0): at System.Security.Cryptography.LiteXof.Read(Span`1 destination)
        /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/Shake256.cs(216,0): at System.Security.Cryptography.Shake256.Read(Span`1 destination)
        /_/src/libraries/System.Security.Cryptography/tests/Shake256Tests.cs(24,0): at System.Security.Cryptography.Tests.Shake256Tests.Traits.Read(Shake256 shake, Span`1 destination)
           at System.Security.Cryptography.Tests.ShakeTestDriver`2.Read_MixedCloneAfterRead()

This issue is to track the disablement of the Shake Read/Squeeze tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions