Home
last modified time | relevance | path

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

/system/keymaster/
Dandroid_keymaster.cpp68 AndroidKeymaster::AndroidKeymaster(KeymasterContext* context, size_t operation_table_size) in AndroidKeymaster() function in keymaster::AndroidKeymaster
71 AndroidKeymaster::~AndroidKeymaster() {} in ~AndroidKeymaster()
94 void AndroidKeymaster::GetVersion(const GetVersionRequest&, GetVersionResponse* rsp) { in GetVersion()
104 void AndroidKeymaster::SupportedAlgorithms(const SupportedAlgorithmsRequest& /* request */, in SupportedAlgorithms()
140 void AndroidKeymaster::SupportedBlockModes(const SupportedBlockModesRequest& request, in SupportedBlockModes()
146 void AndroidKeymaster::SupportedPaddingModes(const SupportedPaddingModesRequest& request, in SupportedPaddingModes()
152 void AndroidKeymaster::SupportedDigests(const SupportedDigestsRequest& request, in SupportedDigests()
158 void AndroidKeymaster::SupportedImportFormats(const SupportedImportFormatsRequest& request, in SupportedImportFormats()
169 void AndroidKeymaster::SupportedExportFormats(const SupportedExportFormatsRequest& request, in SupportedExportFormats()
180 void AndroidKeymaster::AddRngEntropy(const AddEntropyRequest& request, in AddRngEntropy()
[all …]
DAndroid.bp16 // AndroidKeymaster implementation, e.g. one running in TrustZone.
45 // the function-based keymaster HAL API to the message-based AndroidKeymaster API.
Dsoft_keymaster_device.cpp164 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice()
174 impl_(new AndroidKeymaster(context_, kOperationTableSize)), configured_(false) { in SoftKeymasterDevice()
/system/keymaster/include/keymaster/
Dandroid_keymaster.h48 class AndroidKeymaster {
50 AndroidKeymaster(KeymasterContext* context, size_t operation_table_size);
51 virtual ~AndroidKeymaster();
Dsoft_keymaster_device.h247 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 …]