OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keymaster0_device
(Results
1 - 10
of
10
) sorted by null
/hardware/libhardware/include/hardware/
keymaster0.h
27
struct
keymaster0_device
{
struct
30
*
keymaster0_device
as users of this structure will cast a hw_device_t to
31
*
keymaster0_device
pointer in contexts where it's known the hw_device_t references a
32
*
keymaster0_device
.
43
* See flags defined for
keymaster0_device
::flags in keymaster_common.h
55
int (*generate_keypair)(const struct
keymaster0_device
* dev,
67
int (*import_keypair)(const struct
keymaster0_device
* dev,
78
int (*get_keypair_public)(const struct
keymaster0_device
* dev,
90
int (*delete_keypair)(const struct
keymaster0_device
* dev,
102
int (*delete_all)(const struct
keymaster0_device
* dev)
[
all
...]
/system/security/softkeymaster/include/keymaster/
softkeymaster.h
28
int openssl_get_keypair_public(const struct
keymaster0_device
* dev, const uint8_t* key_blob,
/system/keymaster/
keymaster0_engine.h
39
* Create a Keymaster0Engine, wrapping the provided
keymaster0_device
. The engine takes
42
Keymaster0Engine(const keymaster0_device_t*
keymaster0_device
);
android_keymaster_test_utils.h
385
static int counting_generate_keypair(const struct
keymaster0_device
* dev,
396
static int counting_import_keypair(const struct
keymaster0_device
* dev, const uint8_t* key,
407
static int counting_get_keypair_public(const struct
keymaster0_device
* dev,
416
static int counting_delete_keypair(const struct
keymaster0_device
* dev, const uint8_t* key_blob,
428
static int counting_delete_all(const struct
keymaster0_device
* dev) {
435
static int counting_sign_data(const struct
keymaster0_device
* dev, const void* signing_params,
445
static int counting_verify_data(const struct
keymaster0_device
* dev, const void* signing_params,
keymaster0_engine.cpp
41
Keymaster0Engine::Keymaster0Engine(const keymaster0_device_t*
keymaster0_device
)
42
: keymaster0_device_(
keymaster0_device
), engine_(ENGINE_new()), supports_ec_(false) {
soft_keymaster_device.cpp
148
keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster0_device_t*
keymaster0_device
) {
149
assert(
keymaster0_device
);
155
keymaster_error_t error = context_->SetHardwareDevice(
keymaster0_device
);
159
initialize_device_struct(
keymaster0_device
->flags);
163
module_name_.append(
keymaster0_device
->common.module->name);
171
wrapped_km0_device_ =
keymaster0_device
;
[
all
...]
soft_keymaster_context.cpp
316
keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster0_device_t*
keymaster0_device
) {
317
if (!
keymaster0_device
)
320
if ((
keymaster0_device
->flags & KEYMASTER_SOFTWARE_ONLY) != 0) {
325
km0_engine_.reset(new Keymaster0Engine(
keymaster0_device
));
[
all
...]
android_keymaster_test.cpp
135
keymaster0_device_t*
keymaster0_device
=
local
137
keymaster0_device
->flags &= ~KEYMASTER_SOFTWARE_ONLY;
141
keymaster0_device
->flags &= ~KEYMASTER_SUPPORTS_EC;
144
counting_keymaster0_device_ = new Keymaster0CountingWrapper(
keymaster0_device
);
[
all
...]
/system/keymaster/include/keymaster/
soft_keymaster_context.h
45
* the specified device (will call
keymaster0_device
->common.close());
47
keymaster_error_t SetHardwareDevice(keymaster0_device_t*
keymaster0_device
);
soft_keymaster_device.h
57
* specified device (will call
keymaster0_device
->common.close());
59
keymaster_error_t SetHardwareDevice(keymaster0_device_t*
keymaster0_device
);
Completed in 246 milliseconds