commit | 7e8a826ee53af4b7a448fb339b446d13220145c4 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Fri Mar 18 15:01:39 2016 -0700 |
committer | Kenny Root <kroot@google.com> | Fri Mar 18 15:05:53 2016 -0700 |
tree | df94fceca6edf3276e869d94aa0bf141ec32b1c9 | |
parent | 538e90277efd37c0c127603552b3535e60d70c0a [diff] |
Prefer AES when hardware acceleration is available ChaCha20-Poly1305 is more efficient in software, but many modern CPUs have acceleration for AES which makes AES-GCM the more preferable choice in terms of throughput and battery consumption (i.e., less CPU cycles per byte). Bug: 26945889 Change-Id: I2b5fac1b8f1efec77fd8d847643d71902eb943e3