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

Side by Side 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: Make ChaCha20Poly1305 function conform to freebl API, undo changes to chacha20.c, use generic code … 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | nss/lib/freebl/blapi.h » ('j') | nss/lib/freebl/blapi.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['OS=="ios"', { 8 ['OS=="ios"', {
9 'exclude_nss_root_certs%': 0, 9 'exclude_nss_root_certs%': 0,
10 'exclude_nss_libpkix%': 0, 10 'exclude_nss_libpkix%': 0,
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 'nss/lib/freebl/alghmac.c', 536 'nss/lib/freebl/alghmac.c',
537 'nss/lib/freebl/alghmac.h', 537 'nss/lib/freebl/alghmac.h',
538 'nss/lib/freebl/arcfive.c', 538 'nss/lib/freebl/arcfive.c',
539 'nss/lib/freebl/arcfour.c', 539 'nss/lib/freebl/arcfour.c',
540 'nss/lib/freebl/blapi.h', 540 'nss/lib/freebl/blapi.h',
541 'nss/lib/freebl/blapii.h', 541 'nss/lib/freebl/blapii.h',
542 'nss/lib/freebl/blapit.h', 542 'nss/lib/freebl/blapit.h',
543 'nss/lib/freebl/build_config_mac.h', 543 'nss/lib/freebl/build_config_mac.h',
544 'nss/lib/freebl/camellia.c', 544 'nss/lib/freebl/camellia.c',
545 'nss/lib/freebl/camellia.h', 545 'nss/lib/freebl/camellia.h',
546 'nss/lib/freebl/chacha20/chacha20.c',
547 'nss/lib/freebl/chacha20/chacha20.h',
548 'nss/lib/freebl/chacha20/chacha20_vec.c',
549 'nss/lib/freebl/chacha20poly1305.c',
546 'nss/lib/freebl/ctr.c', 550 'nss/lib/freebl/ctr.c',
547 'nss/lib/freebl/ctr.h', 551 'nss/lib/freebl/ctr.h',
548 'nss/lib/freebl/cts.c', 552 'nss/lib/freebl/cts.c',
549 'nss/lib/freebl/cts.h', 553 'nss/lib/freebl/cts.h',
550 'nss/lib/freebl/des.c', 554 'nss/lib/freebl/des.c',
551 'nss/lib/freebl/des.h', 555 'nss/lib/freebl/des.h',
552 'nss/lib/freebl/desblapi.c', 556 'nss/lib/freebl/desblapi.c',
553 'nss/lib/freebl/dh.c', 557 'nss/lib/freebl/dh.c',
554 'nss/lib/freebl/drbg.c', 558 'nss/lib/freebl/drbg.c',
555 'nss/lib/freebl/dsa.c', 559 'nss/lib/freebl/dsa.c',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 'nss/lib/freebl/mpi/mpi_x86_asm.c', 597 'nss/lib/freebl/mpi/mpi_x86_asm.c',
594 'nss/lib/freebl/mpi/mplogic.c', 598 'nss/lib/freebl/mpi/mplogic.c',
595 'nss/lib/freebl/mpi/mplogic.h', 599 'nss/lib/freebl/mpi/mplogic.h',
596 'nss/lib/freebl/mpi/mpmontg.c', 600 'nss/lib/freebl/mpi/mpmontg.c',
597 'nss/lib/freebl/mpi/mpprime.c', 601 'nss/lib/freebl/mpi/mpprime.c',
598 'nss/lib/freebl/mpi/mpprime.h', 602 'nss/lib/freebl/mpi/mpprime.h',
599 'nss/lib/freebl/mpi/mp_gf2m-priv.h', 603 'nss/lib/freebl/mpi/mp_gf2m-priv.h',
600 'nss/lib/freebl/mpi/mp_gf2m.c', 604 'nss/lib/freebl/mpi/mp_gf2m.c',
601 'nss/lib/freebl/mpi/mp_gf2m.h', 605 'nss/lib/freebl/mpi/mp_gf2m.h',
602 'nss/lib/freebl/mpi/primes.c', 606 'nss/lib/freebl/mpi/primes.c',
607 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c',
608 'nss/lib/freebl/poly1305/poly1305.c',
609 'nss/lib/freebl/poly1305/poly1305.h',
603 'nss/lib/freebl/pqg.c', 610 'nss/lib/freebl/pqg.c',
604 'nss/lib/freebl/pqg.h', 611 'nss/lib/freebl/pqg.h',
605 'nss/lib/freebl/rawhash.c', 612 'nss/lib/freebl/rawhash.c',
606 'nss/lib/freebl/rijndael.c', 613 'nss/lib/freebl/rijndael.c',
607 'nss/lib/freebl/rijndael.h', 614 'nss/lib/freebl/rijndael.h',
608 'nss/lib/freebl/rijndael32.tab', 615 'nss/lib/freebl/rijndael32.tab',
609 'nss/lib/freebl/rsa.c', 616 'nss/lib/freebl/rsa.c',
610 'nss/lib/freebl/secmpi.h', 617 'nss/lib/freebl/secmpi.h',
611 'nss/lib/freebl/secrng.h', 618 'nss/lib/freebl/secrng.h',
612 'nss/lib/freebl/seed.c', 619 'nss/lib/freebl/seed.c',
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 ], 1069 ],
1063 'include_dirs/': [ 1070 'include_dirs/': [
1064 ['exclude', '^nss/lib/libpkix/'], 1071 ['exclude', '^nss/lib/libpkix/'],
1065 ], 1072 ],
1066 }], 1073 }],
1067 ['target_arch=="ia32"', { 1074 ['target_arch=="ia32"', {
1068 'sources!': [ 1075 'sources!': [
1069 'nss/lib/freebl/mpi/mpi_amd64.c', 1076 'nss/lib/freebl/mpi/mpi_amd64.c',
1070 ], 1077 ],
1071 }], 1078 }],
1079 ['target_arch=="x64" and OS!="win"', {
agl 2013/10/21 21:53:39 That's a shame :( What was the issue? I was hopin
wtc 2013/10/22 22:36:42 I described the issue in another file. In short, c
1080 'sources!': [
1081 'nss/lib/freebl/chacha20/chacha20.c',
1082 'nss/lib/freebl/poly1305/poly1305.c',
1083 ],
1084 }, { # else: target_arch!="x64" or OS=="win"
1085 'sources!': [
1086 'nss/lib/freebl/chacha20/chacha20_vec.c',
1087 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source. c',
1088 ],
1089 }],
1072 ['OS=="mac" or OS=="ios"', { 1090 ['OS=="mac" or OS=="ios"', {
1073 'defines': [ 1091 'defines': [
1074 'XP_UNIX', 1092 'XP_UNIX',
1075 'DARWIN', 1093 'DARWIN',
1076 'HAVE_STRERROR', 1094 'HAVE_STRERROR',
1077 'HAVE_BSD_FLOCK', 1095 'HAVE_BSD_FLOCK',
1078 'SHLIB_SUFFIX=\"dylib\"', 1096 'SHLIB_SUFFIX=\"dylib\"',
1079 'SHLIB_PREFIX=\"lib\"', 1097 'SHLIB_PREFIX=\"lib\"',
1080 'SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"', 1098 'SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"',
1081 ], 1099 ],
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 '-Wno-incompatible-pointer-types', 1190 '-Wno-incompatible-pointer-types',
1173 '-Wno-logical-op-parentheses', 1191 '-Wno-logical-op-parentheses',
1174 '-Wno-switch', 1192 '-Wno-switch',
1175 '-Wno-tautological-compare', 1193 '-Wno-tautological-compare',
1176 ], 1194 ],
1177 }], 1195 }],
1178 ], 1196 ],
1179 }, 1197 },
1180 ], 1198 ],
1181 } 1199 }
OLDNEW
« no previous file with comments | « no previous file | nss/lib/freebl/blapi.h » ('j') | nss/lib/freebl/blapi.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698