summaryrefslogtreecommitdiffstats
path: root/libmincrypt/rsa.c
Commit message (Collapse)AuthorAgeFilesLines
* mincrypt: merge the two RSA verifiersDoug Zongker2013-09-251-15/+266
| | | | | | | | | The e=3 and e=65537 implementations are nearly identical, refactor them down into one. (cherry picked from commit 8fdbf97652b76b19b4faff522ddcf4a9da543a86) Change-Id: I9f858204d52a0ae880170d955bf8f29fed57ee94
* mincrypt: support SHA-256 hash algorithmDoug Zongker2013-09-251-5/+8
| | | | | | | | | | | | | | | | - 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-166/+22
| | | | | | | | 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
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+198
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-198/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+198