mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
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
17 lines
514 B
HTML
17 lines
514 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<title>WebCryptoAPI: digest() cSHAKE algorithms</title>
|
|
<meta name="timeout" content="long">
|
|
<script>
|
|
self.GLOBAL = {
|
|
isWindow: function() { return true; },
|
|
isWorker: function() { return false; },
|
|
isShadowRealm: function() { return false; },
|
|
};
|
|
</script>
|
|
<script src="../../resources/testharness.js"></script>
|
|
<script src="../../resources/testharnessreport.js"></script>
|
|
|
|
<div id=log></div>
|
|
<script src="../../WebCryptoAPI/digest/cshake.tentative.https.any.js"></script>
|