OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:device_keyring
(Results
1 - 2
of
2
) sorted by null
/system/vold/
KeyUtil.cpp
108
static bool e4cryptKeyring(key_serial_t*
device_keyring
) {
109
*
device_keyring
= keyctl_search(KEY_SPEC_SESSION_KEYRING, "keyring", "e4crypt", 0);
110
if (*
device_keyring
== -1) {
126
key_serial_t
device_keyring
;
local
127
if (!e4cryptKeyring(&
device_keyring
)) return false;
131
add_key("logon", ref.c_str(), (void*)&ext4_key, sizeof(ext4_key),
device_keyring
);
133
PLOG(ERROR) << "Failed to insert key into keyring " <<
device_keyring
;
136
LOG(DEBUG) << "Added key " << key_id << " (" << ref << ") to keyring " <<
device_keyring
143
key_serial_t
device_keyring
;
local
144
if (!e4cryptKeyring(&
device_keyring
)) return false
[
all
...]
/system/extras/ext4_utils/
ext4_crypt_init_extensions.cpp
48
key_serial_t
device_keyring
= add_key("keyring", "e4crypt", 0, 0,
local
51
if (
device_keyring
== -1) {
56
LOG(INFO) << "Keyring created with id " <<
device_keyring
<< " in process " << getpid();
Completed in 72 milliseconds