Skip to content

Commit

Permalink
Bug 1670839 - Use ARM crypto extension for AES, SHA1 and SHA2 on mac.…
Browse files Browse the repository at this point in the history
… r=kjacobs

AFAICT, the Makefile equivalent already does.

Differential Revision: https://phabricator.services.mozilla.com/D93304

--HG--
extra : moz-landing-system : lando
  • Loading branch information
glandium committed Oct 13, 2020
1 parent 6705b31 commit ae8173f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/freebl/freebl.gyp
Expand Up @@ -639,17 +639,17 @@
},
},
}],
[ 'OS=="win" and (target_arch=="arm64" or target_arch=="aarch64") and disable_arm_hw_aes==0', {
[ '(OS=="win" or OS=="mac" or OS=="ios") and (target_arch=="arm64" or target_arch=="aarch64") and disable_arm_hw_aes==0', {
'defines': [
'USE_HW_AES',
],
}],
[ 'OS=="win" and (target_arch=="arm64" or target_arch=="aarch64") and disable_arm_hw_sha1==0', {
[ '(OS=="win" or OS=="mac" or OS=="ios") and (target_arch=="arm64" or target_arch=="aarch64") and disable_arm_hw_sha1==0', {
'defines': [
'USE_HW_SHA1',
],
}],
[ 'OS=="win" and (target_arch=="arm64" or target_arch=="aarch64") and disable_arm_hw_sha2==0', {
[ '(OS=="win" or OS=="mac" or OS=="ios") and (target_arch=="arm64" or target_arch=="aarch64") and disable_arm_hw_sha2==0', {
'defines': [
'USE_HW_SHA2',
],
Expand Down

0 comments on commit ae8173f

Please sign in to comment.