Up to [local] / src / sys / crypto
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 5 19:05:09 2018 UTC (6 years, 4 months ago) by mikeb
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,
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,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
HEAD
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Sync with the code in libc OK millert; original commit message by tedu@: memcpy from the right place. at this point, the used variable is not relevant. from Mark Karpilovskij. ok millert
Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 12 18:35:50 2017 UTC (7 years, 1 month ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.3: +3 -4 lines
Diff to previous 1.3 (colored)
The kernel has to slightly different version of SipHash_Final but with the same bug as just fixed in userland: ---------- SipHash_Final() was assuming the digest was 64-bit aligned, resulting in misaligned memory accesses with armv7 ramdisk -Os bsd.rd ping ok florian millert ---------- OK deraadt@
Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 20 11:51:03 2015 UTC (9 years, 3 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.2: +17 -17 lines
Diff to previous 1.2 (colored)
Use standard spelling for types, and rename local variable from "free". No actual change, but makes it easier to reuse the code elsewhere. Suggested by Andre Smagin
Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 7 05:45:06 2015 UTC (9 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)
keep this in sync a bit with userland by putting static on functions that are only used in this file. tedu argues if something sucks we would fault before we can get to these, and they dont do anything except maths. these symbols dont need to be visible to ddb. originally from Fritjof Bornebusch suggested by and ok tedu@
Revision 1.1 / (download) - annotate - [select for diffs], Tue Nov 4 03:01:14 2014 UTC (9 years, 7 months ago) by dlg
Branch: MAIN
introduce SipHash, designed by Jean-Phillippe Aumasson and Daniel J. Bernstein, as described at https://131002.net/siphash/, and via Andre Oppermanns implementation in FreeBSD. this is supposed to be a good but cheap hash for use in places where you want to protect against hash bucket flooding attacks. yasuoka@ pointed me at this after i asked about possibilities for protecting the in_pcb hash he was tinkering with. naddy@ mikeb@ claudio@ and djm@ agree it is much better than doing nothing commit deraadt@