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

Unified Diff: nss.gyp

Issue 27510015: Support ChaCha20+Poly1305 cipher suites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Fold long lines Created 7 years, 2 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 | « README.chromium ('k') | nss/lib/freebl/blapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss.gyp
===================================================================
--- nss.gyp (revision 228205)
+++ nss.gyp (working copy)
@@ -543,6 +543,11 @@
'nss/lib/freebl/build_config_mac.h',
'nss/lib/freebl/camellia.c',
'nss/lib/freebl/camellia.h',
+ 'nss/lib/freebl/chacha20/chacha20.c',
+ 'nss/lib/freebl/chacha20/chacha20.h',
+ 'nss/lib/freebl/chacha20/chacha20_vec.c',
+ 'nss/lib/freebl/chacha20poly1305.c',
+ 'nss/lib/freebl/chacha20poly1305.h',
'nss/lib/freebl/ctr.c',
'nss/lib/freebl/ctr.h',
'nss/lib/freebl/cts.c',
@@ -600,6 +605,9 @@
'nss/lib/freebl/mpi/mp_gf2m.c',
'nss/lib/freebl/mpi/mp_gf2m.h',
'nss/lib/freebl/mpi/primes.c',
+ 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c',
+ 'nss/lib/freebl/poly1305/poly1305.c',
+ 'nss/lib/freebl/poly1305/poly1305.h',
'nss/lib/freebl/pqg.c',
'nss/lib/freebl/pqg.h',
'nss/lib/freebl/rawhash.c',
@@ -1069,6 +1077,17 @@
'nss/lib/freebl/mpi/mpi_amd64.c',
],
}],
+ ['target_arch=="x64" and OS!="win"', {
+ 'sources!': [
+ 'nss/lib/freebl/chacha20/chacha20.c',
+ 'nss/lib/freebl/poly1305/poly1305.c',
+ ],
+ }, { # else: target_arch!="x64" or OS=="win"
+ 'sources!': [
+ 'nss/lib/freebl/chacha20/chacha20_vec.c',
+ 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c',
+ ],
+ }],
['OS=="mac" or OS=="ios"', {
'defines': [
'XP_UNIX',
« no previous file with comments | « README.chromium ('k') | nss/lib/freebl/blapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698