Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5422)

Unified Diff: Source/modules/crypto/NormalizeAlgorithm.cpp

Issue 184453005: [webcrypto] Change HMAC key generation length from bytes to bits. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add rebased tests Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/crypto/generateKey-expected.txt ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/NormalizeAlgorithm.cpp
diff --git a/Source/modules/crypto/NormalizeAlgorithm.cpp b/Source/modules/crypto/NormalizeAlgorithm.cpp
index 5c4edcc6574598abb0f415f1dbb9aedb390bada2..631982fc24063882c7e44b3e4ab6df45a301dab4 100644
--- a/Source/modules/crypto/NormalizeAlgorithm.cpp
+++ b/Source/modules/crypto/NormalizeAlgorithm.cpp
@@ -477,7 +477,7 @@ bool parseHmacImportParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorit
//
// dictionary HmacKeyGenParams : Algorithm {
// AlgorithmIdentifier hash;
-// // The length (in bytes) of the key to generate. If unspecified, the
+// // The length (in bits) of the key to generate. If unspecified, the
// // recommended length will be used, which is the size of the associated hash function's block
// // size.
// unsigned long length;
« no previous file with comments | « LayoutTests/crypto/generateKey-expected.txt ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698