platform_hardware_interfaces/identity/aidl/Android.bp
David Zeuthen f3e0600395 identity: Add support for ECDSA auth and don't require session encryption.
This adds a new method which allows applications to use mdoc ECDSA
authentication instead of mdoc MAC authentication. Additionally, also
relax requirements on SessionTranscript so the APIs can be used even
when mdoc session encryption isn't being used.

Also add new VTS test to check for this.

Since this is new API, bump API version to 5 and the Identity
Credential feature version to 202301.

Bug: 241912421
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Change-Id: I4085a89be0382c10f5449e13c6a92a46c74c225d
2022-12-09 02:57:09 -05:00

86 lines
2.1 KiB
Text

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
aidl_interface {
name: "android.hardware.identity",
vendor_available: true,
srcs: [
"android/hardware/identity/*.aidl",
],
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.rkp-V3",
],
stability: "vintf",
frozen: false,
backend: {
java: {
platform_apis: true,
},
ndk: {
apps_enabled: false,
},
},
versions_with_info: [
{
version: "1",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.rkp-V1",
],
},
{
version: "2",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.rkp-V1",
],
},
{
version: "3",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.rkp-V1",
],
},
{
version: "4",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.rkp-V3",
],
},
],
}
// cc_defaults that includes the latest Identity AIDL library.
// Modules that depend on Identity directly can include this cc_defaults to
// avoid managing dependency versions explicitly.
cc_defaults {
name: "identity_use_latest_hal_aidl_ndk_static",
static_libs: [
"android.hardware.identity-V5-ndk",
],
}
cc_defaults {
name: "identity_use_latest_hal_aidl_ndk_shared",
shared_libs: [
"android.hardware.identity-V5-ndk",
],
}
cc_defaults {
name: "identity_use_latest_hal_aidl_cpp_static",
static_libs: [
"android.hardware.identity-V5-cpp",
],
}