Align KeyMint AIDL with usage

 - Make HardwareAuthToken nullable on begin()
 - Drop unused vestigial performOperation() entrypoint

Test: TreeHugger, VtsKeyMintAidlTargetTest (CF)
Change-Id: I97938316054dda6d6e5939f0ca0e574b5e3a01f0
diff --git a/ng/AndroidKeyMintDevice.cpp b/ng/AndroidKeyMintDevice.cpp
index d4f2659..f9bc0b0 100644
--- a/ng/AndroidKeyMintDevice.cpp
+++ b/ng/AndroidKeyMintDevice.cpp
@@ -360,7 +360,8 @@
 
 ScopedAStatus AndroidKeyMintDevice::begin(KeyPurpose purpose, const vector<uint8_t>& keyBlob,
                                           const vector<KeyParameter>& params,
-                                          const HardwareAuthToken& authToken, BeginResult* result) {
+                                          const optional<HardwareAuthToken>& authToken,
+                                          BeginResult* result) {
 
     BeginOperationRequest request(impl_->message_version());
     request.purpose = legacy_enum_conversion(purpose);
@@ -409,11 +410,6 @@
     return kmError2ScopedAStatus(KM_ERROR_UNIMPLEMENTED);
 }
 
-ScopedAStatus AndroidKeyMintDevice::performOperation(const vector<uint8_t>& /* request */,
-                                                     vector<uint8_t>* /* response */) {
-    return kmError2ScopedAStatus(KM_ERROR_UNIMPLEMENTED);
-}
-
 IKeyMintDevice* CreateKeyMintDevice(SecurityLevel securityLevel) {
     return ::new AndroidKeyMintDevice(securityLevel);
 }