summaryrefslogtreecommitdiffstats
path: root/libmincrypt/tools
Commit message (Collapse)AuthorAgeFilesLines
* mincrypt: support SHA-256 hash algorithmDoug Zongker2013-04-101-11/+30
| | | | | | | | | | | | | | - 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
* remove unneeded importDoug Zongker2012-09-201-1/+0
| | | | | | | DumpPublicKey doesn't need a base64 encoder for anything; remove the import to avoid deprecation warnings. Change-Id: I7e01b9d77bb66bb99cb3357c886cc4e2e63de6ae
* support e=65537 for libmincrypt, DumpPublicKeyDoug Zongker2012-07-251-8/+29
| | | | | | | | 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
* make DumpPublicKeys write 32-bit values as unsignedDoug Zongker2010-01-291-2/+2
| | | | | | | | | | | | Write the 32-bit chunks of N and RR as unsigned, so we get: {64,0xc926ad21,{1795090719,2141396315,950055447,2581568430,4268923165,... instead of: {64,0xc926ad21,{1795090719,2141396315,950055447,-1713398866,-26044131,... Change-Id: I575224fd7f7c34e06a1b6ae976eaa0bef41d2942
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-0/+152
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-152/+0
|
* Initial ContributionThe Android Open Source Project2008-10-213-0/+152