Lines Matching refs:key_raw_ref
211 if (policy.key_raw_ref.size() != FSCRYPT_KEY_DESCRIPTOR_SIZE) { in buildKeySpecifier()
213 << policy.key_raw_ref.size(); in buildKeySpecifier()
217 memcpy(spec->u.descriptor, policy.key_raw_ref.c_str(), FSCRYPT_KEY_DESCRIPTOR_SIZE); in buildKeySpecifier()
220 if (policy.key_raw_ref.size() != FSCRYPT_KEY_IDENTIFIER_SIZE) { in buildKeySpecifier()
222 << policy.key_raw_ref.size(); in buildKeySpecifier()
226 memcpy(spec->u.identifier, policy.key_raw_ref.c_str(), FSCRYPT_KEY_IDENTIFIER_SIZE); in buildKeySpecifier()
276 policy->key_raw_ref = generateKeyRef((const uint8_t*)key.data(), key.size()); in installKey()
278 return installKeyLegacy(key, policy->key_raw_ref); in installKey()
304 policy->key_raw_ref = in installKey()
307 std::string ref = keyrefstring(policy->key_raw_ref); in installKey()
359 return evictKeyLegacy(policy.key_raw_ref); in evictKey()
375 std::string ref = keyrefstring(policy.key_raw_ref); in evictKey()
419 std::string ref = keyrefstring(policy.key_raw_ref); in reloadKeyFromSessionKeyring()