summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/hw_cryptodev.c
diff options
context:
space:
mode:
authorkurt <>2008-01-01 00:43:39 +0000
committerkurt <>2008-01-01 00:43:39 +0000
commitd08c4e4910d78ef0ddd9e7917c1f2d61b0021d4a (patch)
tree1b1ce1f0d947d24732897206517a88ade3843c65 /src/lib/libcrypto/engine/hw_cryptodev.c
parentdea3d5b72ccc6bd1dad92e25f49aaa4f48cc4064 (diff)
downloadopenbsd-d08c4e4910d78ef0ddd9e7917c1f2d61b0021d4a.tar.gz
openbsd-d08c4e4910d78ef0ddd9e7917c1f2d61b0021d4a.tar.bz2
openbsd-d08c4e4910d78ef0ddd9e7917c1f2d61b0021d4a.zip
- make arc4random*() functions thread safe. Use a custom spinlock function
instead of the generic pthread macros since free(3) uses __arc4_getbyte() when freeing small sized allocations and the generic pthread macros call malloc(3). - eliminate passing pointers to a static variable with global scope (rs) for additional code clarity and reduction. - shlib minor bumps for libc and libpthread due to new functions. From andreas@ with some bits from me. okay tedu@ marc@ w/some spot checking from millert@
Diffstat (limited to 'src/lib/libcrypto/engine/hw_cryptodev.c')
0 files changed, 0 insertions, 0 deletions