Searched refs:metrics_salt (Results 1 – 1 of 1) sorted by relevance
163 AddressObfuscator::Octet32 metrics_salt = {}; in read_or_set_metrics_salt() local164 size_t metrics_salt_length = metrics_salt.size(); in read_or_set_metrics_salt()166 BT_CONFIG_METRICS_SALT_256BIT, metrics_salt.data(), in read_or_set_metrics_salt()170 metrics_salt.fill(0); in read_or_set_metrics_salt()172 if (metrics_salt_length != metrics_salt.size()) { in read_or_set_metrics_salt()174 << metrics_salt_length << " instead of " << metrics_salt.size(); in read_or_set_metrics_salt()176 metrics_salt.fill(0); in read_or_set_metrics_salt()178 if (!AddressObfuscator::IsSaltValid(metrics_salt)) { in read_or_set_metrics_salt()180 if (RAND_bytes(metrics_salt.data(), metrics_salt.size()) != 1) { in read_or_set_metrics_salt()184 BT_CONFIG_METRICS_SALT_256BIT, metrics_salt.data(), in read_or_set_metrics_salt()[all …]