commit | 8e504daef6c56081dccf05835d40753b366aceb5 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Mar 03 23:44:27 2016 -0800 |
committer | Christopher Ferris <cferris@google.com> | Mon Mar 07 11:12:07 2016 -0800 |
tree | 5d88b40f8957fa9c1cc5889eb423f3a08978f2d1 | |
parent | 54d4dfa33617e5df0d02b8b6135a64312fba9fe0 [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