aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/hashes.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | util.hashes: Fix output length of PBKDF2-HMAC-SHA256Kim Alvefur2020-04-221-1/+1
| | | | | | | | Somehow it got SHA1's 20 byte output instead of the proper 32 = 256/8
* | util.*.c: Add static qualifiers everywhereEmmanuel Gil Peyrot2019-12-011-2/+2
| |
* | Backed out changeset 61bc5c52c941Kim Alvefur2019-04-211-12/+9
| | | | | | | | luaL_buffinitsize is only available in Lua 5.2+
* | util.hashes: Allow specifying output key lengthKim Alvefur2019-04-201-9/+12
| | | | | | | | This is not needed for SCRAM but PBKDF2 takes this argument.
* | util.hashes: Add PBKDF2-HMAC-SHA256Kim Alvefur2019-01-131-0/+18
| |
* | util.hashes: Rename PBKDF2 functionKim Alvefur2019-01-131-2/+3
| | | | | | | | It's not SCRAM-specific
* | util.hashes: Remove now unused hmac() functionKim Alvefur2019-04-191-38/+0
| |
* | util.hashes: Use PBKDF2 from libcryptoKim Alvefur2019-01-131-44/+9
| |
* | Merge 0.11->trunkKim Alvefur2019-04-191-17/+11
|\|
| * util.hashes: Use HMAC function provided by OpenSSL (fixes #1345)Kim Alvefur2019-04-191-17/+11
| |
* | util.hashes: Remove redundant semicolonKim Alvefur2019-04-191-1/+1
|/
* util-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-121-19/+19
|
* util-src/*.c: Squeeze repeated blank linesKim Alvefur2017-01-231-1/+0
|
* util-src: Make C modules assert that the Lua runtime matches what it was ↵Kim Alvefur2017-01-081-0/+3
| | | | compiled for
* util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to ↵Kim Alvefur2015-04-261-3/+3
| | | | support 5.1
* util-src/*.c: Per convention call luaL_error() as argument to returnFlorian Zeitz2015-04-031-1/+1
|
* util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches ↵Kim Alvefur2015-04-031-26/+31
| | | | --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
* util-src/*.c: Add macro for compiling with Lua 5.2Kim Alvefur2014-09-171-0/+4
|
* util-src/*.c: Use the more concise lua_setfieldKim Alvefur2014-09-171-2/+1
|
* util-src/*.c: Don't create globals when loadedKim Alvefur2014-09-161-1/+2
|
* util.hashes: Silence compiler warning about pointer signedness0.9.0Kim Alvefur2013-08-091-1/+1
|
* util.hashes: Correct argument orderKim Alvefur2013-08-061-1/+1
|
* util.hashes: inttypes.h not available with MS Windows SDK, use MS specific ↵Waqas Hussain2013-05-131-0/+5
| | | | __int32 instead.
* util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in CFlorian Zeitz2013-04-281-0/+49
|
* util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashesFlorian Zeitz2013-04-271-14/+97
|
* util.hashes: Add sha224, sha384, sha512Kim Alvefur2012-05-101-0/+6
|
* util.hashes: Use defined hash function output lengths.Kim Alvefur2012-05-091-3/+3
|
* Update copyright headers for 2010Matthew Wild2010-03-221-3/+3
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Licensing/version updates for some files (forgot to commit, doh...)Matthew Wild2009-02-021-72/+62
|
* and the C files tooMatthew Wild2008-12-031-0/+20
|
* Minor changes to C files (to prevent compiler warnings)Waqas Hussain2008-11-271-1/+1
|
* Fix for hashes.c and encodings.c to rename luaopen for util_*Matthew Wild2008-11-261-1/+1
|
* Removed commented codeWaqas Hussain2008-11-261-148/+2
|
* Added util-src/hashes.c - support for sha1, sha256 and md5 hashesWaqas Hussain2008-11-261-0/+204