Log

util-src/hashes.c @ 13240:a378937103cb

description author age
util: Add compat for prosody module name change to C sources Kim Alvefur Fri, 17 Mar 2023 18:03:07 +0100
util.hashes: Silence compiler warning about char pointer signedness Kim Alvefur Tue, 17 Jan 2023 15:30:28 +0100
util.hashes: Add HKDF-HMAC-SHA256/HKDF-HMAC-SHA384 Matthew Wild Fri, 13 Jan 2023 14:29:08 +0000
util-src: Remove Lua 5.1 compat macros Kim Alvefur Fri, 01 Jul 2022 21:21:21 +0200
util.hashes: Revert to HMAC() convenience function Kim Alvefur Fri, 24 Jun 2022 16:59:54 +0200
util.hashes: Remove unused constants Kim Alvefur Fri, 24 Jun 2022 16:49:03 +0200
util.hashes: Remove unused struct Kim Alvefur Fri, 24 Jun 2022 16:12:11 +0200
util.hashes: Return OpenSSL error messages on failure Kim Alvefur Fri, 24 Jun 2022 15:33:04 +0200
util.hashes: Add SHA3 bindings Kim Alvefur Thu, 10 Sep 2020 21:58:24 +0200
util.hashes: Bind BLAKE2 algoritms supported by OpenSSL Kim Alvefur Thu, 10 Sep 2020 21:58:24 +0200
util.hashes: Refactor PBKDF2 to deduplicate code Kim Alvefur Thu, 10 Sep 2020 21:58:25 +0200
util.hashes: Expose sha224 and sha384 HMAC functions Kim Alvefur Sun, 29 Nov 2020 17:58:45 +0100
util.hashes: Refactor HMAC bindings (fixes #1589) Kim Alvefur Sun, 29 Nov 2020 17:58:30 +0100
util.hashes: Refactor hash functions to use OpenSSL EVP methods (fix #1698) Kim Alvefur Thu, 10 Sep 2020 21:58:23 +0200
util.hashes: Expose OpenSSL version Kim Alvefur Wed, 12 May 2021 01:11:15 +0200
Merge 0.11->trunk Matthew Wild Thu, 13 May 2021 11:17:13 +0100
util.hashes: Add constant-time string comparison (binding to CRYPTO_memcmp) 0.11 Matthew Wild Mon, 10 May 2021 16:24:54 +0100
util.hashes: Fix output length of PBKDF2-HMAC-SHA256 Kim Alvefur Wed, 22 Apr 2020 21:38:36 +0200
util.*.c: Add static qualifiers everywhere Emmanuel Gil Peyrot Sun, 01 Dec 2019 20:25:20 +0100
Backed out changeset 61bc5c52c941 Kim Alvefur Sun, 21 Apr 2019 00:59:36 +0200
util.hashes: Allow specifying output key length Kim Alvefur Sat, 20 Apr 2019 15:11:04 +0200
util.hashes: Add PBKDF2-HMAC-SHA256 Kim Alvefur Sun, 13 Jan 2019 13:59:26 +0100
util.hashes: Rename PBKDF2 function Kim Alvefur Sun, 13 Jan 2019 13:57:18 +0100
util.hashes: Remove now unused hmac() function Kim Alvefur Fri, 19 Apr 2019 13:24:32 +0200
util.hashes: Use PBKDF2 from libcrypto Kim Alvefur Sun, 13 Jan 2019 13:57:14 +0100
Merge 0.11->trunk Kim Alvefur Fri, 19 Apr 2019 13:21:00 +0200
util.hashes: Use HMAC function provided by OpenSSL (fixes #1345) 0.11 Kim Alvefur Fri, 19 Apr 2019 13:12:00 +0200
util.hashes: Remove redundant semicolon Kim Alvefur Fri, 19 Apr 2019 12:41:38 +0200
util-src/*.c: Attach pointer * to name instead of type Kim Alvefur Sun, 12 Feb 2017 16:42:29 +0100
util-src/*.c: Squeeze repeated blank lines Kim Alvefur Mon, 23 Jan 2017 18:33:35 +0100
util-src: Make C modules assert that the Lua runtime matches what it was compiled for Kim Alvefur Sun, 08 Jan 2017 14:21:08 +0100
util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to support 5.1 Kim Alvefur Sun, 26 Apr 2015 12:38:37 +0200
util-src/*.c: Per convention call luaL_error() as argument to return Florian Zeitz Fri, 03 Apr 2015 20:30:14 +0200
util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux Kim Alvefur Fri, 03 Apr 2015 19:52:48 +0200
util-src/*.c: Add macro for compiling with Lua 5.2 Kim Alvefur Wed, 17 Sep 2014 14:30:29 +0200
util-src/*.c: Use the more concise lua_setfield Kim Alvefur Wed, 17 Sep 2014 02:23:17 +0200
util-src/*.c: Don't create globals when loaded Kim Alvefur Tue, 16 Sep 2014 21:56:18 +0200
util.hashes: Silence compiler warning about pointer signedness 0.9.0 Kim Alvefur Fri, 09 Aug 2013 16:03:17 +0200
util.hashes: Correct argument order Kim Alvefur Tue, 06 Aug 2013 14:31:20 +0200
util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead. Waqas Hussain Mon, 13 May 2013 15:52:01 -0400
util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in C Florian Zeitz Sun, 28 Apr 2013 02:28:42 +0200
util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes Florian Zeitz Sat, 27 Apr 2013 17:01:31 +0200
util.hashes: Add sha224, sha384, sha512 Kim Alvefur Thu, 10 May 2012 05:57:24 +0200
util.hashes: Use defined hash function output lengths. Kim Alvefur Wed, 09 May 2012 01:26:56 +0200
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
Licensing/version updates for some files (forgot to commit, doh...) Matthew Wild Mon, 02 Feb 2009 18:03:18 +0000
and the C files too Matthew Wild Wed, 03 Dec 2008 14:45:03 +0000
Minor changes to C files (to prevent compiler warnings) Waqas Hussain Thu, 27 Nov 2008 21:47:13 +0500
Fix for hashes.c and encodings.c to rename luaopen for util_* Matthew Wild Wed, 26 Nov 2008 22:45:33 +0000
Removed commented code Waqas Hussain Wed, 26 Nov 2008 01:55:07 +0500
Added util-src/hashes.c - support for sha1, sha256 and md5 hashes Waqas Hussain Wed, 26 Nov 2008 01:46:16 +0500