commit | 290e0788fbf994777407be7bb0781364db25c641 | [log] [tgz] |
---|---|---|
author | Gaurav Shah <gauravsh@google.com> | Fri Feb 05 14:37:30 2010 -0800 |
committer | Gaurav Shah <gauravsh@google.com> | Fri Feb 05 14:37:30 2010 -0800 |
tree | 9448e73e4a49ec896b8211417ea9006a1faa0969 | |
parent | e178fd9e34e613955310d77199235a1fa90b9885 [diff] |
Add generic wrappers for performing message digest operations. A DigestContext structure now wraps state for all the SHA* algorithms. Replaced the old SHA*_file functions to use these new wrappers. Also moved the digest utility functions from tests/ to crypto/. BUG=670 TEST=Modified existing tests to use the new wrappers and they pass. Review URL: http://codereview.chromium.org/579007