commit | 9f7eb12e8ddb38c681691b7e954ff525560d8728 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Mar 03 23:44:27 2016 -0800 |
committer | The Android Automerger <android-build@google.com> | Mon Mar 07 16:53:39 2016 -0800 |
tree | 0e895f86289774547990eea8faf0360d928bf95e | |
parent | e9b7d66da4dbc14ccd44e544ab8c88c9947cca14 [diff] |
Fix unaligned access in hash data. The old code didn't quite do the unaligned access properly. It still treated the pointer as a uint32_t* or a uint64_t*. This fixes the problem and allows the chk and hash unit tests to pass on arm. Bug: 27408522 (cherry picked from commit a7578105e71701208cb169d0732f37dc6c004ac2) Change-Id: Iffcec6278bb48f10dd29ad3d18749fab7f305489