summaryrefslogtreecommitdiffstats
path: root/tests/keymaster
Commit message (Collapse)AuthorAgeFilesLines
* Separate keymaster0 and keymaster1 HALs.Shawn Willden2015-02-251-8/+8
| | | | | | | | | 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
* Remove superfluous OpenSSL include paths.Adam Langley2015-01-221-3/+0
| | | | | | | | The libcrypto and libssl modules (and their respective static and host versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module is sufficient. Change-Id: I9030a3747b8a1f18acd0308746cb2f63d4123f8b
* Don't manually link stlport.Dan Albert2014-09-261-11/+2
| | | | Change-Id: Ib5a6e31b3a6dea39b45727a49356fa2838ea77bc
* Use canonical UniquePtr.h headerKenny Root2013-09-111-1/+2
| | | | Change-Id: I0487bd53fc946e1a488d7109eebd402d1ecc5a0a
* keymaster: use new version fields in hw_moduleKenny Root2013-09-101-1/+1
| | | | | | | | | | | | 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
* Add support for DSA and ECDSA key typesKenny Root2013-09-031-38/+340
| | | | Change-Id: I4b7d11c0915c716a0f1be65f5933f33a36e0fb4b
* Add larger RSA key sizesBrian Carlstrom2013-05-141-1/+1
| | | | | Bug: 8734191 Change-Id: I82413505b32d5cdd2c4330c63d5f66e6b7e34634
* keymaster_test: simulate binder pagesKenny Root2013-04-271-30/+160
| | | | | | | | Make sure pages we use in the unit tests are read-only maps from /dev/zero Bug: 8736730 Change-Id: I15d816a8fd3dd7313277c9f5c44c4a102a899d03
* All tests should fail immediate to avoid SEGVKenny Root2012-12-041-31/+31
| | | | Change-Id: I7ec2861c079357b708cb6242f0171672afd55e02
* Enhance keymaster testsKenny Root2012-08-092-37/+97
| | | | | | | | | | | | | | 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
* Add delete_all to keymaster APIKenny Root2012-03-261-0/+39
| | | | | | | | 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
* Use frameworks/native copy of UniquePtr.hKenny Root2012-03-222-2/+1
| | | | Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
* Add tests for keymaster APIKenny Root2012-03-192-0/+784
This adds unit tests for implementors of the keymaster API. It can be compiled and run as a stand-alone executable. Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d