History log of /system/keymaster/rsa_keymaster1_key.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5ab8b0d1c88812cdf1062e98ec641471268fa8f9 25-Jan-2017 Frank Salim <franksalim@google.com> Revert "Change related cpp files to set correct usages for the new type"

This reverts commit e87053b63d742c234ca4164976394efd3acd0703.

Reason for revert: Remove partial support for wrapped key import

Change-Id: I0f762a7299610dfc820be79ee0180563407458ad
/system/keymaster/rsa_keymaster1_key.cpp
e87053b63d742c234ca4164976394efd3acd0703 04-Jan-2017 Crystal Qin <crystalyq@google.com> Change related cpp files to set correct usages for the new type
KW_PURPOSE_WRAP_KEY.

Test: There will be a CTS test CL submitted together.
Change-Id: I3de66e7ab90d8da19c45c797a6fe8882f7e6a724
/system/keymaster/rsa_keymaster1_key.cpp
d4c83db6b3bbb83985715fa88fcec580594c1c9c 22-Dec-2015 Shawn Willden <swillden@google.com> Update to track keymaster2 changes to keymaster_defs.h.

Change-Id: Idfa0ef92119317794921e1bf5089a153bcbf71ca
/system/keymaster/rsa_keymaster1_key.cpp
4fc15704d86aab977c2bdbb14345a2c417be2bab 23-Oct-2015 Shawn Willden <swillden@google.com> Remove unused variables.

Change-Id: Ib6adb9242ed8060d6182501784c249c2cd4926f6
/system/keymaster/rsa_keymaster1_key.cpp
d599b15c0693950bdc72fb867872044fdc484ef5 28-Jul-2015 Shawn Willden <swillden@google.com> Do digesting, and sometimes padding, in SW when HW doesnt.

The keymaster1 specification only requires HW modules to implement
SHA256 out of the list of keymaster1 digest modes. That would force
many keys to be software only, and would break legacy scenarios. This
change uses SoftKeymasterDevice to front keymaster modules that don't
implement the full suite of digests, quietly inserting KM_DIGEST_NONE
and KM_PAD_NONE into key generation/import requests when necessary, then
performing the digesting, and sometimes padding, in software, then
delegating crypto operations to the hardware.

This is only done for RSA and EC keys. Software digesting isn't
possible for HMAC or AES-GCM keys.

Note that this is not the complete fix for the bug. Some changes in
keystore are also required, coming in another CL.

Bug: 22529223
Change-Id: I740572eb11341fb0659085309da01d5cbcd3854d
/system/keymaster/rsa_keymaster1_key.cpp