Lines Matching refs:key_loc
516 static void get_crypt_info(std::string* key_loc, std::string* real_blk_device) { in get_crypt_info() argument
521 if (key_loc != nullptr) { in get_crypt_info()
522 *key_loc = entry.key_loc; in get_crypt_info()
536 char key_loc[PROPERTY_VALUE_MAX]; in get_crypt_ftr_info() local
541 std::string key_loc; in get_crypt_ftr_info() local
543 get_crypt_info(&key_loc, &real_blkdev); in get_crypt_ftr_info()
545 if (key_loc == KEY_IN_FOOTER) { in get_crypt_ftr_info()
558 strlcpy(cached_metadata_fname, key_loc.c_str(), sizeof(cached_metadata_fname)); in get_crypt_ftr_info()
1703 std::string key_loc; in do_crypto_complete() local
1704 get_crypt_info(&key_loc, nullptr); in do_crypto_complete()
1713 if (!key_loc.empty() && key_loc[0] == '/' && (access("key_loc", F_OK) == -1)) { in do_crypto_complete()
2141 std::string key_loc; in cryptfs_enable_internal() local
2185 get_crypt_info(&key_loc, &real_blkdev); in cryptfs_enable_internal()
2195 if (key_loc == KEY_IN_FOOTER) { in cryptfs_enable_internal()
2272 if (key_loc == KEY_IN_FOOTER) { in cryptfs_enable_internal()