History log of /system/core/libmincrypt/tools/DumpPublicKey.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
db0850c3b637faaa7cbe1bab2e6c91ad2af35426 08-Oct-2013 Kenny Root <kroot@google.com> Add support for ECDSA P-256 with SHA256

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
/system/core/libmincrypt/tools/DumpPublicKey.java
8e5b63d045e988f13d1ee9b7797db28fde15bbfc 10-Apr-2013 Doug Zongker <dougz@android.com> mincrypt: support SHA-256 hash algorithm

- 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
/system/core/libmincrypt/tools/DumpPublicKey.java
ede5cf6533387a02b4a726cf577bfcb22374ad9a 21-Sep-2012 Doug Zongker <dougz@google.com> remove unneeded import

DumpPublicKey doesn't need a base64 encoder for anything; remove the
import to avoid deprecation warnings.

Change-Id: I7e01b9d77bb66bb99cb3357c886cc4e2e63de6ae
/system/core/libmincrypt/tools/DumpPublicKey.java
35d9ad5ae72de846967b91aed97060f0e8558661 25-Jul-2012 Doug Zongker <dougz@android.com> support e=65537 for libmincrypt, DumpPublicKey

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
/system/core/libmincrypt/tools/DumpPublicKey.java
5e12d739c6b86b79d761f45a1c0399e0d42d1cb5 29-Jan-2010 Doug Zongker <dougz@android.com> make DumpPublicKeys write 32-bit values as unsigned

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
/system/core/libmincrypt/tools/DumpPublicKey.java
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libmincrypt/tools/DumpPublicKey.java
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libmincrypt/tools/DumpPublicKey.java
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/libmincrypt/tools/DumpPublicKey.java