Commit Graph

17 Commits

Author SHA1 Message Date
Treehugger Robot
6bb0136d22 Merge "Add owner to stable interfaces in /staging" into main 2024-07-22 17:23:58 +00:00
Devin Moore
7feef702ca Add owner to stable interfaces in /staging
This interface is in staging because it's not ready to become a fully
supported HAL interface. Without "owner", we expect it to be frozen
after API freeze.

Adding owner field to enable API Freeze tests in continuous integration.

Test: none
Bug: 331696132
Change-Id: If56371438f61b771d0024d3091bde19b5d1b3e8c
2024-07-18 22:48:39 +00:00
Weston Carvalho
d1366d6681 Remove Secure Storage AIDL tamper and A/B update
Remove tamper acknowledgement and A/B update write settings. This
also removes the need for a lot of the operation options parcelables.

Test: mmm hardware/interfaces/staging/security/see/storage/aidl/
Bug: 278779487
Change-Id: I003f960bc14e19661c7aabb581846c52156fc8b3
2024-07-02 11:44:13 -05:00
Orlando Arbildo
f84f70a7bd Add rust copy derivation annotation
Adding annotations to derive Copy for some AIDL
types.

Bug: 284152719
Test: qemu android build
Change-Id: I4bdfc4ada04d819075d8f43e01caf437e6a0bd1e
2024-05-31 16:53:24 +00:00
Orlando Arbildo
d52788fcfc Modifying HwKey::deriveKey parameter
Changing the providede opaque key policy type to a CBOR formatted
byte array.

Bug: 284152719
Test: qemu android build
Change-Id: I0933c69bbfa3eeee956465b34fc163ed9b638eba
2024-05-31 16:53:18 +00:00
Orlando Arbildo
89a16d0762 Add importClearKey function
Adding an importClearKey function to HWCryptoKey AIDL definition.

Bug: 284152719
Test: qemu android build
Change-Id: Ibe96fdad935ad030c5d07aa551a85fa91ac196b5
2024-04-19 02:14:26 +00:00
Orlando Arbildo
5fe91f4d09 Adding HW Crypto operations to IHwCryptoDeviceKeyAccess AIDL definition
Adding a IHwCryptoKey interface to IHwCryptoDeviceKeyAccess operate on
the generated device keys.

Bug: 284152719
Test: qemu android build
Change-Id: I1eee8c0fc36de4ad338945377373b28cb13756ff
2024-04-19 02:14:26 +00:00
Orlando Arbildo
287187f1d2 Add key parameter to deriveDicePolicyBoundKey
Adding a key parameter to deriveDicePolicyBoundKey to use it
as the base of the derived key.

Bug: 284152719
Test: qemu android build
Change-Id: Iab3ee341825f01345996bde3b0b62037e4ec45da
2024-04-09 22:53:21 +00:00
Orlando Arbildo
cfcdb0b4b9 Add deriveKey function
Adding a function to HWCryptoKey AIDL definition to derive a key given
another. This will be used with deriveDicePolicyBoundKey to create
device bound keys.

Bug: 284152719
Test: qemu android build
Change-Id: Ie1e8552846df73325c2428471ca007fca217b675
2024-04-08 19:55:39 +00:00
Orlando Arbildo
6a82aa921e deriveDicePolicyBoundKey AIDL definition
Adding deriveDicePolicyBoundKey function AIDL definition. It
will derive a new key based on a DICE policy

Bug: 284152719
Test: qemu android build
Change-Id: Ie9d5a1233b4aad07fe55cdc522de0cc057d3bec3
2024-04-08 19:55:37 +00:00
Orlando Arbildo
d0470df3e3 HWCrypto AES non-authenticated AIDL definitions
AIDL definitions for non-authenticated AES-based commands.

Bug: 284152719
Test: qemu android build
Change-Id: Id2319bd186358b085788a3d8c318b78e592a1518
2024-04-02 23:14:13 +00:00
Orlando Arbildo
2d9f5e9df9 Add OWNERS file
Adding an OWNERS file to the staging/security AIDL folders.

Bug: 284152719
Test: NA
Change-Id: I51838f772c4daf0a7da54c3fe0dd3c1d0edcd910
2024-04-02 19:51:49 +00:00
Orlando Arbildo
648d748e35 Merge "HWCrypto authenticated symmetric cryptography AIDL definitions" into main 2024-04-02 17:56:10 +00:00
Orlando Arbildo
b4e55bd84d Merge "HWCrypto base AIDL definitions" into main 2024-04-02 17:55:56 +00:00
Orlando Arbildo
0e5ffb776b HWCrypto authenticated symmetric cryptography AIDL definitions
AIDL definitions for authenticated symmetric commands.

Bug: 284152719
Test: qemu android build
Change-Id: Iab66449ad88c452f6d69e2e89ed230b9d4bf2fc0
2024-03-29 18:02:12 +00:00
Orlando Arbildo
5bc7a72132 HWCrypto base AIDL definitions
Base AIDL definitions for command processing interface. The entry point
to the interface is IHwCryptoOperations.aidl.

Bug: 284152719
Test: qemu android build
Change-Id: Id11b165dac07c9f73be30805f0d611a22fc5f3ff
2024-03-29 18:02:10 +00:00
Weston Carvalho
b8d8740cdf Create Secure Storage AIDL interface
Test: mmm hardware/interfaces/staging/security/see/storage/aidl/
Bug: 278779487
Change-Id: I1aceb7fffcd9e8b60228d232cf1b610a07754ac0
2024-02-14 11:38:58 -06:00