/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 63 AndroidKeymaster::AndroidKeymaster(KeymasterContext* context, size_t operation_table_size) in AndroidKeymaster() function in keymaster::AndroidKeymaster 66 AndroidKeymaster::~AndroidKeymaster() {} in ~AndroidKeymaster() 68 AndroidKeymaster::AndroidKeymaster(AndroidKeymaster&& other) in AndroidKeymaster() function in keymaster::AndroidKeymaster 87 void AndroidKeymaster::GetVersion(const GetVersionRequest&, GetVersionResponse* rsp) { in GetVersion() 97 void AndroidKeymaster::SupportedAlgorithms(const SupportedAlgorithmsRequest& /* request */, in SupportedAlgorithms() 133 void AndroidKeymaster::SupportedBlockModes(const SupportedBlockModesRequest& request, in SupportedBlockModes() 139 void AndroidKeymaster::SupportedPaddingModes(const SupportedPaddingModesRequest& request, in SupportedPaddingModes() 145 void AndroidKeymaster::SupportedDigests(const SupportedDigestsRequest& request, in SupportedDigests() 151 void AndroidKeymaster::SupportedImportFormats(const SupportedImportFormatsRequest& request, in SupportedImportFormats() 162 void AndroidKeymaster::SupportedExportFormats(const SupportedExportFormatsRequest& request, in SupportedExportFormats() [all …]
|
/system/keymaster/include/keymaster/ |
D | android_keymaster.h | 48 class AndroidKeymaster { 50 AndroidKeymaster(KeymasterContext* context, size_t operation_table_size); 51 virtual ~AndroidKeymaster(); 52 AndroidKeymaster(AndroidKeymaster&&);
|
D | soft_keymaster_device.h | 245 UniquePtr<AndroidKeymaster> impl_;
|
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device_test.cpp | 39 static keymaster::AndroidKeymaster *impl_ = nullptr; 59 impl_ = new keymaster::AndroidKeymaster(new keymaster::SoftKeymasterContext(nullptr), 16); in trusty_keymaster_connect() 63 delete static_cast<keymaster::AndroidKeymaster*>(priv_); in trusty_keymaster_disconnect() 67 static int fake_call(keymaster::AndroidKeymaster* device, in fake_call() 68 void (keymaster::AndroidKeymaster::*method)(const Req&, Rsp*), void* in_buf, in fake_call() 86 return fake_call(impl_, &keymaster::AndroidKeymaster::GenerateKey, in_buf, in_size, in trusty_keymaster_call() 89 return fake_call(impl_, &keymaster::AndroidKeymaster::BeginOperation, in_buf, in_size, in trusty_keymaster_call() 92 return fake_call(impl_, &keymaster::AndroidKeymaster::UpdateOperation, in_buf, in_size, in trusty_keymaster_call() 95 return fake_call(impl_, &keymaster::AndroidKeymaster::FinishOperation, in_buf, in_size, in trusty_keymaster_call() 98 return fake_call(impl_, &keymaster::AndroidKeymaster::ImportKey, in_buf, in_size, out_buf, in trusty_keymaster_call() [all …]
|
/system/keymaster/ng/include/ |
D | AndroidKeymaster3Device.h | 31 class AndroidKeymaster; variable 94 std::unique_ptr<::keymaster::AndroidKeymaster> impl_;
|
D | AndroidKeymaster4Device.h | 26 class AndroidKeymaster; variable 102 std::unique_ptr<::keymaster::AndroidKeymaster> impl_;
|
/system/keymaster/ |
D | Android.bp | 16 // AndroidKeymaster implementation, e.g. one running in TrustZone. 54 // the function-based keymaster HAL API to the message-based AndroidKeymaster API.
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 224 : impl_(new ::keymaster::AndroidKeymaster( in AndroidKeymaster3Device() 233 : impl_(new ::keymaster::AndroidKeymaster(context, kOperationTableSize)), profile_(profile) {} in AndroidKeymaster3Device()
|
D | AndroidKeymaster4Device.cpp | 213 : impl_(new ::keymaster::AndroidKeymaster( in AndroidKeymaster4Device()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 165 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice() 175 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice()
|
/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 1920 AndroidKeymaster keymaster_; 4281 using KeymasterVec = std::vector<std::unique_ptr<AndroidKeymaster>>; 4290 keymasters.push_back(make_unique<AndroidKeymaster>(new TestKeymasterContext, 16)); in CreateKeymasters() 4346 AndroidKeymaster keymaster(new TestKeymasterContext, 16); in TEST_F()
|