Searched refs:key_serial (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | KeyUtil.cpp | 321 auto key_serial = keyctl_search(device_keyring, "logon", ref.c_str(), 0); in evictKeyLegacy() local 327 if (keyctl_unlink(key_serial, device_keyring) != 0) { in evictKeyLegacy() 328 PLOG(ERROR) << "Failed to unlink key with serial " << key_serial << " ref " << ref; in evictKeyLegacy() 331 LOG(DEBUG) << "Unlinked key with serial " << key_serial << " ref " << ref; in evictKeyLegacy() 343 auto key_serial = keyctl_search(device_keyring, "fscrypt-provisioning", ref.c_str(), 0); in evictProvisioningKey() local 344 if (key_serial == -1 && errno != ENOKEY) { in evictProvisioningKey() 349 if (key_serial != -1 && keyctl_unlink(key_serial, device_keyring) != 0) { in evictProvisioningKey() 420 auto key_serial = keyctl_search(device_keyring, "fscrypt-provisioning", ref.c_str(), 0); in reloadKeyFromSessionKeyring() local 421 if (key_serial == -1) { in reloadKeyFromSessionKeyring() 433 arg.key_id = key_serial; in reloadKeyFromSessionKeyring()
|