Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

If you analyse anything, you destroy it. -- Arthur Miller


devel / comp.lang.forth / Re: Ascon, the new "lightweight" cryptography standard

SubjectAuthor
* Ascon, the new "lightweight" cryptography standardBrad Eckert
`* Re: Ascon, the new "lightweight" cryptography standardMarcel Hendrix
 +- Re: Ascon, the new "lightweight" cryptography standardnone
 +* Re: Ascon, the new "lightweight" cryptography standardminforth
 |`* Re: Ascon, the new "lightweight" cryptography standardMarcel Hendrix
 | +- Re: Ascon, the new "lightweight" cryptography standardminforth
 | `- Re: Ascon, the new "lightweight" cryptography standardHowerd
 `* Re: Ascon, the new "lightweight" cryptography standardS
  `* Re: Ascon, the new "lightweight" cryptography standarddxf
   `* Re: Ascon, the new "lightweight" cryptography standardBrad Eckert
    +- Re: Ascon, the new "lightweight" cryptography standarddxf
    `- Re: Ascon, the new "lightweight" cryptography standardminforth

1
Ascon, the new "lightweight" cryptography standard

<ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24932&group=comp.lang.forth#24932

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5de7:0:b0:66d:268d:b0f7 with SMTP id jn7-20020ad45de7000000b0066d268db0f7mr157023qvb.0.1697349665399;
Sat, 14 Oct 2023 23:01:05 -0700 (PDT)
X-Received: by 2002:a05:6808:2001:b0:3ac:b428:844d with SMTP id
q1-20020a056808200100b003acb428844dmr14874646oiw.8.1697349665209; Sat, 14 Oct
2023 23:01:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sat, 14 Oct 2023 23:01:04 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=72.217.63.66; posting-account=6GCGIQoAAAAyO8IjR_VTwqiqLwx0Q_G8
NNTP-Posting-Host: 72.217.63.66
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
Subject: Ascon, the new "lightweight" cryptography standard
From: hwfwguy@gmail.com (Brad Eckert)
Injection-Date: Sun, 15 Oct 2023 06:01:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Brad Eckert - Sun, 15 Oct 2023 06:01 UTC

From NIST's news release on February 07, 2023:

Lightweight Cryptography Standardization Process: NIST Selects Ascon

"The team has decided to standardize the Ascon family for lightweight cryptography applications as it meets the needs of most use cases where lightweight cryptography is required. Congratulations to the Ascon team! NIST thanks all of the finalist teams and the community members who provided feedback that contributed to the selection."

Ascon's claim to fame is that it provides Authenticated encryption with associated data (AEAD) more efficiently than AES-GCM etc. It also hashes. Getting NIST's blessing is a huge win that opens a lot of doors.

The team's website is https://ascon.iaik.tugraz.at/ which points to many years of technical papers as well as hardware and software implementations.

ANS Forth is not in the list, FYI. In case someone wants to implement Ascon in Forth.

Re: Ascon, the new "lightweight" cryptography standard

<c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24933&group=comp.lang.forth#24933

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:6201:b0:419:a33e:e6fa with SMTP id hj1-20020a05622a620100b00419a33ee6famr119633qtb.5.1697361141074;
Sun, 15 Oct 2023 02:12:21 -0700 (PDT)
X-Received: by 2002:a4a:3314:0:b0:57e:1631:8c6 with SMTP id
q20-20020a4a3314000000b0057e163108c6mr10261588ooq.1.1697361140858; Sun, 15
Oct 2023 02:12:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 15 Oct 2023 02:12:20 -0700 (PDT)
In-Reply-To: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:a971:4bdb:683:90a0;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:a971:4bdb:683:90a0
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: mhx@iae.nl (Marcel Hendrix)
Injection-Date: Sun, 15 Oct 2023 09:12:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Marcel Hendrix - Sun, 15 Oct 2023 09:12 UTC

On Sunday, October 15, 2023 at 8:01:07 AM UTC+2, Brad Eckert wrote:
> From NIST's news release on February 07, 2023:
>
> Lightweight Cryptography Standardization Process: NIST Selects Ascon

When encryption is needed, who'd select an algorithm that is less secure
than others, and is promoted by a government controlled agency :--)

-marcel

Re: Ascon, the new "lightweight" cryptography standard

<nnd$799a21f9$3ecfff88@cea8e8af5cec60ea>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24936&group=comp.lang.forth#24936

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com> <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$799a21f9$3ecfff88@cea8e8af5cec60ea>
Organization: KPN B.V.
Date: Sun, 15 Oct 2023 13:27:04 +0200
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 30
Injection-Date: Sun, 15 Oct 2023 13:27:04 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2025
 by: none - Sun, 15 Oct 2023 11:27 UTC

In article <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>,
Marcel Hendrix <mhx@iae.nl> wrote:
>On Sunday, October 15, 2023 at 8:01:07 AM UTC+2, Brad Eckert wrote:
>> From NIST's news release on February 07, 2023:
>>
>> Lightweight Cryptography Standardization Process: NIST Selects Ascon
>
>When encryption is needed, who'd select an algorithm that is less secure
>than others, and is promoted by a government controlled agency :--)

It is easy to implement a secure RSA encryption with tools like dc bc.
All data concerning the U-bot in France during world war II fits in a
10 K file. That is 80,000 bits and 40 loops of a 2048 bit RSA.

Even if it cost one minute per loop, that is bearable. On the premise
that the data is worth encrypting.

What the industry wants is encrypt data that shouldn't like video's.
There speed is of paramount importance, or it becomes a big nuisance.

>
>-marcel

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat spinning. - the Wise from Antrim -

Re: Ascon, the new "lightweight" cryptography standard

<3417e9a9-9d9c-43b1-8fd5-3e8114baf85dn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24942&group=comp.lang.forth#24942

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:6759:0:b0:40d:b839:b5bb with SMTP id n25-20020ac86759000000b0040db839b5bbmr154060qtp.2.1697396451147;
Sun, 15 Oct 2023 12:00:51 -0700 (PDT)
X-Received: by 2002:a05:6871:5213:b0:1e9:baa0:63f6 with SMTP id
ht19-20020a056871521300b001e9baa063f6mr3845556oac.2.1697396450918; Sun, 15
Oct 2023 12:00:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 15 Oct 2023 12:00:50 -0700 (PDT)
In-Reply-To: <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f3d:4163:3c13:8eee:ba88:f1eb;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f3d:4163:3c13:8eee:ba88:f1eb
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com> <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3417e9a9-9d9c-43b1-8fd5-3e8114baf85dn@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: minforth@arcor.de (minforth)
Injection-Date: Sun, 15 Oct 2023 19:00:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: minforth - Sun, 15 Oct 2023 19:00 UTC

Marcel Hendrix schrieb am Sonntag, 15. Oktober 2023 um 11:12:22 UTC+2:
> On Sunday, October 15, 2023 at 8:01:07 AM UTC+2, Brad Eckert wrote:
> > From NIST's news release on February 07, 2023:
> >
> > Lightweight Cryptography Standardization Process: NIST Selects Ascon
> When encryption is needed, who'd select an algorithm that is less secure
> than others, and is promoted by a government controlled agency :--)
>

No reason for paranoia:

The chosen algorithms are designed to protect information created and transmitted by the Internet of Things (IoT), including its myriad tiny sensors and actuators. They are also designed for other miniature technologies such as implanted medical devices, stress detectors inside roads and bridges, and keyless entry fobs for vehicles. Devices like these need “lightweight cryptography” — protection that uses the limited amount of electronic resources they possess. According to NIST computer scientist Kerry McKay, the newly selected algorithms should be appropriate for most forms of tiny tech.

Re: Ascon, the new "lightweight" cryptography standard

<fe329c7b-333b-49ab-8392-d7372a5f9978n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24943&group=comp.lang.forth#24943

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:7f09:0:b0:412:2d47:701d with SMTP id f9-20020ac87f09000000b004122d47701dmr543783qtk.0.1697397962135;
Sun, 15 Oct 2023 12:26:02 -0700 (PDT)
X-Received: by 2002:a05:6808:10c6:b0:39c:a74b:81d6 with SMTP id
s6-20020a05680810c600b0039ca74b81d6mr16109367ois.7.1697397961965; Sun, 15 Oct
2023 12:26:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 15 Oct 2023 12:26:01 -0700 (PDT)
In-Reply-To: <3417e9a9-9d9c-43b1-8fd5-3e8114baf85dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:985f:b981:8511:15f0;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:985f:b981:8511:15f0
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
<c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com> <3417e9a9-9d9c-43b1-8fd5-3e8114baf85dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fe329c7b-333b-49ab-8392-d7372a5f9978n@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: mhx@iae.nl (Marcel Hendrix)
Injection-Date: Sun, 15 Oct 2023 19:26:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Marcel Hendrix - Sun, 15 Oct 2023 19:26 UTC

On Sunday, October 15, 2023 at 9:00:52 PM UTC+2, minforth wrote:
> Marcel Hendrix schrieb am Sonntag, 15. Oktober 2023 um 11:12:22 UTC+2:
[..]
> No reason for paranoia:
[..]
Why encrypt something if it is unimportant? I understand that the implementation
should be lightweight but don't see why 'easier' algorithms should be used.

<rant>
A not insignificant amount of my working day is spent logging in/out, finding and
renewing passwords, checking my phone for two-factor authentications that take
minutes to appear when IT updates a Linux server in India, trying to access simple
documents through horrendously layered Teams and Outlook "protections", fighting
with management that wants to abolish USB-sticks and network drives, and attending
mandatory safety drills that preach the use of long complicated passwords that shall
subsequently be saved in OneDrive repositories coupled to our Microsoft accounts :--)
</rant>

-marcel

Re: Ascon, the new "lightweight" cryptography standard

<7fce2204-9053-409e-aa71-4786da49fd42n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24944&group=comp.lang.forth#24944

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:1827:b0:412:2efa:bec7 with SMTP id t39-20020a05622a182700b004122efabec7mr618953qtc.4.1697398745295;
Sun, 15 Oct 2023 12:39:05 -0700 (PDT)
X-Received: by 2002:a05:6870:a109:b0:1e9:a128:7f1b with SMTP id
m9-20020a056870a10900b001e9a1287f1bmr5490042oae.6.1697398744779; Sun, 15 Oct
2023 12:39:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 15 Oct 2023 12:39:04 -0700 (PDT)
In-Reply-To: <fe329c7b-333b-49ab-8392-d7372a5f9978n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f3d:4163:3c13:8eee:ba88:f1eb;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f3d:4163:3c13:8eee:ba88:f1eb
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
<c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com> <3417e9a9-9d9c-43b1-8fd5-3e8114baf85dn@googlegroups.com>
<fe329c7b-333b-49ab-8392-d7372a5f9978n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7fce2204-9053-409e-aa71-4786da49fd42n@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: minforth@arcor.de (minforth)
Injection-Date: Sun, 15 Oct 2023 19:39:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: minforth - Sun, 15 Oct 2023 19:39 UTC

Marcel Hendrix schrieb am Sonntag, 15. Oktober 2023 um 21:26:03 UTC+2:
> On Sunday, October 15, 2023 at 9:00:52 PM UTC+2, minforth wrote:
> > Marcel Hendrix schrieb am Sonntag, 15. Oktober 2023 um 11:12:22 UTC+2:
> [..]
> > No reason for paranoia:
> [..]
> Why encrypt something if it is unimportant? I understand that the implementation
> should be lightweight but don't see why 'easier' algorithms should be used.

Lightweight and "burning time and milliwatts for convoluted algrithms" don't go well together.
It should be obvious that not every smart sensor requires military strength encryption.

Re: Ascon, the new "lightweight" cryptography standard

<653362e6-c866-4cba-927f-c03ec4a9ae3en@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24947&group=comp.lang.forth#24947

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:7d44:0:b0:417:8db2:f5f6 with SMTP id h4-20020ac87d44000000b004178db2f5f6mr672864qtb.2.1697445861349;
Mon, 16 Oct 2023 01:44:21 -0700 (PDT)
X-Received: by 2002:a9d:7542:0:b0:6c4:76b9:fe5a with SMTP id
b2-20020a9d7542000000b006c476b9fe5amr10482936otl.5.1697445861129; Mon, 16 Oct
2023 01:44:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 16 Oct 2023 01:44:20 -0700 (PDT)
In-Reply-To: <fe329c7b-333b-49ab-8392-d7372a5f9978n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=195.78.249.123; posting-account=o1zNBwoAAABP2KiH5g6nPQp_sYWidVdt
NNTP-Posting-Host: 195.78.249.123
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
<c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com> <3417e9a9-9d9c-43b1-8fd5-3e8114baf85dn@googlegroups.com>
<fe329c7b-333b-49ab-8392-d7372a5f9978n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <653362e6-c866-4cba-927f-c03ec4a9ae3en@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: howerdo@yahoo.co.uk (Howerd)
Injection-Date: Mon, 16 Oct 2023 08:44:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2723
 by: Howerd - Mon, 16 Oct 2023 08:44 UTC

On Sunday, October 15, 2023 at 9:26:03 PM UTC+2, Marcel Hendrix wrote:
> On Sunday, October 15, 2023 at 9:00:52 PM UTC+2, minforth wrote:
> > Marcel Hendrix schrieb am Sonntag, 15. Oktober 2023 um 11:12:22 UTC+2:
> [..]
> > No reason for paranoia:
> [..]
> Why encrypt something if it is unimportant? I understand that the implementation
> should be lightweight but don't see why 'easier' algorithms should be used.
>
> <rant>
> A not insignificant amount of my working day is spent logging in/out, finding and
> renewing passwords, checking my phone for two-factor authentications that take
> minutes to appear when IT updates a Linux server in India, trying to access simple
> documents through horrendously layered Teams and Outlook "protections", fighting
> with management that wants to abolish USB-sticks and network drives, and attending
> mandatory safety drills that preach the use of long complicated passwords that shall
> subsequently be saved in OneDrive repositories coupled to our Microsoft accounts :--)
> </rant>
>
> -marcel
Hi Marcel,
An excellent rant, that I wholeheartedly agree with - I would add the estimated 15% of my waking time spent in making sure that all my intelligent devices are charged ;-)
Cheers,
Howerd

Re: Ascon, the new "lightweight" cryptography standard

<0cd83ba7-1bca-48a5-91bc-e3d919f813a6n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24980&group=comp.lang.forth#24980

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:44d7:0:b0:417:fa13:5bbb with SMTP id b23-20020ac844d7000000b00417fa135bbbmr9732qto.8.1697776922545;
Thu, 19 Oct 2023 21:42:02 -0700 (PDT)
X-Received: by 2002:a05:6870:7190:b0:1e9:f918:1295 with SMTP id
d16-20020a056870719000b001e9f9181295mr415782oah.7.1697776922368; Thu, 19 Oct
2023 21:42:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 19 Oct 2023 21:42:01 -0700 (PDT)
In-Reply-To: <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.197.145.29; posting-account=WyLDIgoAAAAL9-lKxDxWp0Afty5A1XnH
NNTP-Posting-Host: 49.197.145.29
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com> <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0cd83ba7-1bca-48a5-91bc-e3d919f813a6n@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: waynemorellini@gmail.com (S)
Injection-Date: Fri, 20 Oct 2023 04:42:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 14
 by: S - Fri, 20 Oct 2023 04:42 UTC

On Sunday, October 15, 2023 at 7:12:22 PM UTC+10, Marcel Hendrix wrote:
> On Sunday, October 15, 2023 at 8:01:07 AM UTC+2, Brad Eckert wrote:
> > From NIST's news release on February 07, 2023:
> >
> > Lightweight Cryptography Standardization Process: NIST Selects Ascon
> When encryption is needed, who'd select an algorithm that is less secure
> than others, and is promoted by a government controlled agency :--)
>
> -marcel
Well, it's better than the nocrypt standard.

:)

Re: Ascon, the new "lightweight" cryptography standard

<ugt4fn$t6ba$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24981&group=comp.lang.forth#24981

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: Ascon, the new "lightweight" cryptography standard
Date: Fri, 20 Oct 2023 16:50:47 +1100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ugt4fn$t6ba$1@dont-email.me>
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
<c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
<0cd83ba7-1bca-48a5-91bc-e3d919f813a6n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 20 Oct 2023 05:50:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1ab69f3a7f482fc72f3df6a1d09632c9";
logging-data="956778"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yQlm+Ek1hvkfyH2uLnVvp"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:zizFwdd29adIfHLM9hD3mxU24ko=
In-Reply-To: <0cd83ba7-1bca-48a5-91bc-e3d919f813a6n@googlegroups.com>
Content-Language: en-GB
 by: dxf - Fri, 20 Oct 2023 05:50 UTC

On 20/10/2023 3:42 pm, S wrote:
> On Sunday, October 15, 2023 at 7:12:22 PM UTC+10, Marcel Hendrix wrote:
>> On Sunday, October 15, 2023 at 8:01:07 AM UTC+2, Brad Eckert wrote:
>>> From NIST's news release on February 07, 2023:
>>>
>>> Lightweight Cryptography Standardization Process: NIST Selects Ascon
>> When encryption is needed, who'd select an algorithm that is less secure
>> than others, and is promoted by a government controlled agency :--)
>>
>> -marcel
> Well, it's better than the nocrypt standard.
>
> :)

What is "less secure"? AFAIK most hacks are opportunistic e.g. Enigma

Re: Ascon, the new "lightweight" cryptography standard

<57aa35ef-891c-49ca-8384-7f9b64d83104n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25001&group=comp.lang.forth#25001

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:460f:b0:66d:1389:7148 with SMTP id oq15-20020a056214460f00b0066d13897148mr157451qvb.4.1697978903226; Sun, 22 Oct 2023 05:48:23 -0700 (PDT)
X-Received: by 2002:a05:6808:190a:b0:3ab:c19f:bdf8 with SMTP id bf10-20020a056808190a00b003abc19fbdf8mr2909928oib.11.1697978902904; Sun, 22 Oct 2023 05:48:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.11.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 22 Oct 2023 05:48:22 -0700 (PDT)
In-Reply-To: <ugt4fn$t6ba$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=72.217.63.66; posting-account=6GCGIQoAAAAyO8IjR_VTwqiqLwx0Q_G8
NNTP-Posting-Host: 72.217.63.66
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com> <c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com> <0cd83ba7-1bca-48a5-91bc-e3d919f813a6n@googlegroups.com> <ugt4fn$t6ba$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <57aa35ef-891c-49ca-8384-7f9b64d83104n@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: hwfwguy@gmail.com (Brad Eckert)
Injection-Date: Sun, 22 Oct 2023 12:48:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 43
 by: Brad Eckert - Sun, 22 Oct 2023 12:48 UTC

On Thursday, October 19, 2023 at 10:50:51 PM UTC-7, dxf wrote:
> On 20/10/2023 3:42 pm, S wrote:
> > On Sunday, October 15, 2023 at 7:12:22 PM UTC+10, Marcel Hendrix wrote:
> >> On Sunday, October 15, 2023 at 8:01:07 AM UTC+2, Brad Eckert wrote:
> >>> From NIST's news release on February 07, 2023:
> >>>
> >>> Lightweight Cryptography Standardization Process: NIST Selects Ascon
> >> When encryption is needed, who'd select an algorithm that is less secure
> >> than others, and is promoted by a government controlled agency :--)
> >>
> >> -marcel
> > Well, it's better than the nocrypt standard.
> >
> > :)
> What is "less secure"? AFAIK most hacks are opportunistic e.g. Enigma
I spent a couple of days translating the C version of Ascon to Forth. I got it to encrypt and decrypt correctly but haven't beat on it yet. In 32-bit SwiftForth it uses 4300 bytes of dictionary. So maybe 1K on the J1? Anyway.... Some observations.

I can see why it won. It's very friendly to 64-bit machines. There are no 64-bit IoTs, but those IoTs connect to servers which are 64-bit. It's also good on 32-bit, 16-bit, and 8-bit MCUs according to the benchmarks. It's no surprise looking at the C code. A 64-bit version of Ascon would make a nice Forth compiler benchmark.

AEAD (see https://en.wikipedia.org/wiki/Authenticated_encryption) is the real selling point. Decryption checks the 128-bit tag at the end and returns a nonzero ior if it's not a match. The hash includes optional unencrypted data such as headers. It turns out that authenticity is more important than privacy when it comes to potential "bad things".

You may wonder why anyone would want to adopt yet another cryptography algorithm when so many already exist. Today's cybersecurity attacks cost millions of dollars. IoTs are often attack vectors. The IoT dumpster fire was funny until it got expensive. Where there are these kinds of losses there are lawyers and regulators and eventually regulations. When cybersecurity standards are shoved down your throat, you will read in the fine print that they want NIST-approved algorithms. Not the one you picked because you happen to like it.

Re: Ascon, the new "lightweight" cryptography standard

<uh4htj$2nve3$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25007&group=comp.lang.forth#25007

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: Ascon, the new "lightweight" cryptography standard
Date: Mon, 23 Oct 2023 12:23:01 +1100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <uh4htj$2nve3$1@dont-email.me>
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
<c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com>
<0cd83ba7-1bca-48a5-91bc-e3d919f813a6n@googlegroups.com>
<ugt4fn$t6ba$1@dont-email.me>
<57aa35ef-891c-49ca-8384-7f9b64d83104n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 23 Oct 2023 01:22:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bc168065321d52028b946175e5b94e68";
logging-data="2883011"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yiorgKfXH8L3zsNaC6HDw"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:t8egKs+PZmIiheDlxIOZd3QTCt8=
In-Reply-To: <57aa35ef-891c-49ca-8384-7f9b64d83104n@googlegroups.com>
Content-Language: en-GB
 by: dxf - Mon, 23 Oct 2023 01:23 UTC

On 22/10/2023 11:48 pm, Brad Eckert wrote:
> ...
> When cybersecurity standards are shoved down your throat, you will read in
> the fine print that they want NIST-approved algorithms. Not the one you
> picked because you happen to like it.

Good point. OTOH standards set minimums - often based on what industry is
prepared to wear.

Re: Ascon, the new "lightweight" cryptography standard

<48a5ee32-c482-4760-97b3-43d46738af55n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25008&group=comp.lang.forth#25008

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:d652:0:b0:66c:fda1:13f6 with SMTP id e18-20020a0cd652000000b0066cfda113f6mr141606qvj.13.1698049102814;
Mon, 23 Oct 2023 01:18:22 -0700 (PDT)
X-Received: by 2002:a05:6808:182a:b0:3ae:1691:c59f with SMTP id
bh42-20020a056808182a00b003ae1691c59fmr3786653oib.1.1698049102492; Mon, 23
Oct 2023 01:18:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 23 Oct 2023 01:18:22 -0700 (PDT)
In-Reply-To: <57aa35ef-891c-49ca-8384-7f9b64d83104n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f49:844f:1571:b749:ae0c:37d4;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f49:844f:1571:b749:ae0c:37d4
References: <ce70ad25-0adf-40e7-83a8-aea7e7c8cad9n@googlegroups.com>
<c56c5b10-0993-4362-891e-6fd269dfd6f4n@googlegroups.com> <0cd83ba7-1bca-48a5-91bc-e3d919f813a6n@googlegroups.com>
<ugt4fn$t6ba$1@dont-email.me> <57aa35ef-891c-49ca-8384-7f9b64d83104n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <48a5ee32-c482-4760-97b3-43d46738af55n@googlegroups.com>
Subject: Re: Ascon, the new "lightweight" cryptography standard
From: minforth@arcor.de (minforth)
Injection-Date: Mon, 23 Oct 2023 08:18:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4299
 by: minforth - Mon, 23 Oct 2023 08:18 UTC

Brad Eckert schrieb am Sonntag, 22. Oktober 2023 um 14:48:24 UTC+2:
> On Thursday, October 19, 2023 at 10:50:51 PM UTC-7, dxf wrote:
> > On 20/10/2023 3:42 pm, S wrote:
> > > On Sunday, October 15, 2023 at 7:12:22 PM UTC+10, Marcel Hendrix wrote:
> > >> On Sunday, October 15, 2023 at 8:01:07 AM UTC+2, Brad Eckert wrote:
> > >>> From NIST's news release on February 07, 2023:
> > >>>
> > >>> Lightweight Cryptography Standardization Process: NIST Selects Ascon
> > >> When encryption is needed, who'd select an algorithm that is less secure
> > >> than others, and is promoted by a government controlled agency :--)
> > >>
> > >> -marcel
> > > Well, it's better than the nocrypt standard.
> > >
> > > :)
> > What is "less secure"? AFAIK most hacks are opportunistic e.g. Enigma
> I spent a couple of days translating the C version of Ascon to Forth. I got it to encrypt and decrypt correctly but haven't beat on it yet. In 32-bit SwiftForth it uses 4300 bytes of dictionary. So maybe 1K on the J1? Anyway... Some observations.
>
> I can see why it won. It's very friendly to 64-bit machines. There are no 64-bit IoTs, but those IoTs connect to servers which are 64-bit. It's also good on 32-bit, 16-bit, and 8-bit MCUs according to the benchmarks. It's no surprise looking at the C code. A 64-bit version of Ascon would make a nice Forth compiler benchmark.
>
> AEAD (see https://en.wikipedia.org/wiki/Authenticated_encryption) is the real selling point. Decryption checks the 128-bit tag at the end and returns a nonzero ior if it's not a match. The hash includes optional unencrypted data such as headers. It turns out that authenticity is more important than privacy when it comes to potential "bad things".
>
> You may wonder why anyone would want to adopt yet another cryptography algorithm when so many already exist. Today's cybersecurity attacks cost millions of dollars. IoTs are often attack vectors. The IoT dumpster fire was funny until it got expensive. Where there are these kinds of losses there are lawyers and regulators and eventually regulations. When cybersecurity standards are shoved down your throat, you will read in the fine print that they want NIST-approved algorithms. Not the one you picked because you happen to like it.

Excellent summary!

Today the majority of wireless transmitters use the Wireless HART protocol with AES-128 encrytion.
This will not change anytime soon, unless required by law/contract for new critical infrastructure projects.

Neither Ascon nor AES-128 are strong encryptions. And ISTM that AES-128 is even easier to implement
than Ascon. But AES has a longer attack history and therefore is more compromised.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor