aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
Commit message (Expand)AuthorAgeFilesLines
* 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
|/
* util.pposix: Use mallinfo2() on glibc 2.33, fix #1649Kim Alvefur2022-01-061-5/+12
* util.pposix: Bind isatty(3)Kim Alvefur2021-07-041-0/+9
* util.hashes: Expose OpenSSL versionKim Alvefur2021-05-121-0/+4
* Merge 0.11->trunkMatthew Wild2021-05-131-0/+14
|\
| * util.hashes: Add constant-time string comparison (binding to CRYPTO_memcmp)Matthew Wild2021-05-101-0/+14
* | Merge 0.11->trunkKim Alvefur2020-10-151-0/+4
|\|
| * Back out changeset 2c1583bb0e0fKim Alvefur2020-10-151-0/+4
* | Merge 0.11->trunkKim Alvefur2020-10-151-17/+6
|\|
| * Back out 6dde2c9fa272: Doesn't work on Lua 5.1Kim Alvefur2020-10-151-13/+6
| * util.strbitop: Remove redundant init functionKim Alvefur2020-10-151-4/+0