tls: make tls a little bit faster

Compile OpenSSL with inline assembly for big numbers
This commit is contained in:
Fedor Indutny 2012-07-03 15:30:53 -07:00
parent 3ea0397a1a
commit d923269e13

View File

@ -179,7 +179,6 @@
'openssl/crypto/bio/bss_null.c', 'openssl/crypto/bio/bss_null.c',
'openssl/crypto/bio/bss_sock.c', 'openssl/crypto/bio/bss_sock.c',
'openssl/crypto/bn/bn_add.c', 'openssl/crypto/bn/bn_add.c',
'openssl/crypto/bn/bn_asm.c',
'openssl/crypto/bn/bn_blind.c', 'openssl/crypto/bn/bn_blind.c',
'openssl/crypto/bn/bn_const.c', 'openssl/crypto/bn/bn_const.c',
'openssl/crypto/bn/bn_ctx.c', 'openssl/crypto/bn/bn_ctx.c',
@ -650,9 +649,15 @@
}], }],
['target_arch=="ia32"', { ['target_arch=="ia32"', {
'variables': {'openssl_config_path': 'config/piii'}, 'variables': {'openssl_config_path': 'config/piii'},
'sources': [
'openssl/crypto/bn/bn_asm.c',
]
}, { }, {
'variables': {'openssl_config_path': 'config/k8'}, 'variables': {'openssl_config_path': 'config/k8'},
}], 'sources': [
'openssl/crypto/bn/asm/x86_64-gcc.c',
]
}]
], ],
'include_dirs': [ 'include_dirs': [
'.', '.',