Commit Graph

35 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Kim Alvefur 701c5f4811 util.hashes: Fix output length of PBKDF2-HMAC-SHA256 6 years ago
Emmanuel Gil Peyrot a149dda0e3 util.*.c: Add static qualifiers everywhere 6 years ago
Kim Alvefur 7ef028d8d4 util.hashes: Use HMAC function provided by OpenSSL (fixes #1345) 7 years ago
Kim Alvefur 40d8e257d8 util-src/*.c: Attach pointer * to name instead of type 9 years ago
Kim Alvefur 5b10d245e3 util-src: Make C modules assert that the Lua runtime matches what it was compiled for 9 years ago
Kim Alvefur 0d28378a7a util-src/*.c: Squeeze repeated blank lines 9 years ago
Kim Alvefur ddeed6873e util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to support 5.1 11 years ago
Florian Zeitz 4d46c2e866 util-src/*.c: Per convention call luaL_error() as argument to return 11 years ago
Kim Alvefur e866ef555a util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux 11 years ago
Kim Alvefur 8affcc3ff7 util-src/*.c: Add macro for compiling with Lua 5.2 11 years ago
Kim Alvefur 4f6f0fe480 util-src/*.c: Use the more concise lua_setfield 11 years ago
Kim Alvefur c57e98cd7d util-src/*.c: Don't create globals when loaded 11 years ago
Kim Alvefur a6f6a0568f util.hashes: Silence compiler warning about pointer signedness 13 years ago
Kim Alvefur 22ad7256ba util.hashes: Correct argument order 13 years ago
Waqas Hussain af2f923773 util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead. 13 years ago
Florian Zeitz b6199cf81a util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in C 13 years ago
Florian Zeitz 1dc0a831cf util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes 13 years ago
Kim Alvefur 90d4d6bda8 Backed out changeset 61bc5c52c941 7 years ago
Kim Alvefur 165ee3a5ef util.hashes: Allow specifying output key length 7 years ago
Kim Alvefur ffc422e2f6 util.hashes: Add PBKDF2-HMAC-SHA256 7 years ago
Kim Alvefur 5a6c7ae673 util.hashes: Rename PBKDF2 function 7 years ago
Kim Alvefur 86219e2532 util.hashes: Remove now unused hmac() function 7 years ago
Kim Alvefur 5bc034dcf5 util.hashes: Use PBKDF2 from libcrypto 7 years ago
Kim Alvefur e70c9f1828 util.hashes: Remove redundant semicolon 7 years ago
Kim Alvefur 150e5e4aec util.hashes: Add sha224, sha384, sha512 14 years ago
Kim Alvefur ce764dee87 util.hashes: Use defined hash function output lengths. 14 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 25d0df0a5b Licensing/version updates for some files (forgot to commit, doh...) 17 years ago
Matthew Wild 72f6ff8408 and the C files too 17 years ago
Waqas Hussain 2fdb13c54d Minor changes to C files (to prevent compiler warnings) 17 years ago
Matthew Wild 1985b40ecf Fix for hashes.c and encodings.c to rename luaopen for util_* 17 years ago
Waqas Hussain 15d8fc0d62 Removed commented code 17 years ago
Waqas Hussain e7e668c24b Added util-src/hashes.c - support for sha1, sha256 and md5 hashes 17 years ago