Lines Matching refs:SettingsCipherKey
301 uint8_t SettingsCipherKey[RTSHA512_HASH_SIZE];
2156 * Encrypt secret bytes. Use the m->SettingsCipherKey as key.
2178 AssertCompile(sizeof(m->SettingsCipherKey) >= 32);
2182 aCiphertext[i] = m->SettingsCipherKey[j];
2186 aCiphertext[i] = (aPlaintext[k] ^ m->SettingsCipherKey[j]);
2187 if (++j >= sizeof(m->SettingsCipherKey))
2197 aCiphertext[i] = aBytes[k] ^ m->SettingsCipherKey[j];
2198 if (++j >= sizeof(m->SettingsCipherKey))
2207 * Decrypt secret bytes. Use the m->SettingsCipherKey as key.
2226 if (aCiphertext[i] != m->SettingsCipherKey[j])
2233 aPlaintext[k] = aCiphertext[i] ^ m->SettingsCipherKey[j];
2234 if (++j >= sizeof(m->SettingsCipherKey))
2248 RTSha512(aKey.c_str(), aKey.length(), m->SettingsCipherKey);