Commit Graph

25 Commits

Author SHA1 Message Date
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
Treehugger Robot
ba3c28f471 Merge "Add OWNERS files to support dirs" into main am: ab20a682ca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747142

Change-Id: Icafea03bdb30c02fcc90f44d24fe29dd04c7e0ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-13 19:39:24 +00:00
Devin Moore
a13506d7cf Add OWNERS files to support dirs
These aren't HALs and don't really have owners, but adding the OWNERS
files here to be explicit and stick to the pattern used in all the other
subdirectories.

Test: none
Bug: 296950573
Change-Id: I7cd157c79965ca40eec9bfe80d3c8dfa4c460d58
2023-09-11 17:03:06 +00:00
Zhanglong Xia
1f6989f59f remove the Thread Network HAL from the stage folder
The Thread Network HAL is going to be added to the AOSP. The
implementation of the Thread Network HAL under the staging
folder is no longer needed. This commit removes the unstable
Thread Network HAL.

Bug: 283905423
Test: Build
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b044d98115f19fa6d1e430fd6065a372153f8680)
Merged-In: I7e4bf260c03dd0500725fec068747e3b3d05820c
Change-Id: I7e4bf260c03dd0500725fec068747e3b3d05820c
2023-06-09 09:52:19 +00:00
Treehugger Robot
a38827edec Merge "Revert "android.hardware.media.c2: Move to staging/"" into udc-dev-plus-aosp 2023-06-07 21:26:26 +00:00
Zhanglong Xia
15a39d0db5 Replace the function 'OnRcpReset()' with 'HardwareReset()'
The lastest OpenThread source code has removed the function 'OnRcpReset()'
and added the function 'HardwareReset()'. This CL replaces the function
'OnRcpReset()' with 'HardwareReset()'.

Bug: b/281629567
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fc01bfdd2867bbcf82de8f930004928a01020e1a)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8baa50b00705bd482d5b18639f831c71ca200db4)
Merged-In: I9e77970903656e7c7b66078fb5a380f6630d639b
Change-Id: I9e77970903656e7c7b66078fb5a380f6630d639b
2023-06-03 23:35:42 +00:00
Sungtak Lee
e739e842ba Revert "android.hardware.media.c2: Move to staging/"
This reverts commit a8c9aa3173.

Bug: 254050314
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7afc209eb8b1f1d54208c601cb458f95712b1e2f)
Merged-In: Ia85af4e013529e104c84bc48f84a5daa89a5d9bf
Change-Id: Ia85af4e013529e104c84bc48f84a5daa89a5d9bf
2023-06-02 21:53:01 +00:00
Bob Badour
d188307276 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  staging/threadnetwork/aidl/Android.bp
  staging/threadnetwork/aidl/default/Android.bp
  staging/threadnetwork/aidl/vts/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id34f9d4cc3644af01703ade72a286ae5e0f0da66
2023-02-23 08:56:44 -08:00
Sungtak Lee
129a8dff28 Merge "android.hardware.media.c2: Move to staging/" 2023-02-16 17:12:31 +00:00
Sungtak Lee
a8c9aa3173 android.hardware.media.c2: Move to staging/
Bug: 254050314
Test: m
Change-Id: I4bc2c0b59453240f0638ccaa2f911ec8423e930d
2023-02-16 00:53:02 +00:00
Zhanglong Xia
f7684fb69d Add Thread network HAL
Bug: b/203492431
Test: Build and run the VTS test and run otbr-agent on Android emulator.
Change-Id: I0163ea42054e6869e3fb9f93c1fe1a4b2aaff07c
2023-02-14 08:20:28 +08:00
Kangping Dong
4f8c63817d create staging/threadnetwork and add OWNERS
The `hardware/interfaces/staging/threadnetwork` folder contains the
unstable/unreleased `hardware/interfaces/threadnetwork` code which
are not supposed to be used in production. But vendors may start
verifying their hardware with the HAL interface.

This directory will be cleaned up when the stable Thread HAL interface
is added in `hardware/interfaces/threadnetwork` by version `V` or later.

Bug: 203492431
Change-Id: I0d6aee0666029fd17a94b3a46c51f43127db4759
2023-02-02 11:15:34 +08:00