From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (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 BA9C61A1E4B for ; Wed, 31 Aug 2016 07:31:35 -0700 (PDT) Received: by mail-oi0-x22e.google.com with SMTP id p186so37667665oia.2 for ; Wed, 31 Aug 2016 07:31:35 -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=tcW0oNmMi0xlvmBtrYOWmqV+EPqN2iAB3ovUUP6SH+k=; b=k4UaBdkzcj3f2u3luCy1ONalg30LUhY2r+IwZ229HXR+mriNgGPCAABA/7huXOhS7O q3ZVkuEzwDDdvhP6xHpVOQl60/OcfOaNerNae61fvvCm5PpzxXOHm0FN4sLv0FTDontV pltQeq2cju7U5wncQt1LpHo3UeC/+AVqBw++e3er4MkLn4QWbMzCwhmkNG2f6a568+St lWJLXSto1KFptOSYsaJfbKBit/iepzEa3fKqs5kyH6PrTwbOiF/h1XecBnkOppyLdWqW S0VsU+o9GaVpqxHYRbgPLhntTz0oksdVu5jJajACKTF43zZWLs6EjW3EDDRQcgc2BBlu NNTg== 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=tcW0oNmMi0xlvmBtrYOWmqV+EPqN2iAB3ovUUP6SH+k=; b=f82RfsntEueppF/eremvR9/1Df2Gvo2FvEZWcEHZO0+Jov3gIE5JA2vE8TtH1Gwq7P WmmPl/dOdeAj7CVqrs2KhLc42Py8R6aMr0hSoi+1C6VvVRDMnnbij6wKXYojWGU6quJ9 eGMHqxvRIahK5Kwgs+V31Qa3ML/GMbDlGOf+yCvs95GhY171llSzBrQ5vnyMvL+pKHxo ETAjyf7uMEAmxU35ATAVKLhY+HI+j+eg4ypC+tB8M8DUbUxRV5D0+/zCeaLHF3NZ6aZv dCivBQIVJVcYkhFMS6OiRLFluC16FKTBCgKVC0Bl2N9gijfTK6WmtMTw5FLd6ln5zBPH QB2Q== X-Gm-Message-State: AE9vXwN717o6/SiA+oC2KDGWE9w+SnlpdpS9XLa4C5XLDH5QEZjXVMuGSKx9WyomnwXyOcSVZqqlhiLUxr1bRA== X-Received: by 10.157.33.15 with SMTP id i15mr10186139otb.75.1472653894516; Wed, 31 Aug 2016 07:31:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.50.86 with HTTP; Wed, 31 Aug 2016 07:31:34 -0700 (PDT) In-Reply-To: References: <91B24DF7-4F53-4DEF-A600-755A69368B79@apple.com> From: valerij zaporogeci Date: Wed, 31 Aug 2016 17:31:34 +0300 Message-ID: To: Michael Zimmermann Cc: edk2-devel 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 14:31:36 -0000 Content-Type: text/plain; charset=UTF-8 yes. it does as you said. very confusing in fact. 2016-08-31 6:54 GMT+03:00, Michael Zimmermann : > 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 >> >