summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arc4random/getentropy_aix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* spelling fixes; from paul tagliamontejmc2022-12-261-2/+2
| | | | | | | i removed the arithmetics -> arithmetic changes, as i felt they were not clearly correct ok tb
* For open/openat, if the flags parameter does not contain O_CREAT, thederaadt2021-10-241-2/+2
| | | | | | | | | | | | | 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
* As done everywhere else, use a local version of MINIMUM() and avoidderaadt2020-05-171-4/+4
| | | | conflict against a potential define min() from some other scope.
* Saw a mention somewhere a while back that the gotdata() function inderaadt2018-11-201-28/+5
| | | | | | | | here could creates non-uniformity since very short fetches of 0 would be excluded. blocks of 0 are just as random as any other data, including blocks of 4 4 4.. This is a misguided attempt to identify errors from the entropy churn/gather code doesn't make sense, errors don't happen. ok bcook
* Update the link for the getentropy(2) manual to man.openbsd.org/tb2016-08-071-2/+2
| | | | ok deraadt@
* unify files furtherderaadt2015-09-111-8/+8
|
* unify versions, so they are easier to diff.deraadt2015-08-251-3/+3
|
* Support AIX versions without WPAR support.bcook2015-04-271-1/+5
| | | | From Michael Felt.
* add initial AIX getentropy/arc4random files. Thanks to Michael Felt.bcook2015-03-301-0/+421