No description
Find a file
David Drysdale 42fe189633 KeyMint VTS: test curve 25519 functionality
- Add CURVE_25519 as a supported curve for EC operations.
- Add a helper that checks whether the HAL is of a version that is
  expected to support curve 25519, and skip relevant tests if not.
- Ed25519 support
  - Update KeyMintAidlTestBase::LocalVerifyMessage to cope with a public
    key of type EVP_PKEY_ED25519.
  - Add a test key pair generated with openssl command line.
  - Key generation test
  - Key import test for raw format
  - Key import test for PKCS#8 format
  - Key import failures tests
  - Signature test
  - Check that purposes cannot be combined (Ed25519 != X25519)
  - Check that Ed25519 key can be attested to
  - Implicitly check that an Ed25519 key can be used for attestation
    (as it is in ValidCurves())
  - Force Digest::NONE for Ed25519 throughout.
- X25519 support
  - Add a test key pair generated with openssl command line.
  - Key generation test
  - Key import test for raw format
  - Key import test for PKCS#8 format
  - Key import failures tests
  - Key agreement test, including...
  - Refactoring of existing key agreement test for re-use
  - Update key agreement checks to cope with a public key of type
    EVP_PLEY_X25519.
  - Key agreement test using imported key
  - Check that purposes cannot be combined (Ed25519 != X25519)

Bug: 194358913
Test: VtsAidlKeyMintTargetTest
Change-Id: Ifa0f95fdfba4387843c8e821c2ca977da0488fa6
2022-01-12 10:58:19 +00:00
atrace/1.0 Add OWNERS for VTS module VtsHalAtraceV1_0TargetTest 2021-07-20 12:08:09 -07:00
audio audio: Add AIDL definitions for Playback/RecordTrackMetadata 2022-01-06 06:32:36 +00:00
authsecret CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
automotive Merge "Merge Android 12 QPR1" 2021-12-14 20:25:22 +00:00
biometrics CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
bluetooth Merge "bluetooth.audio pass both source and sink metadata" 2022-01-12 00:48:30 +00:00
boot Merge "Add OWNERS for VTS module VtsHalBootV1_0TargetTest" 2021-09-24 01:35:03 +00:00
broadcastradio Merge "Backfill owner information for VTS module VtsHalBroadcastradioV1_1TargetTest." 2021-09-30 19:09:29 +00:00
camera Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 2021-11-10 08:05:55 +00:00
cas Update OWNERS for VtsHalCas* tests. 2021-11-03 11:23:01 -07:00
common Merge "fmq: use versions for imports" am: 334a6134de 2021-09-01 16:32:26 +00:00
compatibility_matrices Merge "Add new aidl interface for android.hardware.bluetooth.audio" 2022-01-07 13:07:25 +00:00
configstore Add OWNERS for VTS module VtsHalConfigstoreV1_0TargetTest 2021-08-11 16:38:55 -07:00
confirmationui [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
contexthub Update OWNERS for VtsHalContexthub tests. 2021-10-18 17:18:04 -07:00
drm Merge Android 12 2021-10-06 23:58:29 +00:00
dumpstate Fix dumpstate AIDL interface API comments 2022-01-10 12:38:49 +00:00
fastboot Fix typo in IFastboot.hal. 2021-06-02 16:01:53 -07:00
gatekeeper/1.0 Merge "Revert "Expand Gatekeeper test"" 2021-09-16 21:58:29 +00:00
gnss Merge "Merge Android 12 QPR1" 2021-12-14 20:25:22 +00:00
graphics fix VtsHalGraphicsComposerV2_2TargetTest timeout failed 2021-12-16 08:18:15 +00:00
health health: Add libhealth_aidl_impl_user. 2022-01-05 14:47:53 -08:00
identity CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
input Merge "Backfill owner information for VTS module VtsHalInputClassifierV1_0TargetTest." am: a850e9d1b6 2021-09-09 02:13:54 +00:00
ir Update IConsumerIr method comments and add units to parameter 2022-01-10 17:46:47 +00:00
keymaster Merge "Turn off CFI for the Keymaster VTS" am: 1ff635ab2d 2021-12-07 06:39:35 +00:00
light CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
media Merge "Update OWNERS for VtsHalMediaOmx* tests." am: f75c21743d 2021-12-03 23:43:38 +00:00
memtrack Merge "Add OWNERS for VTS module VtsHalMemtrack test." 2021-12-23 21:59:13 +00:00
neuralnetworks Merge "FL7: Refine MIRROR_PAD specification" 2022-01-10 17:11:26 +00:00
nfc Merge "Backfill owner information for VTS module VtsHalNfcV1_0TargetTest." am: 7b41c06107 2021-10-01 00:32:30 +00:00
oemlock CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
power CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
radio Merge changes Ic82ffd2f,I29632003 2022-01-06 21:52:35 +00:00
rebootescrow/aidl CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
renderscript/1.0 Backfill owner information for VTS module VtsHalRenderscriptV1_0TargetTest. 2021-09-03 16:33:59 -07:00
scripts Add script to get prelim HAL VTS coverage. 2021-03-15 17:23:20 -07:00
secure_element Merge "Backfill owner information for VTS module VtsHalSecureElementV1_1TargetTest." 2021-09-10 18:16:35 +00:00
security KeyMint VTS: test curve 25519 functionality 2022-01-12 10:58:19 +00:00
sensors Update OWNERS for VtsHalSensors tests. 2021-10-19 16:33:52 +00:00
soundtrigger Merge "Backfill owner information for VTS module VtsHalSoundtriggerV2_3TargetTest." am: 6a582708ff 2021-09-30 00:36:53 +00:00
tests Remove ndk_platform backend. Use the ndk backend. 2021-08-17 14:48:50 +00:00
tetheroffload Allow VTS of 1.0 tetheroffload to be optional 2021-06-24 08:59:41 +00:00
thermal Revert "Create thermal apex" 2021-12-03 19:15:48 +00:00
tv Merge "Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918" into stage-aosp-master 2021-11-18 21:29:03 +00:00
usb Enable MS OS descriptors for adb. 2021-12-23 14:36:15 -08:00
vibrator CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
vr/1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
weaver CHECK -> CHECK_EQ copy pasta 2021-12-14 01:45:47 +00:00
wifi Merge "Prepares android.hardware.wifi@1.0-service" 2022-01-11 01:35:49 +00:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp Stop using group_static_libs property 2021-08-30 23:20:08 +00:00
CleanSpec.mk wifi adapter cleanspec 2019-12-13 14:24:23 -08:00
current.txt Updated WHEEL_TICK configArray documentation in VHAL. am: 0e6c4ce873 2021-10-06 19:21:03 +00:00
METADATA Add METADATA to interfaces: Apache2=NOTICE 2020-05-01 10:59:55 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Update OWNERS for 2020 2020-12-16 18:09:12 +00:00
PREUPLOAD.cfg Turn aidl_format on 2021-01-21 15:06:51 +09:00
TEST_MAPPING Add TEST_MAPPING presubmit config for VtsHalTvInputV1_0TargetTest 2020-04-03 13:37:57 -07:00
update-base-files.sh Make audio*-base.h files autogenerated again 2020-12-09 23:36:48 +00:00
update-makefiles.sh Remove update scripts for VTS makefiles. 2019-02-28 10:32:51 -08:00