Re: [Cbor] Packed CBOR review

Brendan Moran <Brendan.Moran@arm.com> Thu, 17 June 2021 13:55 UTC

Return-Path: <Brendan.Moran@arm.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 923083A2091 for <cbor@ietfa.amsl.com>; Thu, 17 Jun 2021 06:55:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=OoOPmro6; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=OoOPmro6
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nUj0LUGL454t for <cbor@ietfa.amsl.com>; Thu, 17 Jun 2021 06:55:55 -0700 (PDT)
Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-eopbgr90073.outbound.protection.outlook.com [40.107.9.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F11D53A208F for <cbor@ietf.org>; Thu, 17 Jun 2021 06:55:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A5fTASv+7NECQLnXqiVtgRTWS9HCHiukolPvLVK/0EA=; b=OoOPmro6pcPbqCqk8SOT2JAS/7zGk7iyL/1uf7dDJkeSGbwX/gvL7PJ1c10EuMePHbY5pVQWBR27j491pZrIXmTf7BRV6jrSx7mUlIR/j0gBQSOvcFirp0Gz8FvRlo7z4DTlpL6u7AwEpK9T8dMEgIs//Y37Ij6kCieIVVLZFDA=
Received: from AM5PR1001CA0049.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:15::26) by PR2PR08MB4809.eurprd08.prod.outlook.com (2603:10a6:101:1a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Thu, 17 Jun 2021 13:55:48 +0000
Received: from AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:15:cafe::f4) by AM5PR1001CA0049.outlook.office365.com (2603:10a6:206:15::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 13:55:48 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=pass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT009.mail.protection.outlook.com (10.152.16.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 13:55:48 +0000
Received: ("Tessian outbound e42494175638:v93"); Thu, 17 Jun 2021 13:55:48 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: 05823e309f051c28
X-CR-MTA-TID: 64aa7808
Received: from 97e11f10b101.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4F49FB0C-E350-4945-AE29-585B31B5DB82.1; Thu, 17 Jun 2021 13:55:28 +0000
Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 97e11f10b101.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Jun 2021 13:55:28 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a/vTQ2s8pHklDXxnTH/ASCrGxYbdYhyiHETePvnG3NoslBeLndrkjS3DZOWDrkoMsC286lxehQYnU2PPKVH6ru+qdAixAbTfhRIcAdh1WqFvOkEl4bEcLNqiCGOZ9dzlYKIFzRq/UttLlHpgiWj/JOicCsKuLU/aaIYv0a2ZAXolxWJ5qxug5OjFnOmw3EF9p3h9f3ZV5yzEJWguflHn/fmyc35+ImI61NmVszNae5MYksGd69tCfH004827eIi5Jo+7DF5xjnA+3V9WAfUUuQt+KmKBJecJBhxWtkBQF7e67h43vpXRZ9D3c2V9b7zMrc3/PYXX93X0TZAndl2LYA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A5fTASv+7NECQLnXqiVtgRTWS9HCHiukolPvLVK/0EA=; b=hHAwxg7zp5FWvBHDMxOuNzZyYBtiJjkKm8SRWd7BjqEa877eUtTpj0cEYJ3mJ4z01Q63QvP2k9Mq8c9Kjw1EBzAD/guJfmyISRREk3W19F3W/aSSOnghR6qL9ZX2MoXRB4rkeH2uGMfuOBZuN5txRPMS2sMh22PeadnOYIZWhaDVNHt8s5h7jci05ZP5ehAj7XjwqqtuX2wLltttAkYsAgBIFKviLq7Vj+8PHO/ckPUVW4EeB86/Ek+AO3pyz2GfncfPPSW6HFqiBAfIjegYyBf7Jj/ybEKnRmfJJOs0GEbPAPoedszSB7y8T7kYVZQ0A1Pbpw0R2/HR/44UrZ636w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A5fTASv+7NECQLnXqiVtgRTWS9HCHiukolPvLVK/0EA=; b=OoOPmro6pcPbqCqk8SOT2JAS/7zGk7iyL/1uf7dDJkeSGbwX/gvL7PJ1c10EuMePHbY5pVQWBR27j491pZrIXmTf7BRV6jrSx7mUlIR/j0gBQSOvcFirp0Gz8FvRlo7z4DTlpL6u7AwEpK9T8dMEgIs//Y37Ij6kCieIVVLZFDA=
Received: from DBAPR08MB5576.eurprd08.prod.outlook.com (2603:10a6:10:1ae::11) by DB8PR08MB5162.eurprd08.prod.outlook.com (2603:10a6:10:ee::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.19; Thu, 17 Jun 2021 13:55:25 +0000
Received: from DBAPR08MB5576.eurprd08.prod.outlook.com ([fe80::3487:4e34:2e16:5521]) by DBAPR08MB5576.eurprd08.prod.outlook.com ([fe80::3487:4e34:2e16:5521%3]) with mapi id 15.20.4242.019; Thu, 17 Jun 2021 13:55:25 +0000
From: Brendan Moran <Brendan.Moran@arm.com>
To: Carsten Bormann <cabo@tzi.org>
CC: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] Packed CBOR review
Thread-Index: AQHXYpEHP1YPTS/t6U2wn+lIJtSz1asWnBuAgAFPYgCAAARngIAAH7cAgAAEZ4CAACezgA==
Date: Thu, 17 Jun 2021 13:55:25 +0000
Message-ID: <621D44E4-6948-4CD7-81D5-6125E36262B4@arm.com>
References: <8713C3AB-71C0-4EC0-8977-15F80EC11309@arm.com> <212CE7EA-73BC-47BF-B192-D2D523F4A376@tzi.org> <33C84949-0F9C-432C-9C94-DE2C9EE17976@arm.com> <3F367A6D-5CAD-474F-AFEE-DF1AC9A34135@tzi.org> <146F670A-48EA-4A90-B77C-4CCC535F1DB1@arm.com> <6195BD3A-A031-47BD-866E-AF3D4D423A0B@tzi.org>
In-Reply-To: <6195BD3A-A031-47BD-866E-AF3D4D423A0B@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3654.100.0.2.22)
Authentication-Results-Original: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=arm.com;
x-originating-ip: [80.7.184.196]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-Correlation-Id: 848bcccc-eb5d-47a2-f344-08d931979c6f
x-ms-traffictypediagnostic: DB8PR08MB5162:|PR2PR08MB4809:
X-Microsoft-Antispam-PRVS: <PR2PR08MB48094EB8A06AD94D567D452EEA0E9@PR2PR08MB4809.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:8882;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: aGZj/cGtMEq3LbHb9OlGW1XjrYNL1trFKQ9FjavW1HUE6as79lmR77wivfYFwglkZniU+h1foZgzaZECnSnthEryp4FHm9FWVwXaPoX9UtKbmdztvMTN/2X7CDwEMIJdo/b3KuoZfgTl0aDZXwhu6v0B1CsnjSxHk1Etn7YE0ToLPb81I4FRmiHEw+1jMXUOezX3A2bVnGuuRiUBw0REuFo0Ftm4A2zoWrw5J0FDxq1n78Vv2lVbcOfJ7T3ZBJONKwZdqMRQ9oBS2GvyRDOsxFxb0OOmU9b/XKUz5L6BEVG0MbJC7Q5kciwCWVsfERprJkA1mDSALhAvQLAiUEhV/no5XCR1KzwdcI5z+LFI1c5YTsmmLwut5PsjTCY04qyuuqYgcLZkBaNEhhoUoL9/RrRvM1r6smjIlkYP40N9HTN5LsmTMXBNP7sml2AI/R7snXpxhxR0BgBNEs7/sJGvTZ2Xe2C7KN3MWdY4t8gwFO8x1e24i8n/GvxSIIjDPMTKKOdWteyHKUWhdBsC/gfbhUOnmz9zG8SqS2qMfnOKMwAr8KVREb9d9eWz7lq5xcodh92Il7cl+H3KXZxIHT9k3us1AW6EhV+Lcd9ZxuAvED3emxpNFPMhGxUHoT6EVO+m/esGZ+D3VffKW6yezZlHGLL1elhCI6Z3s/hBaARMNL4QKNdIrDNGcHO4kbbhOjCTOMp/QH0lAdVwqtCHVZkm9V/na85DBpQWxVT7zgF+N9sk6+HilwyHFnm7ZAMxQ3UmaCBPYScKb6+ftbUAbIy5Qw==
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5576.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(39850400004)(136003)(396003)(4326008)(86362001)(2906002)(36756003)(5660300002)(38100700002)(122000001)(6916009)(316002)(6506007)(6512007)(53546011)(6486002)(26005)(66556008)(478600001)(66476007)(91956017)(186003)(66946007)(33656002)(8936002)(2616005)(8676002)(83380400001)(71200400001)(66446008)(64756008)(76116006)(966005)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MkdROVQ2bVV2ZEZIbDYxVVZPL2VxWTJIZVBmbVFsWWdHL1Ura3pDYkc5MWxB?= =?utf-8?B?VXArVDNHeXBNZnpxYjIrYWU4M2VVNG9tekJ2cWovZ05RTkdLL1UzZ3NLQklO?= =?utf-8?B?aGc5cVVJY3hhOU9wcW1SOG5oSkpScUNGZ1BTOXAyQnBLSWptaGNZSm9acmxi?= =?utf-8?B?KzJJSkhibGwzbmcxamUzSGFjaHc5KzVvYTd3YlNwN1A4V0ZLaDRtWXpGd2hQ?= =?utf-8?B?MHNIQ2RJUnhDOGZteHc1TkEzZ3AyWnFVTkluM2ZqVkJMczF5Q1M0WE55K2Zu?= =?utf-8?B?QzZVSDJkVDJMR1kyQW5WV3BvU3lOc3doK1dvSXhXSGpEdXhRdGs3cHVKV0Z1?= =?utf-8?B?cEFMSnVrTWpucThZd041RGFsZmJ0Z2dQeWVJeSs3MjJ5MHYycmo0MnVWZVU5?= =?utf-8?B?eWltOTFzSTF1dXB4TXlpTVlNSi9lbDNyeEEyRG1COFBMRHEwcEVHUkhWcU4y?= =?utf-8?B?bFN0WlJlMzRSTE52enEvVVk0R0pvYUpabFAxdC8vMWhYNU02VlZ1YjIzTWpC?= =?utf-8?B?VS9GWmZiYmpDM0Z4WmNTYjdNWUJIWHJFUzFJS0w2c0NKd3ZlQ3doTGRrQkh3?= =?utf-8?B?d2c4THUrcjJEcEV2ZzFlVmNWS2RhTUw3d2dSZHRJV3FLeU8wRXpudThXdHlF?= =?utf-8?B?ckpmWFNiZHF1SHhIS2N5WXZ2akJ4cTk4bkRoSG04N1lmODFVQmM5b3JTT2dK?= =?utf-8?B?ZFZucWJnZGxadlllU0Q5WUJ1TVhleVI3QmZPcDVPbkVjWWpRcEk4LzZLMlRC?= =?utf-8?B?ckxua2YzdkRQMjRscHl0Q3RzOUJUSkMyS29DU1pvaWFrQnlaWU5Jb1hkTkk0?= =?utf-8?B?WHpuQlFvSUhvc1RqMjl5a1JscExLdlo4NFp4OWl0MmZxS2ZwNWlLSXB1TzJz?= =?utf-8?B?NjdDcVFQOXlERUJxREZUVitoMUhndUpmeWFOVUpkUTc3MDVvM2tiTHNlL2g1?= =?utf-8?B?SEF4dXVvZEUyTk1SeENHVHRYYmM2aktObThJbHNJWEU1cDVVNHE5enBEbEdI?= =?utf-8?B?SXhaMFVBTlRTODk0YlRJU25PS2lCSjRXVE9QREM0MHZ1cjJIbHo3dXVHcURG?= =?utf-8?B?amZUa3FxUlBaVnE1R1RhV21RaVZsZW5CY2VIcmd2WkxaT1pQcHA0MHBScnZB?= =?utf-8?B?Q3FPdjRGVjVvalhzTGMrTjV5cTQzSllRNGg5bUxndnJMVW1ZbjNXRGRSNmdL?= =?utf-8?B?ak1JOVU2Z2ZaRzAyVWpYWG0zVkdINlRZVkRGSFFFR3JIalRnTHpMRDlZOElM?= =?utf-8?B?VWlha3ZucS9acjJIaVFqZVFDeEtnZnBMMStqTWpEMmtmeDlMSDBGR1FZeFcw?= =?utf-8?B?QlFJbkFNUUlFbnp2NGxzYUdLRjJidExnU0xSUkVQWWNHSzdRZEs2SUcrQ1p0?= =?utf-8?B?NFFjNjllbW1INHNOT1RrdU5IRlI3OTZjcmxtSlpZeVBhMERyV0ZieDRXUHB5?= =?utf-8?B?b0FvTFFVV2J5bDZVdGt2YTlLTkpwNDRoUit1ZFl3M3Y4eWtGcGRpY3o5cnNF?= =?utf-8?B?c1BXb3BSSXBkV2NUT1RQT2dBa0M4b2VZalZRL2o2NjU3Z0FOWlczVzVQZjJY?= =?utf-8?B?MFRUeWEyV3BaV1lidnMzcEhnWVpJMzFzTUZQdDlWdUR1UUxINXVub0lBQURP?= =?utf-8?B?MG5EanIvQkVpZ1JNZ1NmTFNEZUV6UTlGSnJMRTNNUnkwcm9LaVhKWjFHbTF0?= =?utf-8?B?a0RhWGJGaUdlWUR4YjMrUS8vUm5mUzk3aEN3QnQ0RGRyUEJFNlo2ZmYwZ1Q5?= =?utf-8?Q?hHUMTkU273S1HWARrdkvW6BNzNYDlKY/qVB6rpM?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <6025CE4027E140478E2BD15D9198F5EE@eurprd08.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5162
Original-Authentication-Results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs: 2f24b383-77ff-409a-9c66-08d931978ef4
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: mUB0OWU4ncM3pQnwyYW16oq+Muq58iXqUAIyRx+HgjqLEVCBhhbvaop7wTYWDnkdv02y5SDnDQ8LWAQa6KBrNtT6mk7J+xDZU9xlQpgGTfmqN4Yx5QxK31ehcnJW6wuzO4GZ2XINC4QvMJ9vP/m3HH6MobRKKkWx1lXzO/m4Pt73H62/2/KXjAZpyocG+5JziZhWb+efmWz4jp1yS41euzio8Ze+9xdKRguwmPQN/3g+Pp9ZpDdoxnSxZbSu+KxyxM0tOairnYgUIE9BcQ4zm/bN0xabVGDTbuZTzRSzUEcjOVm9RjMuzUhvgg5Y+2Fv4A7UjbcKlxgC0FqVUXdgIOsE0cOeUgJjwczek7TddOHL1g3PR425BUR/ze0ABDaCvksQXPGfXhwMZ7Xriaq9i0PaEOHYyAFXKLFhjuz/qU7QyqZmhOq1ESd1pulcDyyC17BkH9fOeYUfEptKJdcBaZv0SwvVm5oief8s1op7iklsJgpB5rv7i86j/mE2+Wa0/L1Hbxk3u58+TUlyZhoNJRYdDIkhOGf4QerG0aFrAjEVh7rakRZc3o8GFBTad+OqEIKpYvuRfeiAfcajqut4LY/fmi1RUl0k1eVa7lrGYGCKL6DKnlGEBv2iOhZQoK84tQelxBD2NYvsPmqWSzEPeCaSgsBbuPTJzFW9dEiedT0JqbeAYt7zvyu/XK4UYQ+AjXNOWbSPV86Lxl5EKhg9peuGTY8VLRmTxdx64BGgccGDHIkGyNQo7lKRKmW4hDR7lk+4xy9rCqMse9J/JFLm8g==
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(39860400002)(346002)(376002)(396003)(136003)(36840700001)(46966006)(36860700001)(8676002)(6512007)(6862004)(6486002)(186003)(36756003)(82740400003)(81166007)(70586007)(5660300002)(82310400003)(4326008)(336012)(47076005)(8936002)(33656002)(6506007)(26005)(53546011)(83380400001)(356005)(86362001)(966005)(316002)(2616005)(70206006)(478600001)(2906002); DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2021 13:55:48.3421 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 848bcccc-eb5d-47a2-f344-08d931979c6f
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4809
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/lqqDKIK1S5AnsiFSyKEhrAgRlJI>
Subject: Re: [Cbor] Packed CBOR review
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jun 2021 13:56:00 -0000

It would be nice if this had some CDDL so that I could reference it in other specifications.

Best Regards,
Brendan

> On 17 Jun 2021, at 12:33, Carsten Bormann <cabo@tzi.org> wrote:
>
>
>> On 2021-06-17, at 13:17, Brendan Moran <Brendan.Moran@arm.com> wrote:
>>
>>> How would the hash reference specify the algorithm?
>>> (I think CFRG would tell us that collision resistance between algorithms isn’t a well-defined property.)
>>
>> We could possibly reuse SUIT digest definitions for this:
>> suit-digest = [algorithm-id : uint, digest: bstr]
>>
>> If we use a second tag for the reference table setup, this is unambiguous.
>>
>> Alternatively, cbor-wg or cose-wg could define tags for common digest algorithms.
>
> I thought COSE did: https://datatracker.ietf.org/doc/draft-ietf-cose-hash-algs/
> (in RFC editor queue; registrations already done) did this:
>
>   | Name        | Value | Recommended |
>   |-------------|-------|-------------|
>   | SHA-1       |   -14 | Filter Only |
>   | SHA-256/64  |   -15 | Filter Only |
>   | SHA-256     |   -16 | Yes         |
>   | SHA-384     |   -43 | Yes         |
>   | SHA-512     |   -44 | Yes         |
>   | SHA-512/256 |   -17 | Yes         |
>   | SHAKE128    |   -18 | Yes         |
>   | SHAKE256    |   -45 | Yes         |
>
> Grüße, Carsten
>

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.