summaryrefslogtreecommitdiffstats
path: root/sys/sys/md4.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r307584asomers2016-11-221-1/+1
| | | | | | | | | | | | | | 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.
* Ifndef KERNEL the userspace-only routines in sys/md[45].hcem2016-05-261-0/+5
| | | | | | | | | A follow-up to r300773. Nothing in the kernel uses those definitions, but apparently libmd includes the sys/md45 headers. Fix the build. Reported by: gjb Pointy-hat: cem Sponsored by: EMC / Isilon Storage Division
* crypto routines: Hint minimum buffer sizes to the compilercem2016-05-261-4/+1
| | | | | | | | | | | Use the C99 'static' keyword to hint to the compiler IVs and output digest sizes. The keyword informs the compiler of the minimum valid size for a given array. Obviously not every pointer can be validated (i.e., the compiler can produce false negative but not false positive reports). No functional change. No ABI change. Sponsored by: EMC / Isilon Storage Division
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+2
|
* Import kernel part of SMB/CIFS requester.bp2001-04-101-0/+47
Add smbfs(CIFS) filesystem. Userland part will be in the ports tree for a while. Obtained from: smbfs-1.3.7-dev package.
OpenPOWER on IntegriCloud