Lines Matching refs:key_loc
513 static void get_crypt_info(std::string* key_loc, std::string* real_blk_device) { in get_crypt_info() argument
518 if (key_loc != nullptr) { in get_crypt_info()
519 *key_loc = entry.key_loc; in get_crypt_info()
533 char key_loc[PROPERTY_VALUE_MAX]; in get_crypt_ftr_info() local
538 std::string key_loc; in get_crypt_ftr_info() local
540 get_crypt_info(&key_loc, &real_blkdev); in get_crypt_ftr_info()
542 if (key_loc == KEY_IN_FOOTER) { in get_crypt_ftr_info()
555 strlcpy(cached_metadata_fname, key_loc.c_str(), sizeof(cached_metadata_fname)); in get_crypt_ftr_info()
1687 std::string key_loc; in do_crypto_complete() local
1688 get_crypt_info(&key_loc, nullptr); in do_crypto_complete()
1697 if (!key_loc.empty() && key_loc[0] == '/' && (access("key_loc", F_OK) == -1)) { in do_crypto_complete()
2125 std::string key_loc; in cryptfs_enable_internal() local
2169 get_crypt_info(&key_loc, &real_blkdev); in cryptfs_enable_internal()
2179 if (key_loc == KEY_IN_FOOTER) { in cryptfs_enable_internal()
2256 if (key_loc == KEY_IN_FOOTER) { in cryptfs_enable_internal()