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

Side by Side Diff: nss.gyp

Issue 214183004: Implement AES in different modes of operation, using AES-NI and (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Remove an assertion. ctr->cipher doesn't set *outlen. Created 6 years, 8 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
« no previous file with comments | « README.chromium ('k') | nss/lib/freebl/ctr.h » ('j') | no next file with comments »
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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 'nss/lib/freebl/ecl/ecp_256_32.c', 574 'nss/lib/freebl/ecl/ecp_256_32.c',
575 'nss/lib/freebl/ecl/ecp_384.c', 575 'nss/lib/freebl/ecl/ecp_384.c',
576 'nss/lib/freebl/ecl/ecp_521.c', 576 'nss/lib/freebl/ecl/ecp_521.c',
577 'nss/lib/freebl/ecl/ecp_aff.c', 577 'nss/lib/freebl/ecl/ecp_aff.c',
578 'nss/lib/freebl/ecl/ecp_jac.c', 578 'nss/lib/freebl/ecl/ecp_jac.c',
579 'nss/lib/freebl/ecl/ecp_jm.c', 579 'nss/lib/freebl/ecl/ecp_jm.c',
580 'nss/lib/freebl/ecl/ecp_mont.c', 580 'nss/lib/freebl/ecl/ecp_mont.c',
581 'nss/lib/freebl/ecl/ec_naf.c', 581 'nss/lib/freebl/ecl/ec_naf.c',
582 'nss/lib/freebl/gcm.c', 582 'nss/lib/freebl/gcm.c',
583 'nss/lib/freebl/gcm.h', 583 'nss/lib/freebl/gcm.h',
584 'nss/lib/freebl/intel-aes-x64-masm.asm',
585 'nss/lib/freebl/intel-aes-x86-masm.asm',
586 'nss/lib/freebl/intel-aes.h',
587 'nss/lib/freebl/intel-gcm-wrap.c',
588 'nss/lib/freebl/intel-gcm-x64-masm.asm',
589 'nss/lib/freebl/intel-gcm-x86-masm.asm',
590 'nss/lib/freebl/intel-gcm.h',
584 'nss/lib/freebl/hmacct.c', 591 'nss/lib/freebl/hmacct.c',
585 'nss/lib/freebl/hmacct.h', 592 'nss/lib/freebl/hmacct.h',
586 'nss/lib/freebl/jpake.c', 593 'nss/lib/freebl/jpake.c',
587 'nss/lib/freebl/md2.c', 594 'nss/lib/freebl/md2.c',
588 'nss/lib/freebl/md5.c', 595 'nss/lib/freebl/md5.c',
589 'nss/lib/freebl/mpi/logtab.h', 596 'nss/lib/freebl/mpi/logtab.h',
590 'nss/lib/freebl/mpi/mpcpucache.c', 597 'nss/lib/freebl/mpi/mpcpucache.c',
591 'nss/lib/freebl/mpi/mpi-config.h', 598 'nss/lib/freebl/mpi/mpi-config.h',
592 'nss/lib/freebl/mpi/mpi-priv.h', 599 'nss/lib/freebl/mpi/mpi-priv.h',
593 'nss/lib/freebl/mpi/mpi.c', 600 'nss/lib/freebl/mpi/mpi.c',
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c', 1089 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c',
1083 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h', 1090 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h',
1084 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c', 1091 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c',
1085 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h', 1092 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h',
1086 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h', 1093 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h',
1087 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c', 1094 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c',
1088 ], 1095 ],
1089 }], 1096 }],
1090 ['target_arch=="ia32"', { 1097 ['target_arch=="ia32"', {
1091 'sources!': [ 1098 'sources!': [
1099 'nss/lib/freebl/intel-aes-x64-masm.asm',
1100 'nss/lib/freebl/intel-gcm-x64-masm.asm',
1092 'nss/lib/freebl/mpi/mpi_amd64.c', 1101 'nss/lib/freebl/mpi/mpi_amd64.c',
1093 ], 1102 ],
1094 }], 1103 }],
1095 ['target_arch=="x64" and OS!="win"', { 1104 ['target_arch=="x64" and OS!="win"', {
1096 'sources!': [ 1105 'sources!': [
1097 'nss/lib/freebl/chacha20/chacha20.c', 1106 'nss/lib/freebl/chacha20/chacha20.c',
1098 'nss/lib/freebl/poly1305/poly1305.c', 1107 'nss/lib/freebl/poly1305/poly1305.c',
1099 ], 1108 ],
1100 }, { # else: target_arch!="x64" or OS=="win" 1109 }, { # else: target_arch!="x64" or OS=="win"
1101 'sources!': [ 1110 'sources!': [
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 ['target_arch=="ia32"', { 1164 ['target_arch=="ia32"', {
1156 'defines': [ 1165 'defines': [
1157 'NSS_X86_OR_X64', 1166 'NSS_X86_OR_X64',
1158 'NSS_X86', 1167 'NSS_X86',
1159 '_X86_', 1168 '_X86_',
1160 'MP_ASSEMBLY_MULTIPLY', 1169 'MP_ASSEMBLY_MULTIPLY',
1161 'MP_ASSEMBLY_SQUARE', 1170 'MP_ASSEMBLY_SQUARE',
1162 'MP_ASSEMBLY_DIV_2DX1D', 1171 'MP_ASSEMBLY_DIV_2DX1D',
1163 'MP_USE_UINT_DIGIT', 1172 'MP_USE_UINT_DIGIT',
1164 'MP_NO_MP_WORD', 1173 'MP_NO_MP_WORD',
1174 'USE_HW_AES',
1165 ], 1175 ],
1176 'msvs_settings': {
1177 'MASM': {
1178 'UseSafeExceptionHandlers': 'true',
1179 },
1180 },
1166 }], 1181 }],
1167 ['target_arch=="x64"', { 1182 ['target_arch=="x64"', {
1168 'defines': [ 1183 'defines': [
1169 'NSS_USE_64', 1184 'NSS_USE_64',
1170 'NSS_X86_OR_X64', 1185 'NSS_X86_OR_X64',
1171 'NSS_X64', 1186 'NSS_X64',
1172 '_AMD64_', 1187 '_AMD64_',
1173 'MP_CHAR_STORE_SLOW', 1188 'MP_CHAR_STORE_SLOW',
1174 'MP_IS_LITTLE_ENDIAN', 1189 'MP_IS_LITTLE_ENDIAN',
1175 'WIN64', 1190 'WIN64',
1176 ], 1191 ],
1177 'sources!': [ 1192 'sources!': [
1193 'nss/lib/freebl/intel-aes-x64-masm.asm',
1194 'nss/lib/freebl/intel-aes-x86-masm.asm',
1195 'nss/lib/freebl/intel-gcm-wrap.c',
1196 'nss/lib/freebl/intel-gcm-x64-masm.asm',
1197 'nss/lib/freebl/intel-aes-x86-masm.asm',
1178 'nss/lib/freebl/mpi/mpi_amd64.c', 1198 'nss/lib/freebl/mpi/mpi_amd64.c',
1179 'nss/lib/freebl/mpi/mpi_x86_asm.c', 1199 'nss/lib/freebl/mpi/mpi_x86_asm.c',
1180 ], 1200 ],
1181 }], 1201 }],
1182 ], 1202 ],
1183 }, { # else: OS!="win" 1203 }, { # else: OS!="win"
1184 'sources!': [ 1204 'sources!': [
1205 'nss/lib/freebl/intel-aes-x64-masm.asm',
1206 'nss/lib/freebl/intel-aes-x86-masm.asm',
1207 'nss/lib/freebl/intel-gcm-wrap.c',
1208 'nss/lib/freebl/intel-gcm-x64-masm.asm',
1209 'nss/lib/freebl/intel-gcm-x86-masm.asm',
1185 # mpi_x86_asm.c contains MSVC inline assembly code. 1210 # mpi_x86_asm.c contains MSVC inline assembly code.
1186 'nss/lib/freebl/mpi/mpi_x86_asm.c', 1211 'nss/lib/freebl/mpi/mpi_x86_asm.c',
1187 ], 1212 ],
1188 }], 1213 }],
1189 ['clang==1', { 1214 ['clang==1', {
1190 'xcode_settings': { 1215 'xcode_settings': {
1191 'WARNING_CFLAGS': [ 1216 'WARNING_CFLAGS': [
1192 # nss doesn't explicitly cast between different enum types. 1217 # nss doesn't explicitly cast between different enum types.
1193 '-Wno-conversion', 1218 '-Wno-conversion',
1194 # nss passes "const char*" through "void*". 1219 # nss passes "const char*" through "void*".
(...skipping 11 matching lines...) Expand all
1206 '-Wno-incompatible-pointer-types', 1231 '-Wno-incompatible-pointer-types',
1207 '-Wno-logical-op-parentheses', 1232 '-Wno-logical-op-parentheses',
1208 '-Wno-switch', 1233 '-Wno-switch',
1209 '-Wno-tautological-compare', 1234 '-Wno-tautological-compare',
1210 ], 1235 ],
1211 }], 1236 }],
1212 ], 1237 ],
1213 }, 1238 },
1214 ], 1239 ],
1215 } 1240 }
OLDNEW
« no previous file with comments | « README.chromium ('k') | nss/lib/freebl/ctr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698