summaryrefslogtreecommitdiffstats
path: root/libmincrypt/sha.c
Commit message (Collapse)AuthorAgeFilesLines
* mincrypt: support SHA-256 hash algorithmDoug Zongker2013-04-101-190/+38
| | | | | | | | | | | | | | - adds a library to compute the SHA-256 hash - updates the RSA verifier to take an argument specifying either SHA-1 or SHA-256 - updates DumpPublicKey to with new "key" version numbers for specifying SHA-256 - adds new argument to adb auth code to maintain existing behavior Change-Id: I5b1406cf57c2b8993f6032eda3e29139f7740839
* only use faster SHA-1 code on machines with good libcDoug Zongker2009-08-211-6/+8
| | | | | Macs don't have byteswap.h or endian.h. Change conditionals to only use the faster SHA-1 code on little-endian machines with byteswap.h.
* add optimized SHA1 algorithmDoug Zongker2009-08-171-14/+177
| | | | | | | This optimized implementation of the SHA1 algorithm is about 28% faster than the old one (on sapphire hardware) but assumes little-endianness. Add it, but continue using the old implementation on big-endian hardware.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+142
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-142/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+142