Home
last modified time | relevance | path

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

/system/vold/
DKeyUtil.cpp319 auto key_serial = keyctl_search(device_keyring, "logon", ref.c_str(), 0); in evictKeyLegacy() local
325 if (keyctl_unlink(key_serial, device_keyring) != 0) { in evictKeyLegacy()
326 PLOG(ERROR) << "Failed to unlink key with serial " << key_serial << " ref " << ref; in evictKeyLegacy()
329 LOG(DEBUG) << "Unlinked key with serial " << key_serial << " ref " << ref; in evictKeyLegacy()
341 auto key_serial = keyctl_search(device_keyring, "fscrypt-provisioning", ref.c_str(), 0); in evictProvisioningKey() local
342 if (key_serial == -1 && errno != ENOKEY) { in evictProvisioningKey()
347 if (key_serial != -1 && keyctl_unlink(key_serial, device_keyring) != 0) { in evictProvisioningKey()
418 auto key_serial = keyctl_search(device_keyring, "fscrypt-provisioning", ref.c_str(), 0); in reloadKeyFromSessionKeyring() local
419 if (key_serial == -1) { in reloadKeyFromSessionKeyring()
431 arg.key_id = key_serial; in reloadKeyFromSessionKeyring()