Re: Preparing for Nettle-3.9

2023-05-10 Thread Niels Möller
Niels Möller  writes:

> If there are no show-stoppers, I may make the release as soon as this
> Wednesday evening (May 10, and for me, evening starts around 17 UTC).

Testing is going rather well. I've found and fixed one bug giving a
compile error in the tests when configured with --disable-public-key.
Beyond the configurations in the gitlab ci, I've successfully tested on

  x86_64 freebsd
  sparc solaris 10 (thanks to gcc farm)
  64-bit windows (via cross-compile + wine)

For macs, I've had mostly successful reports, except that sometimes mac
arm64 builds seem to suffer from a GMP known issue in GMP-6.2.1, with
improper use of x18 register in GMP assembly files (but I couldn't repro
on gcc104.fsffrance.org). This probably deserves a note in the NEWS
file.

That means that I hope to package and announce a release, if not
tonight, so within the next few days.

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
___
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se


Re: Preparing for Nettle-3.9

2023-05-09 Thread Justus Winter
Niels Möller  writes:

>> We have quite a few
>> tests: we instantiate it with every compatible cipher and do a roundtrip
>> test, we have the test vectors from RFC7253, we have an additional set
>> of test vectors with 15 byte nonces published by dkg, 
>
> Do you have any testvectors with a dozen or so blocks? Nettle's
> testsuite/ocb-text.c includes some home-made test vectors with 16
> blocks, to verify the code paths that tries to handle multiple blocks
> more efficiently. See
> https://git.lysator.liu.se/nettle/nettle/-/blob/master/testsuite/ocb-test.c#L222
> and below.

No, but it would not be hard for me to create some using either OpenSSL
or Botan if you want.

Best,
Justus


signature.asc
Description: PGP signature
___
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se


Re: Preparing for Nettle-3.9

2023-05-08 Thread Niels Möller
Justus Winter  writes:

> Most appreciated!  I read the documentation and found only two minor
> issues (patches sent).  The interface looks good.

Thanks, both patches applied.

> We have quite a few
> tests: we instantiate it with every compatible cipher and do a roundtrip
> test, we have the test vectors from RFC7253, we have an additional set
> of test vectors with 15 byte nonces published by dkg, 

Do you have any testvectors with a dozen or so blocks? Nettle's
testsuite/ocb-text.c includes some home-made test vectors with 16
blocks, to verify the code paths that tries to handle multiple blocks
more efficiently. See
https://git.lysator.liu.se/nettle/nettle/-/blob/master/testsuite/ocb-test.c#L222
and below.

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
___
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se


Re: Preparing for Nettle-3.9

2023-05-08 Thread Justus Winter
Hi Niels :)

Niels Möller  writes:

>   * Support for OCB authenticated encryption mode.

Most appreciated!  I read the documentation and found only two minor
issues (patches sent).  The interface looks good.

I have added support for OCB in our Rust bindings on 2022-02-03 in a
feature branch.  I don't think that the interface changed since (note
we're only using the streaming general interface).  We have quite a few
tests: we instantiate it with every compatible cipher and do a roundtrip
test, we have the test vectors from RFC7253, we have an additional set
of test vectors with 15 byte nonces published by dkg, all kinds of tests
higher up in our OpenPGP implementation including test vectors from the
upcoming OpenPGP revision.  I'm reasonable confident that bindings and
underlying implementation behave as expected.

Best,
Justus


signature.asc
Description: PGP signature
___
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se