| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ib5a6e31b3a6dea39b45727a49356fa2838ea77bc
|
|
|
|
| |
Change-Id: I0487bd53fc946e1a488d7109eebd402d1ecc5a0a
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4b7d11c0915c716a0f1be65f5933f33a36e0fb4b
|
|
|
|
|
| |
Bug: 8734191
Change-Id: I82413505b32d5cdd2c4330c63d5f66e6b7e34634
|
|
|
|
|
|
|
|
| |
Make sure pages we use in the unit tests are read-only maps from
/dev/zero
Bug: 8736730
Change-Id: I15d816a8fd3dd7313277c9f5c44c4a102a899d03
|
|
|
|
| |
Change-Id: I7ec2861c079357b708cb6242f0171672afd55e02
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
|
|
This adds unit tests for implementors of the keymaster API. It can be
compiled and run as a stand-alone executable.
Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d
|