Introduce a new SHAKE hash wrapper in LibCrypto backed by OpenSSL. Wire cSHAKE128 and cSHAKE256 into WebCrypto. Note that cSHAKE with non-empty functionName or customization is currently rejected due to OpenSSL EVP limitations. This fixes WPT: WebCryptoAPI/digest/cshake.tentative.https.any.html
53 lines
No EOL
3.4 KiB
Text
53 lines
No EOL
3.4 KiB
Text
Harness status: OK
|
|
|
|
Found 48 tests
|
|
|
|
48 Pass
|
|
Pass cSHAKE128 with 0 bit output and empty source data
|
|
Pass cSHAKE128 with 0 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE128 with 0 bit output and short source data
|
|
Pass cSHAKE128 with 0 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE128 with 0 bit output and medium source data
|
|
Pass cSHAKE128 with 0 bit output and medium source data and altered buffer after call
|
|
Pass cSHAKE128 with 256 bit output and empty source data
|
|
Pass cSHAKE128 with 256 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE128 with 256 bit output and short source data
|
|
Pass cSHAKE128 with 256 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE128 with 256 bit output and medium source data
|
|
Pass cSHAKE128 with 256 bit output and medium source data and altered buffer after call
|
|
Pass cSHAKE128 with 384 bit output and empty source data
|
|
Pass cSHAKE128 with 384 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE128 with 384 bit output and short source data
|
|
Pass cSHAKE128 with 384 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE128 with 384 bit output and medium source data
|
|
Pass cSHAKE128 with 384 bit output and medium source data and altered buffer after call
|
|
Pass cSHAKE128 with 512 bit output and empty source data
|
|
Pass cSHAKE128 with 512 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE128 with 512 bit output and short source data
|
|
Pass cSHAKE128 with 512 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE128 with 512 bit output and medium source data
|
|
Pass cSHAKE128 with 512 bit output and medium source data and altered buffer after call
|
|
Pass cSHAKE256 with 0 bit output and empty source data
|
|
Pass cSHAKE256 with 0 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE256 with 0 bit output and short source data
|
|
Pass cSHAKE256 with 0 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE256 with 0 bit output and medium source data
|
|
Pass cSHAKE256 with 0 bit output and medium source data and altered buffer after call
|
|
Pass cSHAKE256 with 256 bit output and empty source data
|
|
Pass cSHAKE256 with 256 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE256 with 256 bit output and short source data
|
|
Pass cSHAKE256 with 256 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE256 with 256 bit output and medium source data
|
|
Pass cSHAKE256 with 256 bit output and medium source data and altered buffer after call
|
|
Pass cSHAKE256 with 384 bit output and empty source data
|
|
Pass cSHAKE256 with 384 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE256 with 384 bit output and short source data
|
|
Pass cSHAKE256 with 384 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE256 with 384 bit output and medium source data
|
|
Pass cSHAKE256 with 384 bit output and medium source data and altered buffer after call
|
|
Pass cSHAKE256 with 512 bit output and empty source data
|
|
Pass cSHAKE256 with 512 bit output and empty source data and altered buffer after call
|
|
Pass cSHAKE256 with 512 bit output and short source data
|
|
Pass cSHAKE256 with 512 bit output and short source data and altered buffer after call
|
|
Pass cSHAKE256 with 512 bit output and medium source data
|
|
Pass cSHAKE256 with 512 bit output and medium source data and altered buffer after call |