History log of /hardware/libhardware/tests/keymaster/keymaster_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c124b23f94a0a88e872253720c0e27594a9a9938 05-Sep-2013 Kenny Root <kroot@google.com> keymaster: use new version fields in hw_module

The original version of this HAL used a field in keymaster_module to
represent the module's version number, but a later revision of the HAL
interface added a distinguisher between HAL module and device versions.
This is needed to support upgrade code in keystore.

Bug: 10600582
Change-Id: Ied34cf382e2b7725e648faada00df2dee993e6c5
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
2541a0a8f7a2c86658d435efb49843a88b4d97e0 19-Aug-2013 Kenny Root <kroot@google.com> Add support for DSA and ECDSA key types

(cherry picked from commit 6e1683f5d508a4c1ff761a9a3508619ac5ac6ed7)

Bug: 10600582
Change-Id: I8e5b66baa70b37031198260853bb5355df75e23d
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
63b64337fbaa10b282f85a7e887b40ced6d6d632 15-May-2013 Brian Carlstrom <bdc@google.com> Add larger RSA key sizes

Bug: 8734191
Change-Id: I82413505b32d5cdd2c4330c63d5f66e6b7e34634
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
eca8b3cdf0f906062285d03a0d08e3104625df94 27-Apr-2013 Kenny Root <kroot@google.com> keymaster_test: simulate binder pages

Make sure pages we use in the unit tests are read-only maps from
/dev/zero

Bug: 8736730
Change-Id: I15d816a8fd3dd7313277c9f5c44c4a102a899d03
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
139d44f26d21f9943c473aa1391ce419c5bd442a 20-Nov-2012 Kenny Root <kroot@google.com> All tests should fail immediate to avoid SEGV

Change-Id: I7ec2861c079357b708cb6242f0171672afd55e02
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
8467a6d2918274295212d07fc6e3894f6bc5d623 09-Aug-2012 Kenny Root <kroot@google.com> Enhance keymaster tests

Check the key values of successful attempts.

For imported keys, the key values should match the
input values when they're returned.

For generated keys, the modulus size should be correct and the public
exponent should be correct.

Bug: 6736252
Bug: http://code.google.com/p/android/issues/detail?id=34212
Change-Id: I37ed97d36ebfbe4301b43426129928bcb53c39f8
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
8ae65e71996ce871cda97cc9114cb5211cb273bf 24-Mar-2012 Kenny Root <kroot@google.com> Add delete_all to keymaster API

In order to aid keymasters erase their memory efficiently, introduce new
delete_all API to tell keymasters to forget everything. This will be
triggered when keystore itself is told to reset.

Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
caf62bd7fb288be42d207d88d1fd282de79aa085 23-Mar-2012 Kenny Root <kroot@google.com> Use frameworks/native copy of UniquePtr.h

Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
4fd0db7cd15dc01d27d928feb5c7122c908fc70c 16-Mar-2012 Kenny Root <kroot@google.com> Add tests for keymaster API

This adds unit tests for implementors of the keymaster API. It can be
compiled and run as a stand-alone executable.

Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d
/hardware/libhardware/tests/keymaster/keymaster_test.cpp