Lines Matching refs:storedNonce
103 byte *storedNonce = m_nonce();
107 memset(storedNonce, 0, s-length);
108 memcpy(storedNonce+s-length, nonce, length);
109 AccessCipher().ProcessBlock(storedNonce, m_pad());
113 if (m_padCached && (storedNonce[s-1] | 1) == (nonce[length-1] | 1))
115 m_padCached = VerifyBufsEqual(storedNonce+s-length, nonce, length-1);
117 m_padCached = (storedNonce[i] == 0);
121 memset(storedNonce, 0, s-length);
122 memcpy(storedNonce+s-length, nonce, length-1);
123 storedNonce[s-1] = nonce[length-1] & 0xfe;
124 AccessCipher().ProcessBlock(storedNonce, m_pad());
127 storedNonce[s-1] = nonce[length-1];