OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:device_keyring
(Results
1 - 2
of
2
) sorted by null
/system/extras/ext4_utils/
ext4_crypt_init_extensions.cpp
84
key_serial_t
device_keyring
= add_key("keyring", "e4crypt", 0, 0,
local
87
if (
device_keyring
== -1) {
93
device_keyring
, getpid());
/system/vold/
Ext4Crypt.cpp
147
static bool e4crypt_keyring(key_serial_t*
device_keyring
) {
148
*
device_keyring
= keyctl_search(KEY_SPEC_SESSION_KEYRING, "keyring", "e4crypt", 0);
149
if (*
device_keyring
== -1) {
163
key_serial_t
device_keyring
;
local
164
if (!e4crypt_keyring(&
device_keyring
)) return false;
166
add_key("logon", ref.c_str(), (void*)&ext4_key, sizeof(ext4_key),
device_keyring
);
168
PLOG(ERROR) << "Failed to insert key into keyring " <<
device_keyring
;
171
LOG(DEBUG) << "Added key " << key_id << " (" << ref << ") to keyring " <<
device_keyring
Completed in 135 milliseconds