aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
Commit message (Expand)AuthorAgeFilesLines
* util.pposix: Add fdopen() to return a Lua file object from an fdMatthew Wild8 days1-0/+32
* util.pposix: Add pipe() (with support for pipe2() flags on Linux)Matthew Wild12 days1-1/+43
* util.crypto: Add more ECC methodsStephen Paul Weber2024-10-291-0/+116
* util.signal: Fail signalfd() if unable to change signal maskKim Alvefur2024-02-281-1/+4
* util.signal: Wrap signalfd in an userdatum for gc handling etcKim Alvefur2024-02-241-8/+61
* util.signal: Add support for signalfd(2) on LinuxKim Alvefur2024-02-241-0/+34
* util.strbitop: Add common_prefix_bits() methodMatthew Wild2024-02-231-0/+37
* util.poll: Rename things to clarify poll(2) limitsKim Alvefur2023-11-271-5/+7
* util.poll: Quadruple number of events retrieved at once from epollKim Alvefur2023-11-211-1/+1
* util.poll: Return early if given zero timeout and no pending eventsKim Alvefur2023-11-211-0/+6
* util.pposix: Add remove_blocks() for deleting parts of filesKim Alvefur2023-06-071-0/+36
* util.pposix: Use Lua enum API for resource limit name argumentKim Alvefur2023-06-141-47/+33
* util: Add compat for prosody module name change to C sourcesKim Alvefur2023-03-1714-14/+64
* util.poll: Include unistd.h only for epollKim Alvefur2023-02-101-1/+1
* util.crypto: Preemptively silence 'strict-prototypes' warningKim Alvefur2023-01-311-1/+1
* util.struct: Fix typo in commentKim Alvefur2023-01-201-1/+1
* util.hashes: Silence compiler warning about char pointer signednessKim Alvefur2023-01-171-1/+1
* util.crypto: Add support for AES-256-CTRMatthew Wild2023-01-131-21/+44
* util.hashes: Add HKDF-HMAC-SHA256/HKDF-HMAC-SHA384Matthew Wild2023-01-131-0/+59
* util.crypto, util.jwt: Generate consistent signature sizes (via padding)Matthew Wild2022-09-291-10/+17
* util.crypto: Use Lua 5.2 API for predictable buffer sizeKim Alvefur2022-07-111-6/+1
* util.crypto: Use stack space buffersKim Alvefur2022-07-111-14/+11
* util.crypto: More digests for sign/verify, use macros for clarity/consistencyMatthew Wild2022-07-021-32/+40
* util.crypto: Friendlier error message on incorrect key typesMatthew Wild2022-07-021-1/+6
* util.crypto: Add support for RSA signatures (PKCS1-v1.5 + PSS)Matthew Wild2022-07-021-3/+31
* util.crypto: New wrapper for some operations in OpenSSL's libcryptoMatthew Wild2022-06-242-2/+557
* util-src: Add new utility header managed_pointer.hMatthew Wild2022-07-011-0/+61
* util.table: Fix inaccurate commentKim Alvefur2022-07-111-1/+1
* util-src: Remove Lua 5.1 compat macrosKim Alvefur2022-07-0112-56/+2
* util.hashes: Revert to HMAC() convenience functionKim Alvefur2022-06-241-22/+2
* util.hashes: Remove unused constantsKim Alvefur2022-06-241-3/+0
* util.hashes: Remove unused structKim Alvefur2022-06-241-8/+0
* util.hashes: Return OpenSSL error messages on failureKim Alvefur2022-06-241-3/+4
* util.hashes: Add SHA3 bindingsKim Alvefur2020-09-101-0/+19
* util.hashes: Bind BLAKE2 algoritms supported by OpenSSLKim Alvefur2020-09-101-0/+21
* util.hashes: Refactor PBKDF2 to deduplicate codeKim Alvefur2020-09-101-17/+8
* util.hashes: Expose sha224 and sha384 HMAC functionsKim Alvefur2020-11-291-0/+10
* util.hashes: Refactor HMAC bindings (fixes #1589)Kim Alvefur2020-11-291-22/+61
* util.hashes: Refactor hash functions to use OpenSSL EVP methods (fix #1698)Kim Alvefur2020-09-101-20/+63
* util.crand: Reduce scope here tooKim Alvefur2022-04-231-2/+2
* util.strbitop: Reduce scope of functionsKim Alvefur2022-04-231-3/+3
* util.table: Compatibility with Lua 5.1 lua_equalsMatthew Wild2022-03-181-1/+5
* util.table: Backport table.move() from Lua 5.4Matthew Wild2022-03-181-0/+42
* Spelling: Fix various spelling mistakes (thanks timeless)Kim Alvefur2022-03-071-1/+1
* make: Fix build of util.struct on *BSDKim Alvefur2022-03-041-1/+2
* Merge config-updates+check-turn from timberMatthew Wild2022-03-042-1/+424
|\
| * util.struct: Import Roberto 'struct' library v0.3Matthew Wild2022-03-042-1/+424
* | util.poll: Add support for the poll() APIKim Alvefur2022-02-231-1/+129
* | util.poll: Expose API (epoll or select) usedKim Alvefur2022-02-271-6/+6
* | util.poll: Restructure to make adding additional system APIs easierKim Alvefur2022-02-231-11/+23
|/