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

Unified Diff: content/child/webcrypto/openssl/util_openssl.h

Issue 491763002: [webcrypto] Implement AES-CTR using BoringSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master (moves unittest to its own file) Created 6 years, 4 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/openssl/aes_ctr_openssl.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/openssl/util_openssl.h
diff --git a/content/child/webcrypto/openssl/util_openssl.h b/content/child/webcrypto/openssl/util_openssl.h
index f8e558275ccf7886e4c8aac83c813440a492f185..49277fdedd49c6ef173ba8f76aa0a4879563410b 100644
--- a/content/child/webcrypto/openssl/util_openssl.h
+++ b/content/child/webcrypto/openssl/util_openssl.h
@@ -19,7 +19,9 @@ namespace webcrypto {
class CryptoData;
class Status;
-enum EncryptOrDecrypt { ENCRYPT, DECRYPT };
+// The values of these constants correspond with the "enc" parameter of
+// EVP_CipherInit_ex(), do not change.
+enum EncryptOrDecrypt { DECRYPT=0, ENCRYPT=1 };
const EVP_MD* GetDigest(blink::WebCryptoAlgorithmId id);
« no previous file with comments | « content/child/webcrypto/openssl/aes_ctr_openssl.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698