Index: third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html |
diff --git a/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html b/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html |
index a6d11fafd959f1105364548505e99d35f29e43bf..d4afc5166b4bce3ec5c76194813ecc897894b871 100644 |
--- a/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html |
+++ b/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html |
@@ -36,15 +36,13 @@ Promise.resolve(null).then(function(result) { |
shouldBe("derivedBits.byteLength", "0"); |
- debug("Derive 4 bits from the HKDF key"); |
- return crypto.subtle.deriveBits(kHkdfAlgorithm, baseKey, 4); |
+ debug("Derive 8 bits from the HKDF key"); |
+ return crypto.subtle.deriveBits(kHkdfAlgorithm, baseKey, 8); |
}).then(function(result) { |
derivedBits = new DataView(result); |
shouldBe("derivedBits.byteLength", "1"); |
- // The last 4 bits should be zeroes. |
- shouldBe("derivedBits.getUint8(0)", "0x80"); |
- |
+ shouldBe("derivedBits.getUint8(0)", "141"); |
}).then(finishJSTest, failAndFinishJSTest); |
</script> |