commit | 23f45d228ce51a00d8c37868daf28947c25dd4ab | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Thu Dec 19 18:59:24 2019 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Thu Dec 19 18:59:24 2019 -0800 |
tree | c32a62460edd63d90ddab1943f8ffe370afd5205 | |
parent | 72f8dd3e98083d3db3da295d59d14445bb4b3d7e [diff] |
Don't padd the digest during hash computation There's no need to do that. Also check_block_hash() only allocates a buffer of digest_length_. Bug: 144388532 Test: unit tests pass Change-Id: Iec3209d260b51cb41905cc84ae86572bcb1cc130