OpenBSD CVS

CVS log for src/usr.bin/ssh/sntrup761.c


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 11 02:13:52 2023 UTC (16 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.5: +22 -22 lines
Diff to previous 1.5 (colored)

remove whitespace at EOL from code extracted from SUPERCOP

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 8 02:33:13 2021 UTC (3 years, 4 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.4: +10 -102 lines
Diff to previous 1.4 (colored)

Update the sntrup761 creation script and generated code:
 - remove unneeded header files and typedefs and rely on crypto_api.h
 - add defines to map types used to the crypto_api ones instead of typedefs.  This
   prevents typedef name collisions in -portable.
 - remove CRYPTO_NAMESPACE entirely instead of making it a no-op
 - delete unused functions and make the remaining ones that aren't exported static.

ok djm@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 4 21:58:58 2021 UTC (3 years, 4 months ago) by dtucker
Branch: MAIN
Changes since 1.3: +13 -2 lines
Diff to previous 1.3 (colored)

estructure sntrup761.sh to process all files in a single list, which will
make it easier to reorder.  Re-inline int32_MINMAX.  ok tobhe@

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 3 18:05:21 2021 UTC (3 years, 4 months ago) by tobhe
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

Prevent redefinition of `crypto_int32' error with gcc3.
Fixes compilation on luna88k.

Feedback millert@
Found by and ok aoyama@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 30 14:13:28 2020 UTC (3 years, 4 months ago) by tobhe
Branch: MAIN
Changes since 1.1: +2 -13 lines
Diff to previous 1.1 (colored)

Use int64_t for intermediate values in int32_MINMAX to prevent signed
32-bit integer overflow.

Found by and ok djm@
ok markus@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 29 00:59:15 2020 UTC (3 years, 4 months ago) by djm
Branch: MAIN

Update/replace the experimental post-quantim hybrid key exchange
method based on Streamlined NTRU Prime (coupled with X25519).

The previous sntrup4591761x25519-sha512@tinyssh.org method is
replaced with sntrup761x25519-sha512@openssh.com. Per the authors,
sntrup4591761 was replaced almost two years ago by sntrup761.

The sntrup761 implementaion, like sntrup4591761 before it, is public
domain code extracted from the SUPERCOP cryptography benchmark
suite (https://bench.cr.yp.to/supercop.html).

Thanks for Daniel J Bernstein for guidance on algorithm selection.
Patch from Tobias Heider; feedback & ok markus@ and myself

(note this both the updated method and the one that it replaced are
disabled by default)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.