OpenBSD CVS

CVS log for src/usr.bin/ssh/sshkey-xmss.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 28 00:39:29 2022 UTC (18 months, 2 weeks 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.11: +2 -2 lines
Diff to previous 1.11 (colored)

factor out key generation

feedback/ok markus@

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 3 06:18:41 2021 UTC (3 years, 1 month ago) by djm
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.10: +2 -2 lines
Diff to previous 1.10 (colored)

highly polished whitespace, mostly fixing spaces-for-tab and bad
indentation on continuation lines. Prompted by GHPR#185

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 6 20:36:31 2021 UTC (3 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.9: +20 -21 lines
Diff to previous 1.9 (colored)

Fix PRINT macro, the suffix param to sshlog() was missing.
Also remove redundant __func__ prefix from PRINT calls as the macro
already adds __FILE__, __func__ and __LINE__.  From Christos Zoulas.
OK dtucker@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 19 22:49:23 2020 UTC (3 years, 6 months ago) by dtucker
Branch: MAIN
Changes since 1.8: +10 -8 lines
Diff to previous 1.8 (colored)

Adapt XMSS to new logging infrastructure.  With markus@, ok djm@.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 13 07:53:10 2019 UTC (4 years, 6 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.7: +52 -4 lines
Diff to previous 1.7 (colored)

fix shield/unshield for xmss keys:
- in ssh-agent we need to delay the call to shield
  until we have received key specific options.
- when serializing xmss keys for shield we need to deal with
  all optional components (e.g. state might not be loaded).
ok djm@

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 14 06:00:02 2019 UTC (4 years, 7 months ago) by djm
Branch: MAIN
Changes since 1.6: +17 -9 lines
Diff to previous 1.6 (colored)

memleak in error path; spotted by oss-fuzz, ok markus@

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 9 00:02:57 2019 UTC (4 years, 7 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

fix integer overflow in XMSS private key parsing. Reported by
Adam Zabrocki via SecuriTeam's SSH program.

Note that this code is experimental and not compiled by default.

ok markus@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:04 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 27 18:03:37 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +7 -7 lines
Diff to previous 1.3 (colored)

Some asprintf() calls were checked < 0, rather than the precise == -1.
ok millert nicm tb, etc

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 9 21:59:10 2018 UTC (5 years, 10 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

replace cast with call to sshbuf_mutable_ptr(); ok djm@

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 10 00:10:49 2018 UTC (6 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

lots of typos in comments/docs. Patch from Karsten Weiss after checking
with codespell tool (https://github.com/lucasdemarchi/codespell)

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 23 15:58:38 2018 UTC (6 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3

Add experimental support for PQC XMSS keys (Extended Hash-Based Signatures)
The code is not compiled in by default (see WITH_XMSS in Makefile.inc)
Joint work with stefan-lukas_gazdag at genua.eu
See https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12
ok djm@

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.