Home
last modified time | relevance | path

Searched refs:AndroidKeymaster (Results 1 – 11 of 11) sorted by relevance

/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp63 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/
Dandroid_keymaster.h48 class AndroidKeymaster {
50 AndroidKeymaster(KeymasterContext* context, size_t operation_table_size);
51 virtual ~AndroidKeymaster();
52 AndroidKeymaster(AndroidKeymaster&&);
Dsoft_keymaster_device.h245 UniquePtr<AndroidKeymaster> impl_;
/system/core/trusty/keymaster/
Dtrusty_keymaster_device_test.cpp39 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/
DAndroidKeymaster3Device.h31 class AndroidKeymaster; variable
94 std::unique_ptr<::keymaster::AndroidKeymaster> impl_;
DAndroidKeymaster4Device.h26 class AndroidKeymaster; variable
102 std::unique_ptr<::keymaster::AndroidKeymaster> impl_;
/system/keymaster/
DAndroid.bp16 // AndroidKeymaster implementation, e.g. one running in TrustZone.
54 // the function-based keymaster HAL API to the message-based AndroidKeymaster API.
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp224 : impl_(new ::keymaster::AndroidKeymaster( in AndroidKeymaster3Device()
233 : impl_(new ::keymaster::AndroidKeymaster(context, kOperationTableSize)), profile_(profile) {} in AndroidKeymaster3Device()
DAndroidKeymaster4Device.cpp213 : impl_(new ::keymaster::AndroidKeymaster( in AndroidKeymaster4Device()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp165 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice()
175 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp1920 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()