Lines Matching refs:salt
50 std::vector<unsigned char> salt; in main() local
74 salt.clear(); in main()
75 salt.insert(salt.end(), optarg, &optarg[strlen(optarg)]); in main()
78 if (!HashTreeBuilder::ParseBytesArrayFromString(optarg, &salt)) { in main()
140 if (salt.empty()) { in main()
141 salt.resize(builder.hash_size()); in main()
149 ssize_t ret = read(random_fd, salt.data(), salt.size()); in main()
150 if (ret != static_cast<ssize_t>(salt.size())) { in main()
151 PLOG(ERROR) << "failed to read " << salt.size() in main()
157 if (!generate_verity_tree(argv[0], argv[1], &builder, salt, kBlockSize, in main()
165 std::string salt_string = HashTreeBuilder::BytesArrayToString(salt); in main()