From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C05021A1E2D for ; Tue, 30 Aug 2016 20:54:29 -0700 (PDT) Received: by mail-wm0-x233.google.com with SMTP id 1so17511553wmz.1 for ; Tue, 30 Aug 2016 20:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7dpCX6TPU7MR7mrMtfh+cpm/pIeAND4dwMbJ+oRR9nU=; b=jbxHs2ZzAZtZVctw0brsCdYZh5UkQf8Gz3ZOzziKP/HcI7ArwyCmNkJ3EwqhjZiap3 QXQDmVNunLIYZldUVWv+7nzZVbjGc2LA8RIpYvIXb8QWbhJt4pr+0lV3KrKH1m8XOTav Sh6ARhldiBiWkqQEBglZLm8ue34y32EfJQBYhtYw95j8qZtgciWzumNGIA8r7aUA6CyQ /3rKLcIagCAU4opj5uV9Dou3UcykgSwwYKpCW/2DYJWTPeMMBYhYUHCZOZZ9W/gOvO3W YvddN3t+tWvGOTH9wrFL466Ww2V3YF9UPb9JddoVfd3Xg12RWOq2TMwwa8+mgKdcGt+l Jajg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7dpCX6TPU7MR7mrMtfh+cpm/pIeAND4dwMbJ+oRR9nU=; b=h6DC9auMqfDwUzvOI17PgqMLITfLQq4XC1cTYW97Ih3kx02Zx4/u7aj/aNPPZgZ6dl jo4ut/1YA8pjoUelyGbAIqvXTE6B43/x3tni9f4sdR5JBcxE3B3aZAGu4s84K2glg2Zj YIVKHR+0k9zrop4Z909BQN56DAWkGowCoatzTmUR8+GbADNfVQPciSK4CCpsO/11tvRg ToMmXI5RVSCfclzJ0yANAQgp0P88szu8Ej8FZQ5p4JENIjaQVppuW254Ai1UH8QK61UF Uqqp8+/YKFI7ViWjLxpAnQOsxYH614VaiGrQDBz5FDkbS0MFE7u7BDMFpWkplW428yBa 7Aiw== X-Gm-Message-State: AE9vXwNeL1VuZMXKY2wblIadAwG6sL+uPUy+95XBHkNzbVjxc21aOvFFSL8nNRCda/+x9RQd17UC+gmklDHjwA== X-Received: by 10.195.12.77 with SMTP id eo13mr6813006wjd.142.1472615667799; Tue, 30 Aug 2016 20:54:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.238.198 with HTTP; Tue, 30 Aug 2016 20:54:27 -0700 (PDT) In-Reply-To: References: <91B24DF7-4F53-4DEF-A600-755A69368B79@apple.com> From: Michael Zimmermann Date: Wed, 31 Aug 2016 05:54:27 +0200 Message-ID: To: valerij zaporogeci Cc: edk2-devel X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: Crc32 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 03:54:30 -0000 Content-Type: text/plain; charset=UTF-8 it doesn't. it just seems that if the crc text field is not empty it calculates the crc of the crc, so you have to hit the "Reset CRC" button before reprocessing the text. On Wed, Aug 31, 2016 at 3:11 AM, valerij zaporogeci wrote: > >> after testing it it indeed produces CCITT32 results like this online > generator: > >> http://g6auc.me.uk/CRC32/index.html > > I only now noticed that this "calculator", gives DIFFERENT values on > the same input, no matter hex or text based. > Interestingly, how it could produce the same results as the Tianocore > implementation? > > I was thinking that all the difference in the Tianocore impl. from the > pure crc is appending 32 1's at the beginning of the (input) message > and then negating the Crc itself in the end. > > I see, the only way to check is to pull off the Tianocore function and > check.) > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel >