History log of /hardware/libhardware/tests/keymaster/keymaster_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1aa58f9ef95e0c15bd3e41bb987dd6d8f48aa978 16-Dec-2015 Andreas Gampe <agampe@google.com> Libhardware: Fix tests

Fix some warnings. Silence another. Less build noise.

Change-Id: Ibdbba093c2aca45343bfbe72c551b15d0f94e1b5
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
302d252f2c655b50a8d1223105a0742d456ce206 24-Feb-2015 Shawn Willden <swillden@google.com> Separate keymaster0 and keymaster1 HALs.

For now the keymaster1 HAL still includes all of the keymaster0 entry
points, and soft_keymaster_device will continue to implement them. In
the near future the keymaster0 entry points will be removed, as soon as
we can ensure that keystore no longer needs them.

Change-Id: I5c54282c12d1c4b8b22ed4929b6e6c724a94ede4
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
a4cef693679293528bcca4084709e0b62c7a2ac0 11-Sep-2013 Kenny Root <kroot@google.com> Use canonical UniquePtr.h header

Change-Id: I0487bd53fc946e1a488d7109eebd402d1ecc5a0a
/hardware/libhardware/tests/keymaster/keymaster_test.cpp
36ab8ed76fb751d8570d0323e6ece4c60f730703 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.

(cherry picked from commit c124b23f94a0a88e872253720c0e27594a9a9938)

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

Change-Id: I4b7d11c0915c716a0f1be65f5933f33a36e0fb4b
/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