GNU bug report logs - #65826
[PATCH] Add nonce support for gnutls-hash-mac

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: SK Kim <tttuuu888@HIDDEN>; Keywords: patch; dated Fri, 8 Sep 2023 16:00:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 65826 <at> debbugs.gnu.org:


Received: (at 65826) by debbugs.gnu.org; 9 Sep 2023 05:50:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 09 01:50:29 2023
Received: from localhost ([127.0.0.1]:45930 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeqrU-0007SC-GY
	for submit <at> debbugs.gnu.org; Sat, 09 Sep 2023 01:50:29 -0400
Received: from mail-vk1-xa34.google.com ([2607:f8b0:4864:20::a34]:45111)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tttuuu888@HIDDEN>) id 1qeqrO-0007Ro-7X
 for 65826 <at> debbugs.gnu.org; Sat, 09 Sep 2023 01:50:26 -0400
Received: by mail-vk1-xa34.google.com with SMTP id
 71dfb90a1353d-49352207f33so1052388e0c.2
 for <65826 <at> debbugs.gnu.org>; Fri, 08 Sep 2023 22:50:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694238613; x=1694843413; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=6zaZtFgt7Z9cHmt/jI0Qzj1A0lY908+5FQovlFUnGhw=;
 b=pQQuOL9nZWXi1GAousnrrniVDod05TLQBKGO+JXplwxIX/iSdZTzZjdDvLqzonAZGi
 LGgbYLZfZOjsPtP9boIgEL7gaMH8rxeoD0oI9KDbtGh7kp9ixmynaunPqaXLuYtcV7Bc
 OjHHBM5xy+4izqlx0L/LwfVP8dcn1R5CpW1q3UbU/KnpFnQKEbZQ8xwV3P/dJxEp23Yu
 owsQBqnjZEJLI1GzqHu0vunQiqydMm04dTqILNTsPPGcR9Ux+P/8vNze4inpJ+sBjVD+
 v8OsrIsLpPtGwscfdAo2QtIZF8OCKQ7onWhaN9GN9iynDVQvQXV6oA+Dnr+6pJybpM+H
 IZog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694238613; x=1694843413;
 h=cc: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=6zaZtFgt7Z9cHmt/jI0Qzj1A0lY908+5FQovlFUnGhw=;
 b=Pv913gNDQASEPz4xTA0OgLBy1RGCWnBeaCe1m+yoOdzWOCQHzH18riIoWyA3SHwe7x
 Yn74KS1fPj3xasmTHlpUSqMBAW3r22FJdYx/EvQsd21ASqvkgEwG9HFuLMaJunXcUcpC
 LYiY3lYA2+yOttzaf/IH+WXbcz9AOWJkaF2jMVFeKiopNmsVEtXsYOrHm6Ph1fAKJG0y
 hEef5KN5FyV5i02GoHVp2ZUXE5u+oihzjptuxmuirfOwSFFz6qFmtbBeR3B78FWWy+rL
 WxGkS7JGTPZ+pE0kFSrENiXhvMpdkW4czAHVRNRnEh6RcQ6cupixUi/VvPzOgE51jz18
 FIsg==
X-Gm-Message-State: AOJu0Yzfh0x9DAL8OpYh2VfKACS6+deXYialENMa0aeOcb/5PruvTYmz
 2r9W5tOdHlnGK62VgFLEuIS0I42aFpihTsxOkZY=
X-Google-Smtp-Source: AGHT+IHqMTrnliDeZ3BXRnc7+N/s6iUv5lfn0LtGBi1PdSMuCjFWfgxQcX8P3bHXrvdYsHH8dTubV3g295AneKDGNZ0=
X-Received: by 2002:a05:6102:2825:b0:44d:547d:7e84 with SMTP id
 ba5-20020a056102282500b0044d547d7e84mr4309931vsb.28.1694238613380; Fri, 08
 Sep 2023 22:50:13 -0700 (PDT)
MIME-Version: 1.0
References: <CAKYNWwQN08JFCpedr+tAT3-0VkfYhQuys25Ku3enh8A0jVkPeA@HIDDEN>
 <CADwFkmniRnR=Z73ObxD8f_8UE8HgEao6YSoaRut9Co4H9CzDfg@HIDDEN>
 <CAKYNWwS7NGt-kRzcz2camtF4uPrPAjRhOve5-yEPshwA20NoEA@HIDDEN>
 <CADwFkmkLQzRXGibdhbovc40inHJ4T3u1jVV=t+HAc_CxTTJAGA@HIDDEN>
In-Reply-To: <CADwFkmkLQzRXGibdhbovc40inHJ4T3u1jVV=t+HAc_CxTTJAGA@HIDDEN>
From: Seungki Kim <tttuuu888@HIDDEN>
Date: Sat, 9 Sep 2023 14:50:02 +0900
Message-ID: <CAKYNWwR4_bsSGFyT-S9gwc7UKawNBuydqjV86EnN0TvD96wDpg@HIDDEN>
Subject: Re: bug#65826: [PATCH] Add nonce support for gnutls-hash-mac
To: Stefan Kangas <stefankangas@HIDDEN>
Content-Type: multipart/mixed; boundary="000000000000b77fc90604e6aa9b"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 65826
Cc: Ted Zlatanov <tzz@HIDDEN>, 65826 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--000000000000b77fc90604e6aa9b
Content-Type: multipart/alternative; boundary="000000000000b77fc60604e6aa99"

--000000000000b77fc60604e6aa99
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I would like to update the patch to add more unit tests covering
SHA256/512, AES-GMAC-128/192/256 with nonce arguments.
GMAC test vectors are from NIST CAVP SP 800-38D.
I tried to keep the existing format as much as possible while only adding
additional unit tests.
Thanks.

2023=EB=85=84 9=EC=9B=94 9=EC=9D=BC (=ED=86=A0) =EC=98=A4=EC=A0=84 1:41, St=
efan Kangas <stefankangas@HIDDEN>=EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1:

> Seungki Kim <tttuuu888@HIDDEN> writes:
>
> > It seems like test/lisp/net/gnutls-tests.el would be the right place to
> add
> > unit tests for my patch.(Please let me know if it is not)
>
> It looks like the right place, yes.
>
> > I will update the patch adding unit tests on this thread as soon as it =
is
> > ready.
>
> Great, thank you.
>
> I'm also copying in Ted Zlatanov in case he has any comments.
>

--000000000000b77fc60604e6aa99
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">I would like to update the patch to add more unit tests coveri=
ng SHA256/512, AES-GMAC-128/192/256 with nonce arguments.<br>GMAC test vect=
ors are from NIST CAVP SP 800-38D. <br>I tried to keep the existing format =
as much as possible while only adding additional unit tests.<br>Thanks.<br>=
</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_=
attr">2023=EB=85=84 9=EC=9B=94 9=EC=9D=BC (=ED=86=A0) =EC=98=A4=EC=A0=84 1:=
41, Stefan Kangas &lt;<a href=3D"mailto:stefankangas@HIDDEN">stefankanga=
s@HIDDEN</a>&gt;=EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">Seungki Kim &lt;<a href=3D"mailto=
:tttuuu888@HIDDEN" target=3D"_blank">tttuuu888@HIDDEN</a>&gt; writes:=
<br>
<br>
&gt; It seems like test/lisp/net/gnutls-tests.el would be the right place t=
o add<br>
&gt; unit tests for my patch.(Please let me know if it is not)<br>
<br>
It looks like the right place, yes.<br>
<br>
&gt; I will update the patch adding unit tests on this thread as soon as it=
 is<br>
&gt; ready.<br>
<br>
Great, thank you.<br>
<br>
I&#39;m also copying in Ted Zlatanov in case he has any comments.<br>
</blockquote></div>

--000000000000b77fc60604e6aa99--

--000000000000b77fc90604e6aa9b
Content-Type: text/x-patch; charset="US-ASCII"; 
	name="0002-add-unit-tests-for-gnutls-hash-mac.patch"
Content-Disposition: attachment; 
	filename="0002-add-unit-tests-for-gnutls-hash-mac.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_lmbludoj0>
X-Attachment-Id: f_lmbludoj0

ZGlmZiAtLWdpdCBhL3Rlc3QvbGlzcC9uZXQvZ251dGxzLXRlc3RzLmVsIGIvdGVzdC9saXNwL25l
dC9nbnV0bHMtdGVzdHMuZWwKaW5kZXggY2I5MTE1NzczODUuLjBmMmYzOWFhZDY3IDEwMDY0NAot
LS0gYS90ZXN0L2xpc3AvbmV0L2dudXRscy10ZXN0cy5lbAorKysgYi90ZXN0L2xpc3AvbmV0L2du
dXRscy10ZXN0cy5lbApAQCAtMTgxLDE2ICsxODEsNDYgQEAgdGVzdC1nbnV0bHMtMDAzLWhhc2hl
cy1obWFjcwogICAoc2tpcC11bmxlc3MgKG1lbXEgJ21hY3MgKGdudXRscy1hdmFpbGFibGUtcCkp
KQogICAoc2V0cSBnbnV0bHMtdGVzdHMtbWVzc2FnZS1wcmVmaXggIkhNQUMgdmVy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XVhbCBy
ZXN1bHQgaGFzaCkpKSkpKSkKIAo=
--000000000000b77fc90604e6aa9b--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#65826; Package emacs. Full text available.

Message received at 65826 <at> debbugs.gnu.org:


Received: (at 65826) by debbugs.gnu.org; 8 Sep 2023 16:41:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 08 12:41:27 2023
Received: from localhost ([127.0.0.1]:45368 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeeXu-0001ho-VT
	for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 12:41:27 -0400
Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:52376)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qeeXs-0001ha-9V
 for 65826 <at> debbugs.gnu.org; Fri, 08 Sep 2023 12:41:25 -0400
Received: by mail-lj1-x22e.google.com with SMTP id
 38308e7fff4ca-2b962535808so39982621fa.0
 for <65826 <at> debbugs.gnu.org>; Fri, 08 Sep 2023 09:41:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694191275; x=1694796075; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=mSD/PYW+fJZ9/WYPks0WcVgwADwQM6Zk1yf53bg+jR8=;
 b=bt91CYMmKwyymnb2zWh3doO4Add7r2tmhAEKd9znqjMViuAKbNQqU3yYFeTGRadjNt
 5rXdQk69KMwQRb4nqtEaH+Wu0XAhIzsQHsQwXd5ViqGJrX2WMoOr7RnvEQ6Bywj+Ods5
 oMky8/8zLdCpnkjOP72xTqtjUiafot4LAWJnE233waQlYhwzUUfAGYOlD2J0gBSzu+UP
 CS6WLVY94EhtIj+XKXri44RW6tyridA/yilrewCXPpTjwbxdfXT+C5WqB4oAcjogY01m
 YKFoxJz1pEgxELOhx/0KFWTMdzCvFAQda4ywENHnPBhM8NT2V4j0Hh7jhlKb+GTDOiXD
 8RjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694191275; x=1694796075;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=mSD/PYW+fJZ9/WYPks0WcVgwADwQM6Zk1yf53bg+jR8=;
 b=iUkDO4+Ff9NGq04XpsjRVUKDYhC1o69ZuHZAmAPJELthXwX7lik2tzCRYAoc4RDrq7
 ATuc9+DnQZjiS5VsJoQnnZqnfJ7QPmUjE1LR2KqU3uOGRjFCj9BXgl0rW3KF02whgou0
 9DyztJYCzwMK1visyYJ2vkFrRXtjWZGL0LSMKmH75MN9kjFFful5De83hCKIb+YQn6ah
 myXbd5inpYOsVFZloPfwRZPO5sNeaBlcPFnxcddnPyGaGnFf35dIht6QmX9Mq6HI7ZPk
 MWQUn+qERSWonZMhuUvPYicvbqEcohrMnv11xJbnpBu3QQu7QIaI3ziBHXvEzPlmfWwh
 U6Fg==
X-Gm-Message-State: AOJu0YzVlfB8RnRbCZp8DEjHttSDx7G/PbkDztW8ag7FXWDPruLcv9kx
 wCWef/6Qs5N+ps3+csKr1YjgyHgNPR3sPDOAGHt1aLzP
X-Google-Smtp-Source: AGHT+IHG1+Rp9w3zGM/SAsv6f+t5YuFetO8kd96AM1wa4va13z6yAVapw+I6ihCutfRpnm2c2bhkNYSl/FjftTpWtSE=
X-Received: by 2002:a2e:2c13:0:b0:2bc:df3f:7140 with SMTP id
 s19-20020a2e2c13000000b002bcdf3f7140mr2264604ljs.17.1694191275226; Fri, 08
 Sep 2023 09:41:15 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 8 Sep 2023 09:41:14 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <CAKYNWwS7NGt-kRzcz2camtF4uPrPAjRhOve5-yEPshwA20NoEA@HIDDEN>
References: <CAKYNWwQN08JFCpedr+tAT3-0VkfYhQuys25Ku3enh8A0jVkPeA@HIDDEN>
 <CADwFkmniRnR=Z73ObxD8f_8UE8HgEao6YSoaRut9Co4H9CzDfg@HIDDEN>
 <CAKYNWwS7NGt-kRzcz2camtF4uPrPAjRhOve5-yEPshwA20NoEA@HIDDEN>
MIME-Version: 1.0
Date: Fri, 8 Sep 2023 09:41:14 -0700
Message-ID: <CADwFkmkLQzRXGibdhbovc40inHJ4T3u1jVV=t+HAc_CxTTJAGA@HIDDEN>
Subject: Re: bug#65826: [PATCH] Add nonce support for gnutls-hash-mac
To: Seungki Kim <tttuuu888@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65826
Cc: Ted Zlatanov <tzz@HIDDEN>, 65826 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Seungki Kim <tttuuu888@HIDDEN> writes:

> It seems like test/lisp/net/gnutls-tests.el would be the right place to add
> unit tests for my patch.(Please let me know if it is not)

It looks like the right place, yes.

> I will update the patch adding unit tests on this thread as soon as it is
> ready.

Great, thank you.

I'm also copying in Ted Zlatanov in case he has any comments.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#65826; Package emacs. Full text available.

Message received at 65826 <at> debbugs.gnu.org:


Received: (at 65826) by debbugs.gnu.org; 8 Sep 2023 16:33:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 08 12:33:51 2023
Received: from localhost ([127.0.0.1]:45347 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeeQY-0001Vg-Uc
	for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 12:33:51 -0400
Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]:51586)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tttuuu888@HIDDEN>) id 1qeeQX-0001VT-BS
 for 65826 <at> debbugs.gnu.org; Fri, 08 Sep 2023 12:33:49 -0400
Received: by mail-vs1-xe2d.google.com with SMTP id
 ada2fe7eead31-45088c95591so996702137.3
 for <65826 <at> debbugs.gnu.org>; Fri, 08 Sep 2023 09:33:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694190821; x=1694795621; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=3iDYGQCgGKuN72+t7m0LizZHbYThsFVjapWplAWNVwE=;
 b=evrPk6CNnG1SOc0bDsTHRni8Q0o2DPSQCgxSsht6Fh6sQJWEOcm4P3y21+4g/LvrRN
 ReoewyT/U8dCzwsR3ofL8UOm9iAh/oCFaCpTgpcocPMcFx5k02r7k4D77ZUvsLFQxMW7
 j/7DQ2N9LaC+2041yJWl+b7AAt4AjBFvZc55+OjYFtSTRCW91i5j8vaEKRUoa8qkc3M7
 V1gfEy7egS302GqP2OuYv9tn/XeA+GISVvYHaprLNShIJ+ZpmhRm9/EPn/kiohyVIaV7
 dA/dFLCJqdwfqU4Bln32MJLzABhp8FHczPy5N4wrzVZy1N9IeS0jtNQkZsKB/NFXoBwp
 Popg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694190821; x=1694795621;
 h=cc: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=3iDYGQCgGKuN72+t7m0LizZHbYThsFVjapWplAWNVwE=;
 b=X/3rA+H6HIaD6K9N8G3FroSqpB30KxCRp1AVrm1OHvba8K9ah9bI1cdLKPmNEmp96m
 LsKO703jCQ/jSlT272Wp+AO5Cp/eojztFqEv/fhkcD1fObUd+m29z/8/vI6A1re4AIrq
 SDWh8kLsN/Zmv58lN13ke31b5D/rVjfeXLTY5QFX4gw03mAopIGTziMEoc9hqYWQOzFO
 SQDIuldzvX5UpfLIwWlK8U+/fUnVWMBzT5ZnNad7CzDlNPmidGj+mRFK+zlNL9vvbYW+
 9Xwox4raZniyxy4pAswMijGImRM/wDXx54XQJbcwk9mmOw9/yGXBNmzAIbZ13q+oGPqF
 A9/A==
X-Gm-Message-State: AOJu0Yy/Z/QZLzchH4Xa1zpf+Yd/c3GIWgdJP2KcjOHj5zWIfK8KSfJz
 atpyVrta3j0ZT3Nz+cwY1I4WQKWM7Oj67l1tN6tDWFsZIII=
X-Google-Smtp-Source: AGHT+IGyfRjZrGpqVsomKojRPTHKNvX3yMMmpWZbqjtV8me9r2d5oHUYFMuIMthxvXgsgZ/SXojqftI3/5brVPIWFp4=
X-Received: by 2002:a67:f601:0:b0:44d:3d24:c1a1 with SMTP id
 k1-20020a67f601000000b0044d3d24c1a1mr2995175vso.9.1694190821205; Fri, 08 Sep
 2023 09:33:41 -0700 (PDT)
MIME-Version: 1.0
References: <CAKYNWwQN08JFCpedr+tAT3-0VkfYhQuys25Ku3enh8A0jVkPeA@HIDDEN>
 <CADwFkmniRnR=Z73ObxD8f_8UE8HgEao6YSoaRut9Co4H9CzDfg@HIDDEN>
In-Reply-To: <CADwFkmniRnR=Z73ObxD8f_8UE8HgEao6YSoaRut9Co4H9CzDfg@HIDDEN>
From: Seungki Kim <tttuuu888@HIDDEN>
Date: Sat, 9 Sep 2023 01:33:30 +0900
Message-ID: <CAKYNWwS7NGt-kRzcz2camtF4uPrPAjRhOve5-yEPshwA20NoEA@HIDDEN>
Subject: Re: bug#65826: [PATCH] Add nonce support for gnutls-hash-mac
To: Stefan Kangas <stefankangas@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000146f1e0604db8ad8"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 65826
Cc: 65826 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--000000000000146f1e0604db8ad8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thank you for your good suggestion.

It seems like test/lisp/net/gnutls-tests.el would be the right place to add
unit tests for my patch.(Please let me know if it is not)
I will update the patch adding unit tests on this thread as soon as it is
ready.

Thanks.

2023=EB=85=84 9=EC=9B=94 9=EC=9D=BC (=ED=86=A0) =EC=98=A4=EC=A0=84 1:18, St=
efan Kangas <stefankangas@HIDDEN>=EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1:

> SK Kim <tttuuu888@HIDDEN> writes:
>
> > As far as I understood, currently `gnutls-hash-mac' does not support
> nonce
> > input, so there is no way to properly hash with some MAC algorithms whi=
ch
> > require nonce. (e.g AES-GMAC-128)
> > So I suggest adding an optional argument NONCE to `gnutls-hash-mac' to
> > support MAC algorithms with nonce.
> >
> > What I have tested after applying the attached patch are as below.
> > 1. AES-GMC-128/192/256 works correctly.
> > 2. NONCE does not affect SHA256/SHA512 hash results, even if presented.
> >
> > Since NONCE is added as an optional argument, I believe it will not eve=
n
> > affect existing code using the 'gnutls-hash-mac' function.
>
> Sounds useful.  Could you add unit tests for this, though?  In
> particular, it would be good to test your number 1 and 2 above.
>

--000000000000146f1e0604db8ad8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace">Thank you for your good suggestion.<br><br>It=
 seems like test/lisp/net/gnutls-tests.el would be the right place to add u=
nit tests for my patch.(Please let me know if it is not)<br>I will update t=
he patch adding unit tests on this thread as soon as it is ready.</div><div=
 class=3D"gmail_default" style=3D"font-family:monospace,monospace"><br>Than=
ks.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">2023=EB=85=84 9=EC=9B=94 9=EC=9D=BC (=ED=86=A0) =EC=98=A4=EC=A0=84=
 1:18, Stefan Kangas &lt;<a href=3D"mailto:stefankangas@HIDDEN">stefanka=
ngas@HIDDEN</a>&gt;=EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1:<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex">SK Kim &lt;<a href=3D"mailto:t=
ttuuu888@HIDDEN" target=3D"_blank">tttuuu888@HIDDEN</a>&gt; writes:<b=
r>
<br>
&gt; As far as I understood, currently `gnutls-hash-mac&#39; does not suppo=
rt nonce<br>
&gt; input, so there is no way to properly hash with some MAC algorithms wh=
ich<br>
&gt; require nonce. (e.g AES-GMAC-128)<br>
&gt; So I suggest adding an optional argument NONCE to `gnutls-hash-mac&#39=
; to<br>
&gt; support MAC algorithms with nonce.<br>
&gt;<br>
&gt; What I have tested after applying the attached patch are as below.<br>
&gt; 1. AES-GMC-128/192/256 works correctly.<br>
&gt; 2. NONCE does not affect SHA256/SHA512 hash results, even if presented=
.<br>
&gt;<br>
&gt; Since NONCE is added as an optional argument, I believe it will not ev=
en<br>
&gt; affect existing code using the &#39;gnutls-hash-mac&#39; function.<br>
<br>
Sounds useful.=C2=A0 Could you add unit tests for this, though?=C2=A0 In<br=
>
particular, it would be good to test your number 1 and 2 above.<br>
</blockquote></div></div>

--000000000000146f1e0604db8ad8--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#65826; Package emacs. Full text available.

Message received at 65826 <at> debbugs.gnu.org:


Received: (at 65826) by debbugs.gnu.org; 8 Sep 2023 16:18:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 08 12:18:51 2023
Received: from localhost ([127.0.0.1]:45301 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeeC3-0006t0-74
	for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 12:18:51 -0400
Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:62637)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qeeBy-0006sj-74
 for 65826 <at> debbugs.gnu.org; Fri, 08 Sep 2023 12:18:50 -0400
Received: by mail-lj1-x231.google.com with SMTP id
 38308e7fff4ca-2be5e2a3c86so40022041fa.0
 for <65826 <at> debbugs.gnu.org>; Fri, 08 Sep 2023 09:18:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694189918; x=1694794718; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ebbR0orv2/qMQzAzrcYaXaHZjtkAtSwQKvKO3bweGMQ=;
 b=PIvIDKr0sXqrJxbzYjPZ51+31M5qvX58mrRs8+itJyO5VOi6XZCgpeeKyGzIs18xeY
 5YoMkfNIKYDmkAV/C1XdYRty5SWcHw0bRY6pYlfR6kvbTz60u2wsMYFn49B1ueU7kyzK
 yCELYnQ6eDk+PdyQwZgRA4GP2cUTLj7qtgkakORMk18HfwnGc/64M5dUYlGF4SJDyG9p
 prSvMD8U7yApPVo8BXDwXBCff3/KUi8t4olgNMBMiWkqSaB0u1B84hB8bF+nCapV5mEr
 TO7NEz6g6Mb5MpfisptF+nhhKkR5voFuzk/lOBTpFXCQgL1Lv5WXZK/s+dHS3fpvKcB0
 qh1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694189918; x=1694794718;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=ebbR0orv2/qMQzAzrcYaXaHZjtkAtSwQKvKO3bweGMQ=;
 b=uselUvQdJj+eC9RnS8lPPCtJsbQ+S3hGH2nb1zFy7BNXu6kcM01it2LqZ0YkGNhGeZ
 LnzD+B5k7diLPy9ZEt/EcCPyBjPzO3Ni1lbfbQIw7OgcTDdCaWJyvCgUb/FuYpsKCtCp
 xd+VBm9b5hhNGlGNJj3GvLvtFVNk3t3NTWcjTdT6gsl/l3BIW4+8jq2Go/y9ZQ9vI7GY
 Zoscfh3ucG6YlZTmgZR3U3rSvr6PRyI7p3gr98GYb7raHNMbro9LgQiIUpkdc+JDp4xy
 ZyaU2vI/9bw4z3lkI0wdVuwj0sVtXYBM0EE8EPI/q3ETKJm03d2z+qYx6RXW8PBFMtef
 JPXw==
X-Gm-Message-State: AOJu0YxoCO70RMYxOZgRhcsBSz39RTxiRMAZrekh2gX7R7gWQZq0RTWc
 98isaLimkgihLx6LJI1NEH8pr+LcnCj2gihqiHc=
X-Google-Smtp-Source: AGHT+IFKoNAMuwsSeKsLXDmgPOSUKn3Dw++r4Mdpvl3qs4LFNBtnWKWbIqFGkSspmSiRVPDfE54CU4rSX0mPPgtfyyA=
X-Received: by 2002:a2e:b752:0:b0:2be:58a8:1ac with SMTP id
 k18-20020a2eb752000000b002be58a801acmr2463692ljo.1.1694189917619; Fri, 08 Sep
 2023 09:18:37 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 8 Sep 2023 09:18:37 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <CAKYNWwQN08JFCpedr+tAT3-0VkfYhQuys25Ku3enh8A0jVkPeA@HIDDEN>
References: <CAKYNWwQN08JFCpedr+tAT3-0VkfYhQuys25Ku3enh8A0jVkPeA@HIDDEN>
MIME-Version: 1.0
Date: Fri, 8 Sep 2023 09:18:37 -0700
Message-ID: <CADwFkmniRnR=Z73ObxD8f_8UE8HgEao6YSoaRut9Co4H9CzDfg@HIDDEN>
Subject: Re: bug#65826: [PATCH] Add nonce support for gnutls-hash-mac
To: SK Kim <tttuuu888@HIDDEN>, 65826 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65826
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

SK Kim <tttuuu888@HIDDEN> writes:

> As far as I understood, currently `gnutls-hash-mac' does not support nonce
> input, so there is no way to properly hash with some MAC algorithms which
> require nonce. (e.g AES-GMAC-128)
> So I suggest adding an optional argument NONCE to `gnutls-hash-mac' to
> support MAC algorithms with nonce.
>
> What I have tested after applying the attached patch are as below.
> 1. AES-GMC-128/192/256 works correctly.
> 2. NONCE does not affect SHA256/SHA512 hash results, even if presented.
>
> Since NONCE is added as an optional argument, I believe it will not even
> affect existing code using the 'gnutls-hash-mac' function.

Sounds useful.  Could you add unit tests for this, though?  In
particular, it would be good to test your number 1 and 2 above.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#65826; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Sep 2023 15:59:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 08 11:59:18 2023
Received: from localhost ([127.0.0.1]:45282 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qedt8-0006Ni-BK
	for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 11:59:18 -0400
Received: from lists.gnu.org ([2001:470:142::17]:36782)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tttuuu888@HIDDEN>) id 1qedt6-0006NQ-Cu
 for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 11:59:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tttuuu888@HIDDEN>)
 id 1qedsx-0004xH-O1
 for bug-gnu-emacs@HIDDEN; Fri, 08 Sep 2023 11:59:07 -0400
Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tttuuu888@HIDDEN>)
 id 1qedsv-0008RX-Cm
 for bug-gnu-emacs@HIDDEN; Fri, 08 Sep 2023 11:59:07 -0400
Received: by mail-ua1-x933.google.com with SMTP id
 a1e0cc1a2514c-78caeb69125so920973241.3
 for <bug-gnu-emacs@HIDDEN>; Fri, 08 Sep 2023 08:59:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694188743; x=1694793543; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=1oRq1atVcS5PIKXpvjDnsAaMKmKwkvcR3y9Ipe2wi5k=;
 b=rYpD+veXhp5ef2rLDfyB21or9KMF2vQubQeTH/u60W2YBkLO4fxnVjDqNyA2fOYbB5
 2LiWbcGVsTJ/rqbKNAT6MiaHebDfaAv0kxSu8UpSPR/dDL0iy2p//SMF03i3hxiNSuUF
 wotN2DRTAtn9xfPsT6FQf5wpqMhGnFu882CUtsG/94ZOZAAMOpU8WME/APsoRi3m+iPv
 qenJJ4n7YGaa1cLK6iiH2+j+PHnLXTuSVp8AUo6Pe7BmriC+fvmwxw9AowaJCuxPNJZ4
 to45DCBiDJTVHTqcQ6RbONgbidX3OJAKoFlAW4nCfjBjbaHLNvfwkqt4SnvLL8tcpcwV
 /U7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694188743; x=1694793543;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=1oRq1atVcS5PIKXpvjDnsAaMKmKwkvcR3y9Ipe2wi5k=;
 b=KC6RRDiLcNZTJ9LDOgJuyi+QxdGLVkJiKNVP+9K+MSmsSHIbmnO0cHSKcPhfsqsud2
 4JX70kCHIQKwvdfIt1LZjitdhZO1q0uiA95IJXJIIGIsJsOqf7UOzOX8lxUzHIAf7FBD
 VtMangMhNwjypWFjSepNSggpyMa/AW9BRodYsx7bu7LQzzNOj2Qbz4q8OGIK2Me26Tj5
 GS9PthAELMZpdt3UEAqBgbAcTFFAM0qhLD51RwbAiyoUjnYdiSpIeYPIpGMEWyDdBNAk
 UC7J7M+7pvD0ASpJlKh5f3SHbvY//ElkQmR2OGI29qaKle7V2uEIdSga9n3dLBULXwkU
 IRXQ==
X-Gm-Message-State: AOJu0Ywxtwvgh9OyJP4JAOlcUM7SVQHtc/032xv8qN+kjVOEuoet7WnB
 6A2dZcLb9nOG5Uj+ExeuokENhx0bWyWyXy0vhL4qWFTgzjQ=
X-Google-Smtp-Source: AGHT+IE5UpjyNE2yMpfDrEw3B7ctjxbEJBJLN7CDvqxxJwaeB1TwNs/BduACPOfltVdheP/42+bBcfACZtJQj3T5wOM=
X-Received: by 2002:a67:f999:0:b0:44d:5178:23cb with SMTP id
 b25-20020a67f999000000b0044d517823cbmr3123846vsq.27.1694188743536; Fri, 08
 Sep 2023 08:59:03 -0700 (PDT)
MIME-Version: 1.0
From: SK Kim <tttuuu888@HIDDEN>
Date: Sat, 9 Sep 2023 00:58:52 +0900
Message-ID: <CAKYNWwQN08JFCpedr+tAT3-0VkfYhQuys25Ku3enh8A0jVkPeA@HIDDEN>
Subject: [PATCH] Add nonce support for gnutls-hash-mac
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/mixed; boundary="0000000000003dc7f10604db0e1f"
Received-SPF: pass client-ip=2607:f8b0:4864:20::933;
 envelope-from=tttuuu888@HIDDEN; helo=mail-ua1-x933.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi, As far as I understood, currently `gnutls-hash-mac' does
 not support nonce input, so there is no way to properly hash with some MAC
 algorithms which require nonce. (e.g AES-GMAC-128) So I suggest addi [...]
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (tttuuu888[at]gmail.com)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (tttuuu888[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--0000000000003dc7f10604db0e1f
Content-Type: multipart/alternative; boundary="0000000000003dc7ef0604db0e1d"

--0000000000003dc7ef0604db0e1d
Content-Type: text/plain; charset="UTF-8"

Hi,

As far as I understood, currently `gnutls-hash-mac' does not support nonce
input, so there is no way to properly hash with some MAC algorithms which
require nonce. (e.g AES-GMAC-128)
So I suggest adding an optional argument NONCE to `gnutls-hash-mac' to
support MAC algorithms with nonce.

What I have tested after applying the attached patch are as below.
1. AES-GMC-128/192/256 works correctly.
2. NONCE does not affect SHA256/SHA512 hash results, even if presented.

Since NONCE is added as an optional argument, I believe it will not even
affect existing code using the 'gnutls-hash-mac' function.

Thanks.

Seungki Kim

--0000000000003dc7ef0604db0e1d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">Hi,<br><br>As far as I understood, currently `gnutls-hash-mac&=
#39; does not support nonce input, so there is no way to properly hash with=
 some MAC algorithms which require nonce. (e.g AES-GMAC-128)<br>So I sugges=
t adding an optional argument NONCE to `gnutls-hash-mac&#39; to support MAC=
 algorithms with nonce.<br><br>What I have tested after applying the attach=
ed patch are as below.<br>1. AES-GMC-128/192/256 works correctly.<br>2. NON=
CE does not affect SHA256/SHA512 hash results, even if presented.<br><br>Si=
nce NONCE is added as an optional argument, I believe it will not even affe=
ct existing code using the &#39;gnutls-hash-mac&#39; function.<br><br>Thank=
s.<br><br>Seungki Kim<br></div></div>

--0000000000003dc7ef0604db0e1d--

--0000000000003dc7f10604db0e1f
Content-Type: text/x-patch; charset="US-ASCII"; 
	name="0001-add-nonce-support-for-gnutls-hash-mac.patch"
Content-Disposition: attachment; 
	filename="0001-add-nonce-support-for-gnutls-hash-mac.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_lmarzhft0>
X-Attachment-Id: f_lmarzhft0

ZGlmZiAtLWdpdCBhL3NyYy9nbnV0bHMuYyBiL3NyYy9nbnV0bHMuYwppbmRleCBlM2YxMDkzZDk3
Ny4uMjZkZDE3ZTY3M2MgMTAwNjQ0Ci0tLSBhL3NyYy9nbnV0bHMuYworKysgYi9zcmMvZ251dGxz
LmMKQEAgLTI3NDAsNyArMjc0MCw3IEBAIERFRlVOICgiZ251dGxzLWRpZ2VzdHMiLCBGZ251dGxz
X2RpZ2VzdHMsIFNnbnV0bHNfZGlnZXN0cywgMCwgMCwgMCwKICAgcmV0dXJuIGRpZ2VzdF9hbGdv
cml0aG1zOwogfQogCi1ERUZVTiAoImdudXRscy1oYXNoLW1hYyIsIEZnbnV0bHNfaGFzaF9tYWMs
IFNnbnV0bHNfaGFzaF9tYWMsIDMsIDMsIDAsCitERUZVTiAoImdudXRscy1oYXNoLW1hYyIsIEZn
bnV0bHNfaGFzaF9tYWMsIFNnbnV0bHNfaGFzaF9tYWMsIDMsIDQsIDAsCiAgICAgICAgZG9jOiAv
KiBIYXNoIElOUFVUIHdpdGggSEFTSC1NRVRIT0QgYW5kIEtFWSBpbnRvIGEgdW5pYnl0ZSBzdHJp
bmcuCiAKIFJldHVybiBuaWwgb24gZXJyb3IuCkBAIC0yNzUyLDExICsyNzUyLDE2IEBAIERFRlVO
ICgiZ251dGxzLWhhc2gtbWFjIiwgRmdudXRsc19oYXNoX21hYywgU2dudXRsc19oYXNoX21hYywg
MywgMywgMCwKIFRoZSBJTlBVVCBjYW4gYW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JHbnVUTFMgTUFDICVzIGluaXRpYWxpemF0aW9uIGZhaWxlZDog
JXMiLAogCSAgIGdudXRsc19tYWNfZ2V0X25hbWUgKGdtYSksIGVtYWNzX2dudXRsc19zdHJlcnJv
ciAocmV0KSk7CiAKKyAgaWYgKCFOSUxQIChub25jZSkpCisgICAgeworICAgICAgaWYgKEJVRkZF
UlAgKG5vbmNlKSB8fCBTVFJJTkdQIChub25jZSkpCisgICAgICAgIG5vbmNlID0gbGlzdDEgKG5v
bmNlKTsKKworICAgICAgQ0hFQ0tfQ09OUyAobm9uY2UpOworCisgICAgICBwdHJkaWZmX3QgbnN0
YXJ0X2J5dGUsIG5lbmRfYnl0ZTsKKyAgICAgIGNvbnN0IGNoYXIgKm5kYXRhCisgICAgICAgID0g
ZXh0cmFjdF9kYXRhX2Zyb21fb2JqZWN0IChub25jZSwgJm5zdGFydF9ieXRlLCAmbmVuZF9ieXRl
KTsKKyAgICAgIGlmIChuZGF0YSA9PSBOVUxMKQorICAgICAgICBlcnJvciAoIkdudVRMUyBNQUMg
bm9uY2UgZXh0cmFjdGlvbiBmYWlsZWQiKTsKKworICAgICAgZ251dGxzX2htYWNfc2V0X25vbmNl
IChobWFjLAorCQkJICAgICBuZGF0YSArIG5zdGFydF9ieXRlLCBuZW5kX2J5dGUgLSBuc3RhcnRf
Ynl0ZSk7CisgICAgfQorCiAgIHB0cmRpZmZfdCBpc3RhcnRfYnl0ZSwgaWVuZF9ieXRlOwogICBj
b25zdCBjaGFyICppZGF0YQogICAgID0gZXh0cmFjdF9kYXRhX2Zyb21fb2JqZWN0IChpbnB1dCwg
JmlzdGFydF9ieXRlLCAmaWVuZF9ieXRlKTsK
--0000000000003dc7f10604db0e1f--




Acknowledgement sent to SK Kim <tttuuu888@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#65826; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 10 Sep 2023 08:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.