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

Unified 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: Add a patch file and document it in README.chromium. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | nss/lib/freebl/ctr.h » ('j') | nss/lib/freebl/ctr.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss.gyp
diff --git a/nss.gyp b/nss.gyp
index 9cc31bca3522538cecf45fb8b7bd2edd61e35b4c..f25145222f663fddfa33a4d6f897ee5647f5f608 100644
--- a/nss.gyp
+++ b/nss.gyp
@@ -581,6 +581,13 @@
'nss/lib/freebl/ecl/ec_naf.c',
'nss/lib/freebl/gcm.c',
'nss/lib/freebl/gcm.h',
+ 'nss/lib/freebl/intel-aes-x64-masm.asm',
+ 'nss/lib/freebl/intel-aes-x86-masm.asm',
+ 'nss/lib/freebl/intel-aes.h',
+ 'nss/lib/freebl/intel-gcm-wrap.c',
+ 'nss/lib/freebl/intel-gcm-x64-masm.asm',
+ 'nss/lib/freebl/intel-gcm-x86-masm.asm',
+ 'nss/lib/freebl/intel-gcm.h',
'nss/lib/freebl/hmacct.c',
'nss/lib/freebl/hmacct.h',
'nss/lib/freebl/jpake.c',
@@ -1089,6 +1096,8 @@
}],
['target_arch=="ia32"', {
'sources!': [
+ 'nss/lib/freebl/intel-aes-x64-masm.asm',
+ 'nss/lib/freebl/intel-gcm-x64-masm.asm',
'nss/lib/freebl/mpi/mpi_amd64.c',
],
}],
@@ -1162,7 +1171,13 @@
'MP_ASSEMBLY_DIV_2DX1D',
'MP_USE_UINT_DIGIT',
'MP_NO_MP_WORD',
+ 'USE_HW_AES',
],
+ 'msvs_settings': {
+ 'MASM': {
+ 'UseSafeExceptionHandlers': 'true',
+ },
+ },
}],
['target_arch=="x64"', {
'defines': [
@@ -1175,6 +1190,11 @@
'WIN64',
],
'sources!': [
+ 'nss/lib/freebl/intel-aes-x64-masm.asm',
+ 'nss/lib/freebl/intel-aes-x86-masm.asm',
+ 'nss/lib/freebl/intel-gcm-wrap.c',
+ 'nss/lib/freebl/intel-gcm-x64-masm.asm',
+ 'nss/lib/freebl/intel-aes-x86-masm.asm',
'nss/lib/freebl/mpi/mpi_amd64.c',
'nss/lib/freebl/mpi/mpi_x86_asm.c',
],
@@ -1182,6 +1202,11 @@
],
}, { # else: OS!="win"
'sources!': [
+ 'nss/lib/freebl/intel-aes-x64-masm.asm',
+ 'nss/lib/freebl/intel-aes-x86-masm.asm',
+ 'nss/lib/freebl/intel-gcm-wrap.c',
+ 'nss/lib/freebl/intel-gcm-x64-masm.asm',
+ 'nss/lib/freebl/intel-gcm-x86-masm.asm',
# mpi_x86_asm.c contains MSVC inline assembly code.
'nss/lib/freebl/mpi/mpi_x86_asm.c',
],
« no previous file with comments | « README.chromium ('k') | nss/lib/freebl/ctr.h » ('j') | nss/lib/freebl/ctr.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698