[Cellar] Re: [PATCH] ffv1: Support CRC with initial -1 and final -1 values
Michael Niedermayer <michael@niedermayer.cc> Thu, 26 September 2024 00:39 UTC
Return-Path: <michael@niedermayer.cc>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07E2CC180B4F for <cellar@ietfa.amsl.com>; Wed, 25 Sep 2024 17:39:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=niedermayer.cc
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X_zefxVb2qLj for <cellar@ietfa.amsl.com>; Wed, 25 Sep 2024 17:39:25 -0700 (PDT)
Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 02A21C17C882 for <cellar@ietf.org>; Wed, 25 Sep 2024 17:39:24 -0700 (PDT)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 230EF1C0002 for <cellar@ietf.org>; Thu, 26 Sep 2024 00:39:21 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1727311162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UBscCQzoaAEHN1zSOYU2oprroRjoFVZmMlNYmt5U55Y=; b=o6O80Obb/wNGyQdJWwnvWX9AA2zKO4M0odUXttWdJF32zT4JFmRuILfB/79jAJMnvXxxb1 Z3xTHoabSOFSBlzyQVF3nl8yYGQBJKVM3no57MbfodzwbSrLmXJ08S2VCt4gLf8/WaaazL lPsvWALiGwHk1H0SxLIJvcn2ZrNJ9+hYD65wojVs+VabhxaXRcK2MQ0adbTpcM4yzI0Z07 +JV1OtGgpCE0w0F/d7ZM6QTWWhPIFDa4NTVdbDERV4iTFQSYay6E4kgPtDpXOZsSGGsN0V rRya1O18S60uYQ5xw0jPybD5wehmSrVVVsalYKR7ZXVm1uwP049Nvh8l4lSMGA==
Date: Thu, 26 Sep 2024 02:39:21 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: cellar@ietf.org
Message-ID: <20240926003921.GE4917@pb2>
References: <20240925080616.28255-1-michael@niedermayer.cc>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="N/iv6CF8Cw0RUFb3"
Content-Disposition: inline
In-Reply-To: <20240925080616.28255-1-michael@niedermayer.cc>
X-GND-Sasl: michael@niedermayer.cc
Message-ID-Hash: KJTAKGUU4FLGGJCUVKTZGKMXUCOWRAHK
X-Message-ID-Hash: KJTAKGUU4FLGGJCUVKTZGKMXUCOWRAHK
X-MailFrom: michael@niedermayer.cc
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cellar.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cellar] Re: [PATCH] ffv1: Support CRC with initial -1 and final -1 values
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/g4J8VXqNkuvzBJHqKVTZRm1r9ts>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Owner: <mailto:cellar-owner@ietf.org>
List-Post: <mailto:cellar@ietf.org>
List-Subscribe: <mailto:cellar-join@ietf.org>
List-Unsubscribe: <mailto:cellar-leave@ietf.org>
On Wed, Sep 25, 2024 at 10:06:16AM +0200, Michael Niedermayer wrote: > This allows detection of appended and prepended 0 bits. > Previously a correct block could have 0 bits added before and > after it and this would not be detected with the CRC. > > I am not aware of such a case actually occurring in the real world but this > should improve the performance of the checksum slightly > > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > ffv1.md | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/ffv1.md b/ffv1.md > index bb5361d..5c1e290 100644 > --- a/ffv1.md > +++ b/ffv1.md > @@ -1267,7 +1267,8 @@ Figure: Description of the coding of `initial_state_delta[ i ][ j ][ k ]`. {#fig > |value | error detection/correction type | > |------|:------------------------------------------| > |0 | 32-bit CRC in `ConfigurationRecord` | > -|1 | 32-bit CRC in `Slice` and `ConfigurationRecord`| > +|1 | 32-bit CRC in `Slice` and `ConfigurationRecord` using crcref=0 as initial and final values| > +|2 | 32-bit CRC in `Slice` and `ConfigurationRecord` using crcref=-1 as initial and final values| > |Other | reserved for future use | > Table: The definitions for `ec` values. {#tableEc} Does someone want an option like a SHA-256 or something "stronger" than a CRC ? or some kind of error correction code, but iam not sure this is the right place for that thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf
- [Cellar] [PATCH] ffv1: Support CRC with initial -… Michael Niedermayer
- [Cellar] Re: [PATCH] ffv1: Support CRC with initi… Michael Niedermayer
- [Cellar] Re: [PATCH] ffv1: Support CRC with initi… Michael Niedermayer
- [Cellar] Re: [PATCH] ffv1: Support CRC with initi… Michael Niedermayer
- [Cellar] Re: [PATCH] ffv1: Support CRC with initi… Jerome Martinez
- [Cellar] Re: [PATCH] ffv1: Support CRC with initi… Steve Lhomme