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

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: add curlies and OpenSSLErrStackTracer 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
« no previous file with comments | « content/child/webcrypto/platform_crypto.h ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index c3331361ebb10c7c14d57986de98a53f51695dc4..cbebd0fc34bf9d4a284c1745e032a87a69bfa14f 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 HKDF's Derive Bits operation.
+ static Status ErrorHkdfDeriveBitsLengthNotSpecified();
+
private:
enum Type { TYPE_ERROR, TYPE_SUCCESS };
« no previous file with comments | « content/child/webcrypto/platform_crypto.h ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698