Commit graph

27 commits

Author SHA1 Message Date
Kim Alvefur
70bbc77e68 Merge 0.11->trunk 2019-04-19 13:21:00 +02:00
Kim Alvefur
7ef028d8d4 util.hashes: Use HMAC function provided by OpenSSL (fixes #1345) 2019-04-19 13:12:00 +02:00
Kim Alvefur
e70c9f1828 util.hashes: Remove redundant semicolon 2019-04-19 12:41:38 +02:00
Kim Alvefur
40d8e257d8 util-src/*.c: Attach pointer * to name instead of type 2017-02-12 16:42:29 +01:00
Kim Alvefur
0d28378a7a util-src/*.c: Squeeze repeated blank lines 2017-01-23 18:33:35 +01:00
Kim Alvefur
5b10d245e3 util-src: Make C modules assert that the Lua runtime matches what it was compiled for 2017-01-08 14:21:08 +01:00
Kim Alvefur
ddeed6873e util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to support 5.1 2015-04-26 12:38:37 +02:00
Florian Zeitz
4d46c2e866 util-src/*.c: Per convention call luaL_error() as argument to return 2015-04-03 20:30:14 +02:00
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 2015-04-03 19:52:48 +02:00
Kim Alvefur
8affcc3ff7 util-src/*.c: Add macro for compiling with Lua 5.2 2014-09-17 14:30:29 +02:00
Kim Alvefur
4f6f0fe480 util-src/*.c: Use the more concise lua_setfield 2014-09-17 02:23:17 +02:00
Kim Alvefur
c57e98cd7d util-src/*.c: Don't create globals when loaded 2014-09-16 21:56:18 +02:00
Kim Alvefur
a6f6a0568f util.hashes: Silence compiler warning about pointer signedness 2013-08-09 16:03:17 +02:00
Kim Alvefur
22ad7256ba util.hashes: Correct argument order 2013-08-06 14:31:20 +02:00
Waqas Hussain
af2f923773 util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead. 2013-05-13 15:52:01 -04:00
Florian Zeitz
b6199cf81a util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in C 2013-04-28 02:28:42 +02:00
Florian Zeitz
1dc0a831cf util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes 2013-04-27 17:01:31 +02:00
Kim Alvefur
150e5e4aec util.hashes: Add sha224, sha384, sha512 2012-05-10 05:57:24 +02:00
Kim Alvefur
ce764dee87 util.hashes: Use defined hash function output lengths. 2012-05-09 01:26:56 +02:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Matthew Wild
c80f91dc02 0.3->0.4 2009-03-20 20:16:25 +00:00
Matthew Wild
25d0df0a5b Licensing/version updates for some files (forgot to commit, doh...) 2009-02-02 18:03:18 +00:00
Matthew Wild
72f6ff8408 and the C files too 2008-12-03 14:45:03 +00:00
Waqas Hussain
2fdb13c54d Minor changes to C files (to prevent compiler warnings) 2008-11-27 21:47:13 +05:00
Matthew Wild
1985b40ecf Fix for hashes.c and encodings.c to rename luaopen for util_* 2008-11-26 22:45:33 +00:00
Waqas Hussain
15d8fc0d62 Removed commented code 2008-11-26 01:55:07 +05:00
Waqas Hussain
e7e668c24b Added util-src/hashes.c - support for sha1, sha256 and md5 hashes 2008-11-26 01:46:16 +05:00