MD5_Update(&c, in, len);
QByteArray result(len + type->block_size); int olen; if(dir == QCA::Encrypt || !pad) { if(!EVP_EncryptUpdate(&c, (unsigned char *)result.data(), &olen, (unsigned char *)in, len)) return false; } else { if(!EVP_DecryptUpdate(&c, (unsigned char *)result.data(), &olen, (unsigned char *)in, len)) return false; } result.resize(olen); appendArray(&r, result); return true;
	void update(const char *in, unsigned int len)	{		MD5_Update(&c, in, len);	}