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

Unified Diff: openssl/include/openssl/crypto.h

Issue 59083010: third_party/openssl: add ChaCha20+Poly1305 support. Base URL: https://chromium.googlesource.com/chromium/deps/openssl.git@master
Patch Set: Created 7 years, 1 month 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 | « openssl/include/openssl/chacha.h ('k') | openssl/include/openssl/evp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/include/openssl/crypto.h
diff --git a/openssl/include/openssl/crypto.h b/openssl/include/openssl/crypto.h
index f92fc5182d9e92f6488997db45d117f0cc1a40b2..e1ff7b7a7d119c8dd541a61198bd7b01d564fad2 100644
--- a/openssl/include/openssl/crypto.h
+++ b/openssl/include/openssl/crypto.h
@@ -414,6 +414,14 @@ void CRYPTO_cleanup_all_ex_data(void);
int CRYPTO_get_new_lockid(char *name);
+/* CRYPTO_set_NEON_capable enables any NEON (ARM vector) dependent code. This
+ * code should be called before any non-init functions. */
+void CRYPTO_set_NEON_capable(int on);
+
+/* CRYPTO_is_NEON_capable returns the last value given to
+ * CRYPTO_set_NEON_capable, or else zero if it has never been called. */
+int CRYPTO_is_NEON_capable();
+
int CRYPTO_num_locks(void); /* return CRYPTO_NUM_LOCKS (shared libs!) */
void CRYPTO_lock(int mode, int type,const char *file,int line);
void CRYPTO_set_locking_callback(void (*func)(int mode,int type,
« no previous file with comments | « openssl/include/openssl/chacha.h ('k') | openssl/include/openssl/evp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698