Commit Graph

373 Commits (ea2f97e9ed8317dc9a62e45d9a807dca7e3700a5)

Author SHA1 Message Date
Kim Alvefur ea7bf939d5 util.signal: Factor out single #define that enables signalfd(2) use 12 months ago
Kim Alvefur 4919301ad4 util.signal: Implement signalfd for *BSD 12 months ago
Matthew Wild a3b71e8fc9 util.pposix: Add fdopen() to return a Lua file object from an fd 1 year ago
Matthew Wild 6480651a93 util.pposix: Add pipe() (with support for pipe2() flags on Linux) 1 year ago
Stephen Paul Weber d477528e67 util.crypto: Add more ECC methods 1 year ago
Kim Alvefur 36a9583069 util.signal: Fail signalfd() if unable to change signal mask 2 years ago
Kim Alvefur 761643abcc util.signal: Wrap signalfd in an userdatum for gc handling etc 2 years ago
Kim Alvefur 54f76b97d2 util.signal: Add support for signalfd(2) on Linux 2 years ago
Matthew Wild 7f748556a2 util.strbitop: Add common_prefix_bits() method 2 years ago
Kim Alvefur 43351d2b54 Spelling: Fix various spelling mistakes (thanks timeless) 4 years ago
Kim Alvefur ffb37f3ef3 make: Fix build of util.struct on *BSD 4 years ago
Kim Alvefur af95bb77e6 util.poll: Add support for the poll() API 4 years ago
Kim Alvefur 04aa101da3 util.poll: Expose API (epoll or select) used 4 years ago
Kim Alvefur 22d734e305 util.poll: Restructure to make adding additional system APIs easier 4 years ago
Matthew Wild fe56effa55 util.struct: Import Roberto 'struct' library v0.3 4 years ago
Kim Alvefur 8a2e65d5b7 util.poll: Rename things to clarify poll(2) limits 2 years ago
Kim Alvefur da38e2af42 util.poll: Quadruple number of events retrieved at once from epoll 2 years ago
Kim Alvefur c8e2129a82 util.poll: Return early if given zero timeout and no pending events 2 years ago
Kim Alvefur 048b064fcd util.pposix: Add remove_blocks() for deleting parts of files 3 years ago
Kim Alvefur b7b65435f7 util.pposix: Use Lua enum API for resource limit name argument 3 years ago
Kim Alvefur 8136aa749a util: Add compat for prosody module name change to C sources 3 years ago
Kim Alvefur bf35a39a15 util.poll: Include unistd.h only for epoll 3 years ago
Kim Alvefur 1ea488deee util.crypto: Preemptively silence 'strict-prototypes' warning 3 years ago
Kim Alvefur 2e44f8260b util.struct: Fix typo in comment 3 years ago
Kim Alvefur 732d5ad8a8 util.hashes: Silence compiler warning about char pointer signedness 3 years ago
Matthew Wild 26dc334ae3 util.crypto: Add support for AES-256-CTR 3 years ago
Matthew Wild 341c8417c2 util.hashes: Add HKDF-HMAC-SHA256/HKDF-HMAC-SHA384 3 years ago
Matthew Wild 8695a72a66 util.crypto, util.jwt: Generate consistent signature sizes (via padding) 3 years ago
Kim Alvefur 62438f482e util.crypto: Use Lua 5.2 API for predictable buffer size 4 years ago
Kim Alvefur e893bbf681 util.crypto: Use stack space buffers 4 years ago
Matthew Wild 5316b0005e util.crypto: More digests for sign/verify, use macros for clarity/consistency 4 years ago
Matthew Wild d7b32f1b71 util.crypto: Friendlier error message on incorrect key types 4 years ago
Matthew Wild ba282f1070 util.crypto: Add support for RSA signatures (PKCS1-v1.5 + PSS) 4 years ago
Matthew Wild b357cf1be1 util.crypto: New wrapper for some operations in OpenSSL's libcrypto 4 years ago
Matthew Wild 6a64363e78 util-src: Add new utility header managed_pointer.h 4 years ago
Kim Alvefur dabdfc91be util.table: Fix inaccurate comment 4 years ago
Kim Alvefur dff4beae02 util-src: Remove Lua 5.1 compat macros 4 years ago
Kim Alvefur b1c7b93139 util.hashes: Revert to HMAC() convenience function 4 years ago
Kim Alvefur 8f3d837cd2 util.hashes: Remove unused constants 4 years ago
Kim Alvefur 452f9e4e2b util.hashes: Remove unused struct 4 years ago
Kim Alvefur 9a96021706 util.hashes: Return OpenSSL error messages on failure 4 years ago
Kim Alvefur a7567a9055 util.hashes: Add SHA3 bindings 5 years ago
Kim Alvefur f3d61e3945 util.hashes: Bind BLAKE2 algoritms supported by OpenSSL 5 years ago
Kim Alvefur 9f932f7559 util.hashes: Refactor PBKDF2 to deduplicate code 5 years ago
Kim Alvefur ae14dc1220 util.hashes: Expose sha224 and sha384 HMAC functions 5 years ago
Kim Alvefur 54f8ca81f4 util.hashes: Refactor HMAC bindings (fixes #1589) 5 years ago
Kim Alvefur d690f1502a util.hashes: Refactor hash functions to use OpenSSL EVP methods (fix #1698) 5 years ago
Kim Alvefur 300813b68b util.crand: Reduce scope here too 4 years ago
Kim Alvefur 787835d693 util.strbitop: Reduce scope of functions 4 years ago
Matthew Wild f5460a5037 util.hashes: Add constant-time string comparison (binding to CRYPTO_memcmp) 5 years ago