Lines Matching refs:master_key
42 std::string master_key; member
70 const char* master_key = "master_key"; variable
97 && props.Set<std::string>(tag::master_key, in put_crypt_ftr_and_key()
98 std::string((const char*) crypt_ftr.master_key, in put_crypt_ftr_and_key()
131 std::string master_key = props.Get<std::string>(tag::master_key); in get_crypt_ftr_and_key() local
132 crypt_ftr.keysize = master_key.size(); in get_crypt_ftr_and_key()
133 if (crypt_ftr.keysize > sizeof(crypt_ftr.master_key)) { in get_crypt_ftr_and_key()
137 memcpy(crypt_ftr.master_key, &master_key[0], crypt_ftr.keysize); in get_crypt_ftr_and_key()
199 if (key_props.Get<std::string>(tag::master_key).empty()) { in e4crypt_enable()
255 = reinterpret_cast<const unsigned char*>(&mki->second.master_key[0]); in e4crypt_change_password()
282 if (key_props.Get<std::string>(tag::master_key).empty()) { in e4crypt_crypto_complete()
336 std::string master_key(reinterpret_cast<char*>(master_key_bytes), in e4crypt_check_passwd()
341 s_key_store[path] = keys{master_key, password, in e4crypt_check_passwd()
343 auto raw_ref = e4crypt_install_key(master_key); in e4crypt_check_passwd()