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

Unified Diff: content/child/webcrypto/status.h

Issue 803173010: Implement HKDF for webcrypto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index c3331361ebb10c7c14d57986de98a53f51695dc4..c802e8ee0b6d0dbda5bfc213da42e6fd25e80975 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -256,6 +256,12 @@ class CONTENT_EXPORT Status {
// The requested bit length for ECDH key derivation was too large.
static Status ErrorEcdhLengthTooBig(unsigned int max_length_bits);
+ // The requested length for HKDF was too large.
+ static Status ErrorHkdfLengthTooLong();
+
+ // No length parameter was provided for deriveBits in hkdf.
eroman 2015/01/07 00:23:43 nit: unclear what deriveBits references (as it is
nharper 2015/01/08 01:31:24 Done.
+ static Status ErrorHkdfDeriveBitsLengthNotSpecified();
+
private:
enum Type { TYPE_ERROR, TYPE_SUCCESS };

Powered by Google App Engine
This is Rietveld 408576698