[CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits
Mihir Bellare <mbellare@ucsd.edu> Fri, 07 March 2025 19:36 UTC
Return-Path: <mbellare@ucsd.edu>
X-Original-To: cfrg@mail2.ietf.org
Delivered-To: cfrg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 198808F2664 for <cfrg@mail2.ietf.org>; Fri, 7 Mar 2025 11:36:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -0.796
X-Spam-Level:
X-Spam-Status: No, score=-0.796 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URI_DOTEDU=1.999] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=ucsd.edu header.b="wzKZ/hy4"; dkim=pass (1024-bit key) header.d=ucsd.edu header.b="OFVe3MuK"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J3sQyvsBMRRb for <cfrg@mail2.ietf.org>; Fri, 7 Mar 2025 11:35:59 -0800 (PST)
Received: from mx0b-0016e101.pphosted.com (mx0b-0016e101.pphosted.com [148.163.141.31]) by mail2.ietf.org (Postfix) with ESMTP id CDEA48F2653 for <cfrg@irtf.org>; Fri, 7 Mar 2025 11:35:59 -0800 (PST)
Received: from pps.filterd (m0151358.ppops.net [127.0.0.1]) by mx0b-0016e101.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 527JS0v6011861 for <cfrg@irtf.org>; Fri, 7 Mar 2025 11:35:59 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=campus; bh=99P7+aLh/wpffNMnySp3bfMC4QL 9h7hvOjkm8vDjlW8=; b=wzKZ/hy4NfDuqqDa+JCl5WHoWyMknZe5u4cJ5i4kNMk CTgCD3hCrI+EGdWftxysWMkGn9wQSIQKo5kQ+Y/QKHjC9tdgs7sa4YHkDljXqXgv QrSzQlHJ2b1JlGfZjgWXGx1xCQvEr5OabBFDEc4mII44UV4M8VYr9LVbus7sBaZW WbgJtWpOObNbXrqvPYYwc5OB4rsPRL2qAk/i2pRf8zmqsMHEdwD3MLDcyDoEb1Iq fTFs0PE6LXhvwClP8Qm8EmLhIq12ofCXLjsLb45uBofWVplFH+wiMYnU2oZGAhA5 wnu6fLhpCdt3i0YtevonofZnA1Qffx4WtYTHcNlMvhw==
Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by mx0b-0016e101.pphosted.com (PPS) with ESMTPS id 457k4w9nbw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for <cfrg@irtf.org>; Fri, 07 Mar 2025 11:35:58 -0800 (PST)
Received: by mail-yb1-f197.google.com with SMTP id 3f1490d57ef6-e63464bebbfso588737276.3 for <cfrg@irtf.org>; Fri, 07 Mar 2025 11:35:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; s=google; t=1741376158; x=1741980958; darn=irtf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=99P7+aLh/wpffNMnySp3bfMC4QL9h7hvOjkm8vDjlW8=; b=OFVe3MuKnamKedv/H/IA6lpt+UAWIP3t/5yzfZtgD4Y9ZxY4sc5mfbdcP3CXHW3Q9M pTRJO8/af5itTsXXDa1cM/j/9BrNEI3crIrXj1yy4rxCK7Pd/2LJXyx+IdpErB5mbEUL vAGqGY9CmBxyEFkLQge86I/V+OpP8XFBFLQn0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741376158; x=1741980958; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=99P7+aLh/wpffNMnySp3bfMC4QL9h7hvOjkm8vDjlW8=; b=X/tSzex6+mliWn8yglrj0FQDandzZZEv0gcEQT4Z34vOQ4ywkfpw2ofzBIIgjdynEh Hv0SnQOmLbJ1rEYJ7v7L6W6NihrhA2LaccCBWTsL83d2+4SZ/hf/6fbsMJ/JmHEHbus6 jY5DLM3cu1TeANiVrqvrYr1P7ao38xChiMvtqjLeGzccaArSPzgrpNsvjFMFbC3IBjmn etz0+0Jpq7gr3FrN14LgDoFdj+IeRi3vurLOhT2PngNa9iH4LBesIIcK5GxeD/CIk2EM R1pP9DdgOy4j59DpWr/VktQm+a3uuEVUG+5dgcwR6S3EXMj6ZylXrrWPLjje4Wt5IteG bBZQ==
X-Gm-Message-State: AOJu0YzzI7bsdgzyYwlGndvTFuFyjXQCnBPKcXFg+96MXAoa0Q8zq4Te /BnEf2hI7WY1PjewKIXtQ+psGLUHa6M6JVwiLooNjoxhMaibHiGKEDm1F0MtaBDQTixAKuZLzYT V72EMwCo/AUPrLsloJzSdhqEerULW5qZ7Qf3fNCEb1g87u/6woYz38yGIxBRde1RIfq5AxsJTcR 3GKTBcQEk8gi4253RXTZ6xNIGb3g==
X-Gm-Gg: ASbGncs4BrIqif5/DOoqSrE33KTfB0eEjl/pRQ4O7RSQVja4YVQRUpH3xW+JxyGkDVz ktvU/mMyzflFMN3sCZpkQcIyNubU1y871v/jD5N9zo+0E1pmdWfVHByjLHNNMDRBde7Y6u40m
X-Received: by 2002:a05:6902:1692:b0:e60:9d12:c1d4 with SMTP id 3f1490d57ef6-e6371d8047dmr109063276.1.1741376158153; Fri, 07 Mar 2025 11:35:58 -0800 (PST)
X-Google-Smtp-Source: AGHT+IEb7zIgRMUDXI5+QdLKzKnAoqvyOxTJvoMVfbP/wBr7wb0DAZiDhL/4i13t+MtpbdxPIttQ0uMCk2EwaUitv+4=
X-Received: by 2002:a05:6902:1692:b0:e60:9d12:c1d4 with SMTP id 3f1490d57ef6-e6371d8047dmr109047276.1.1741376157708; Fri, 07 Mar 2025 11:35:57 -0800 (PST)
MIME-Version: 1.0
References: <AS5PR07MB9675B4B72C3E7956A5DCA1D089CA2@AS5PR07MB9675.eurprd07.prod.outlook.com> <20250306143247.85841.qmail@cr.yp.to> <CABATvwhCiuqzXOaGzV8Q+yB88SONw5zYJMtDU9NSyLk=cpr3Ww@mail.gmail.com> <CABATvwjU=6Br5fyqS=j-2nUJxsU9LTa2PGHjviANWS40Qw5Jfg@mail.gmail.com>
In-Reply-To: <CABATvwjU=6Br5fyqS=j-2nUJxsU9LTa2PGHjviANWS40Qw5Jfg@mail.gmail.com>
From: Mihir Bellare <mbellare@ucsd.edu>
Date: Fri, 07 Mar 2025 11:35:21 -0800
X-Gm-Features: AQ5f1JoCmLi8Myc29YUItT7sruVejgtaGLPLmnEL7E1nbqHdXZnwNpyJpXBCOIo
Message-ID: <CABATvwgQR64RxEyvHJGudL1KipTR4k9ZCh_TbX_Ch3oK7ZGRyQ@mail.gmail.com>
To: cfrg@irtf.org
Content-Type: multipart/alternative; boundary="0000000000004d44f2062fc5bb57"
X-campus_gsuite: gsuite_33445511
X-Proofpoint-GUID: GDglCybfa2-XSvNmoCZnfH4cIHLlLiFF
X-Proofpoint-ORIG-GUID: GDglCybfa2-XSvNmoCZnfH4cIHLlLiFF
pp_allow_relay: proofpoint_allowed
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-07_07,2025-03-07_01,2024-11-22_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 impostorscore=0 mlxlogscore=551 lowpriorityscore=0 priorityscore=1501 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=-50 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2503070147
Message-ID-Hash: THNCZIAQ7N4LSN5ETCNKHV45YWKTDFYW
X-Message-ID-Hash: THNCZIAQ7N4LSN5ETCNKHV45YWKTDFYW
X-MailFrom: mbellare@ucsd.edu
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/unJ8TQy80sDQTJFq9wFRQ85fkj8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>
I had a quick look at the draft and had a few questions.
"Rekeying uses a lightweight transform to produce new keys." Not sure what
is meant; is a function being applied to an existing key to derive subkeys?
If so, I am not sure it is quite true that "Rekeying effectively resets
progress toward single-key limits". Analyses of rekeying that I know (eg.
[AB00] <https://cseweb.ucsd.edu/~mihir/papers/rekey.pdf>) do show some
improvement but not to the extent of resetting to single-key limits, and it
also depends on how the rekeying is done. But I may be missing other
analyses or what is meant by rekeying or what is meant by the phrase in
quotes.
The attacker success probability also depends on its running time, denoted
o in the table, but I am not sure if, or how, this is getting taken into
account in the bounds. Yet it does (or should) affect them. For example,
5.1.1 says
CA <= ((s + q + 1)^2) / 2^129
So if s=q=1 this says CA <= 9/2^{129} but this isn't true for any realistic
running time for the attacker. For example if o = 2^{64} (which may even be
over optimistic) then even with s=q=1 we have CA > 2^{64}/2^k which is
1/2^{64} if k=128. So running time sets some lower limits on CA regardless
of s,q, and this will also affect the bound on q+s which would be a
function of o in addition to p. Another dimension is that currently Section
5 gives the same bounds for AEAD_AES_128_GCM and AEAD_AES_256_GCM but when
attacker running time is considered we would expect to see differences due
to the different values of k, and the bounds should be better for k=256.
Perhaps the draft is making some assumptions or approximations here that I
am missing?
Regards,
Mihir
- [CFRG] RGLC on draft-irtf-cfrg-aead-limits Stanislav V. Smyshlyaev
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Tereschenko, Aleksandr V
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Stanislav V. Smyshlyaev
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Stanislav V. Smyshlyaev
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Eric Rescorla
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Loganaden Velvindron
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Stanislav V. Smyshlyaev
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Salz, Rich
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Paterson Kenneth
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits John Mattsson
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits D. J. Bernstein
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Felix Günther
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Mihir Bellare
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Martin Thomson
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits D. J. Bernstein
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Mihir Bellare
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Felix Günther
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Felix Günther
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits John Mattsson
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Felix Günther
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Salz, Rich
- [CFRG] Re: RGLC on draft-irtf-cfrg-aead-limits Paterson Kenneth