summaryrefslogtreecommitdiffstats
path: root/include/mincrypt
Commit message (Collapse)AuthorAgeFilesLines
* Add support for ECDSA P-256 with SHA256Kenny Root2013-10-097-21/+347
| | | | | | | This adds a small EC library that is capable of verifying a signature of SHA256 with ECDSA on the NIST P-256 curve. Change-Id: I2a16639c92a77e8e4783c47ffbc56676de56eb59
* mincrypt: support SHA-256 hash algorithmDoug Zongker2013-09-254-50/+87
| | | | | | | | | | | | | | | | - 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 (cherry picked from commit 515e1639ef0ab5e3149fafeffce826cf654d616f) Change-Id: Ib35643b3d864742e817ac6e725499b451e45afcf
* support e=65537 for libmincrypt, DumpPublicKeyDoug Zongker2012-07-251-5/+6
| | | | | | | | The output produced by DumpPublicKey now has a version tag on each line (ie, each key). The existing keys are retroactively dubbed "version 1", and we add a version 2 for 2048-bit e=65537 keys. Change-Id: I204ec615c8f2346670220a1aeb99269e4abd5f81
* only use faster SHA-1 code on machines with good libcDoug Zongker2009-08-211-2/+1
| | | | | 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-10/+18
| | | | | | | 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-032-0/+112
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-032-112/+0
|
* Initial ContributionThe Android Open Source Project2008-10-212-0/+112