Lines Matching refs:m_EncryptKey
91 if (CheckPassword(password, password.GetLength(), TRUE, m_EncryptKey, key_len)) {
93 if (!CheckPassword(password, password.GetLength(), FALSE, m_EncryptKey, key_len)) {
100 return CheckPassword(password, password.GetLength(), FALSE, m_EncryptKey, key_len);
196 buffer = m_EncryptKey;
515 CRYPT_SHA256Update(sha, m_EncryptKey, 32);
517 CRYPT_SHA256Finish(sha, m_EncryptKey);
518 AES256_SetPassword(pEncryptDict, user_pass, user_size, FALSE, m_EncryptKey);
520 AES256_SetPassword(pEncryptDict, owner_pass, owner_size, TRUE, m_EncryptKey);
521 AES256_SetPerms(pEncryptDict, m_Permissions, pEncryptDict->GetBoolean(FX_BSTRC("EncryptMetadata"), TRUE), m_EncryptKey);
555 CalcEncryptKey(m_pEncryptDict, (FX_LPBYTE)user_pass, user_size, m_EncryptKey, key_len, FALSE, pIdArray);
559 CRYPT_ArcFourCryptBlock(tempbuf, 32, m_EncryptKey, key_len);
571 CRYPT_ArcFourCryptBlock(digest, 16, m_EncryptKey, key_len);
575 tempkey[j] = m_EncryptKey[j] ^ (FX_BYTE)i;
672 FXSYS_memcpy32(key1, m_EncryptKey, m_KeyLen);
690 CRYPT_AESSetKey(m_pAESContext, 16, m_KeyLen == 32 ? m_EncryptKey : realkey, m_KeyLen, bEncrypt);
734 CRYPT_AESSetKey(pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt);
744 FXSYS_memcpy32(key1, m_EncryptKey, m_KeyLen);
877 FXSYS_memcpy32(m_EncryptKey, key, m_KeyLen);
910 FXSYS_memcpy32(m_EncryptKey, key, keylen);