summaryrefslogtreecommitdiffstats
path: root/sys/crypto/skein
Commit message (Collapse)AuthorAgeFilesLines
* MFC r311655: libmd: add noexec stack annotation in skein_block_asm.semaste2017-01-201-0/+2
| | | | Sponsored by: The FreeBSD Foundation
* MFC r307521: libmd: introduce functions that operate on fd instead of filenameemaste2016-12-212-0/+16
|
* MFC r307584asomers2016-11-221-3/+6
| | | | | | | | | | | | | | Fix C++ includability of crypto headers with static array sizes C99 allows array function parameters to use the static keyword for their sizes. This tells the compiler that the parameter will have at least the specified size, and calling code will fail to compile if that guarantee is not met. However, this syntax is not legal in C++. This commit reverts r300824, which worked around the problem for sys/sys/md5.h only, and introduces a new macro: min_size(). min_size(x) can be used in headers as a static array size, but will still compile in C++ mode.
* Connect the SHA-512t256 and Skein hashing algorithms to ZFSallanjude2016-05-311-0/+2
| | | | | | | | | | | | | | | | Support for the new hashing algorithms in ZFS was introduced in r289422 However it was disconnected because FreeBSD lacked implementations of SHA-512 (truncated to 256 bits), and Skein. These implementations were introduced in r300921 and r300966 respectively This commit connects them to ZFS and enabled these new checksum algorithms This new algorithms are not supported by the boot blocks, so do not use them on your root dataset if you boot from ZFS. Relnotes: yes Sponsored by: ScaleEngine Inc.
* Import the skein hashing algorithm, based on the threefish block cipherallanjude2016-05-299-0/+3955
Connect it to userland (libmd, libcrypt, sbin/md5) and kernel (crypto.ko) Support for skein as a ZFS checksum algorithm was introduced in r289422 but is disconnected because FreeBSD lacked a Skein implementation. A further commit will enable it in ZFS. Reviewed by: cem Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D6166
OpenPOWER on IntegriCloud