Home
last modified time | relevance | path

Searched refs:keymaster0_device_t (Results 1 – 12 of 12) sorted by relevance

/system/security/softkeymaster/include/keymaster/
Dsoftkeymaster.h22 int openssl_generate_keypair(const keymaster0_device_t* dev, const keymaster_keypair_t key_type,
25 int openssl_import_keypair(const keymaster0_device_t* dev, const uint8_t* key,
32 int openssl_sign_data(const keymaster0_device_t* dev, const void* params, const uint8_t* keyBlob,
36 int openssl_verify_data(const keymaster0_device_t* dev, const void* params, const uint8_t* keyBlob,
/system/keymaster/
Dkeymaster0_engine.h42 Keymaster0Engine(const keymaster0_device_t* keymaster0_device);
62 const keymaster0_device_t* device() { return keymaster0_device_; } in device()
91 const keymaster0_device_t* keymaster0_device_;
Dandroid_keymaster_test_utils.h328 struct Keymaster0CountingWrapper : public keymaster0_device_t {
329 Keymaster0CountingWrapper(keymaster0_device_t* device) : device_(device), counter_(0) { in Keymaster0CountingWrapper()
362 static keymaster0_device_t* device(const keymaster0_device_t* dev) { in device()
368 static void increment(const keymaster0_device_t* dev) { in increment()
375 keymaster0_device_t* k0_dev = reinterpret_cast<keymaster0_device_t*>(dev); in counting_close_device()
457 keymaster0_device_t* device_;
Dkeymaster0_engine.cpp41 Keymaster0Engine::Keymaster0Engine(const keymaster0_device_t* keymaster0_device) in Keymaster0Engine()
92 reinterpret_cast<hw_device_t*>(const_cast<keymaster0_device_t*>(keymaster0_device_))); in ~Keymaster0Engine()
Dsoft_keymaster_context.cpp316 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster0_device_t* keymaster0_device) { in SetHardwareDevice()
Dsoft_keymaster_device.cpp148 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster0_device_t* keymaster0_device) { in SetHardwareDevice()
332 static_assert((std::is_same<T, keymaster0_device_t>::value || in convert_device()
Dandroid_keymaster_test.cpp135 keymaster0_device_t* keymaster0_device = in CreateDevice()
136 reinterpret_cast<keymaster0_device_t*>(softkeymaster_device); in CreateDevice()
/system/security/softkeymaster/
Dkeymaster_openssl.cpp79 typedef UniquePtr<keymaster0_device_t> Unique_keymaster_device_t;
366 const keymaster0_device_t*, const keymaster_keypair_t key_type, const void* key_params, in openssl_generate_keypair() argument
401 __attribute__((visibility("default"))) int openssl_import_keypair(const keymaster0_device_t*, in openssl_import_keypair() argument
434 __attribute__((visibility("default"))) int openssl_get_keypair_public(const keymaster0_device_t*, in openssl_get_keypair_public() argument
573 const keymaster0_device_t*, const void* params, const uint8_t* keyBlob, in openssl_sign_data() argument
697 const keymaster0_device_t*, const void* params, const uint8_t* keyBlob, in openssl_verify_data() argument
746 Unique_keymaster_device_t dev(new keymaster0_device_t); in openssl_open()
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h59 keymaster_error_t SetHardwareDevice(keymaster0_device_t* keymaster0_device);
242 keymaster0_device_t* wrapped_km0_device_;
Dsoft_keymaster_context.h47 keymaster_error_t SetHardwareDevice(keymaster0_device_t* keymaster0_device);
/system/security/keystore/
Dkeystore_main.cpp63 keymaster0_device_t* km0_device = NULL; in keymaster0_device_initialize()
/system/vold/
Dcryptfs.c111 static int keymaster_init(keymaster0_device_t **keymaster0_dev, in keymaster_init()
153 keymaster0_device_t *keymaster0_dev = 0; in keymaster_check_compatibility()
200 keymaster0_device_t *keymaster0_dev = 0; in keymaster_create_key()
296 keymaster0_device_t *keymaster0_dev = 0; in keymaster_sign_object()