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

Change-Id: I5b1406cf57c2b8993f6032eda3e29139f7740839
11 files changed
tree: 71837bdcc5c3ce65bb2543b4dd2cbe4fd850a44c
  1. include/
  2. tools/
  3. Android.mk
  4. NOTICE
  5. rsa.c
  6. rsa_e_3.c
  7. rsa_e_f4.c
  8. sha.c
  9. sha256.c