commit | 31ebde9e5e7573f70e132e63abf65036688b46ec | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Thu Jul 31 12:16:48 2014 -0700 |
committer | Adam Langley <agl@google.com> | Thu Jul 31 22:42:15 2014 +0000 |
tree | 60ebe30b2bb4489272f8ae7e5205743af831ea69 | |
parent | eb7d2ed1fe8a33b3e3871502ba7e12efaf94360c [diff] |
Add a control to disable the Poly1305 NEON code. Some phones have a buggy NEON unit and the Poly1305 NEON code fails on them, even though other NEON code appears to work fine. This change: 1) Fixes a bug where NEON was assumed even when the code wasn't compiled in NEON mode. 2) Adds a second NEON control bit that can be disabled in order to run NEON code, but not the Poly1305 NEON code. https://code.google.com/p/chromium/issues/detail?id=341598 Change-Id: Icb121bf8dba47c7a46c7667f676ff7a4bc973625 Reviewed-on: https://boringssl-review.googlesource.com/1351 Reviewed-by: Adam Langley <agl@google.com>