Searched refs:TrustyKeymasterDevice (Results 1 – 5 of 5) sorted by relevance
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device.cpp | 74 TrustyKeymasterDevice::TrustyKeymasterDevice(const hw_module_t* module) { in TrustyKeymasterDevice() function in keymaster::TrustyKeymasterDevice 75 static_assert(std::is_standard_layout<TrustyKeymasterDevice>::value, in TrustyKeymasterDevice() 77 static_assert(offsetof(TrustyKeymasterDevice, device_) == 0, in TrustyKeymasterDevice() 79 static_assert(offsetof(TrustyKeymasterDevice, device_.common) == 0, in TrustyKeymasterDevice() 129 TrustyKeymasterDevice::~TrustyKeymasterDevice() { in ~TrustyKeymasterDevice() 135 int TrustyKeymasterDevice::generate_keypair(const keymaster_keypair_t key_type, in generate_keypair() 195 int TrustyKeymasterDevice::import_keypair(const uint8_t* key, const size_t key_length, in import_keypair() 230 keymaster_error_t TrustyKeymasterDevice::GetPkcs8KeyAlgorithm(const uint8_t* key, size_t key_length, in GetPkcs8KeyAlgorithm() 265 int TrustyKeymasterDevice::get_keypair_public(const uint8_t* key_blob, const size_t key_blob_length, in get_keypair_public() 287 int TrustyKeymasterDevice::sign_data(const void* signing_params, const uint8_t* key_blob, in sign_data() [all …]
|
D | module.cpp | 24 using keymaster::TrustyKeymasterDevice; 34 TrustyKeymasterDevice* dev = new TrustyKeymasterDevice(module); in trusty_keymaster_open()
|
D | trusty_keymaster_main.cpp | 24 using keymaster::TrustyKeymasterDevice; 113 static bool test_import_rsa(TrustyKeymasterDevice* device) { in test_import_rsa() 155 static bool test_rsa(TrustyKeymasterDevice* device) { in test_rsa() 231 static bool test_import_ecdsa(TrustyKeymasterDevice* device) { in test_import_ecdsa() 273 static bool test_ecdsa(TrustyKeymasterDevice* device) { in test_ecdsa() 348 TrustyKeymasterDevice device(NULL); in main()
|
D | trusty_keymaster_device.h | 36 class TrustyKeymasterDevice { 42 … __attribute__((visibility("default"))) explicit TrustyKeymasterDevice(const hw_module_t* module); 45 ~TrustyKeymasterDevice();
|
D | trusty_keymaster_device_test.cpp | 142 TrustyKeymasterDevice device;
|