Searched refs:cipherStream (Results 1 – 1 of 1) sorted by relevance
877 CTRCipherStream cipherStream(cipher_, prefixIV.data(), initialCounter); in CreateNewPrefix() local878 auto status = cipherStream.Encrypt(0, prefix + (2 * blockSize), prefixLength - (2 * blockSize)); in CreateNewPrefix()914 CTRCipherStream cipherStream(cipher_, iv.data(), initialCounter); in CreateCipherStream() local915 …auto status = cipherStream.Decrypt(0, (char*)prefix.data() + (2 * blockSize), prefix.size() - (2 *… in CreateCipherStream()