Lines Matching defs:aCiphertext
2097 * @param aCiphertext resulting ciphertext (base64-encoded)
2099 int VirtualBox::i_encryptSetting(const Utf8Str &aPlaintext, Utf8Str *aCiphertext)
2112 *aCiphertext = szCipherBase64;
2121 * @param aCiphertext ciphertext (base64-encoded) to decrypt
2123 int VirtualBox::i_decryptSetting(Utf8Str *aPlaintext, const Utf8Str &aCiphertext)
2128 int rc = RTBase64Decode(aCiphertext.c_str(),
2159 * @param aCiphertext resulting encrypted text
2163 int VirtualBox::i_encryptSettingBytes(const uint8_t *aPlaintext, uint8_t *aCiphertext,
2182 aCiphertext[i] = m->SettingsCipherKey[j];
2186 aCiphertext[i] = (aPlaintext[k] ^ m->SettingsCipherKey[j]);
2197 aCiphertext[i] = aBytes[k] ^ m->SettingsCipherKey[j];
2210 * @param aCiphertext ciphertext to be decrypted
2214 const uint8_t *aCiphertext, size_t aCiphertextSize) const
2226 if (aCiphertext[i] != m->SettingsCipherKey[j])
2233 aPlaintext[k] = aCiphertext[i] ^ m->SettingsCipherKey[j];