summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-08-30csrandom, keccak_prng, chacha: new modulesMarko Kreen
csrandom implements arc4random_buf api. keccak_prng implements PRNG based on Keccak sponge. chacha implements ChaCha hash.
2014-06-27string: locale-independent float handlingMarko Kreen
2014-06-27string: memstring functionsMarko Kreen
2014-06-21shlist: convert to offsets relateive to node itselfMarko Kreen
Simplifies api and makes it more similar to list.h as list head does not need to be carried around.
2014-06-21test_cxalloc: fix printf warningMarko Kreen
2014-06-20test/compile: disable unused func warningMarko Kreen
2014-06-19cbtree: allow long keysMarko Kreen
2014-06-19test_cfparser: allow run from top dirMarko Kreen
2014-06-19utf8: validatorMarko Kreen
For sanity-checking UTF8 without decoding.
2014-06-12Remove use of USUAL_ALLOCMarko Kreen
2014-05-23keccak: Sync with new SHA3 draft.Marko Kreen
- Sync SHA3 parameters and regtests with new FIPS202 draft. - Move regular hash api to 'usual/crypto/sha3' module. - Drop regular hash api from keccak module, use exteded sponge API used in spongeshaker Python module.
2013-01-06wchar: compat mbsnrtowcs(), testsMarko Kreen
2013-01-05test: clean fmod_testMarko Kreen
2013-01-05test/Makefile: cleanupMarko Kreen
* regtest_compat is now EXTRA target * regtest_system is built against libusual.a
2013-01-05MSVC supportMarko Kreen
* Antimake extension 'msvc' * Hardcoded config <usual/config.msvc.h> * More guarded headers Usage: 1. Install coreutils and make from gnuwin32 2. Make sure VC env variables are loaded (PATH) 3. Copy build_msvc.mk to build.mk It would be nice to make it work with MSYS/MINGW32 + VC, but their filename mangling makes it messy.
2013-01-05tests: remove headers already included by base.hMarko Kreen
2013-01-04Remove remaining C++ comments from source tree.Marko Kreen
I like to use them for debugging, to show that this comment is temporary, but that also means they should not stay around.
2013-01-04find_modules: test with various awksMarko Kreen
2013-01-03test/compile: fix daemonize() argument typeMarko Kreen
2013-01-03usual/fnmatch: fnmatch compatMarko Kreen
2013-01-03Move simple hashes under separate subdirectory.Marko Kreen
There may be more of them.
2012-12-22crypto: Add Keccak (SHA3) algorithmMarko Kreen
It is based on Keccak reference implementation, but cleaned up for SHA3-only usage.
2012-12-22crypto: SHA2 digestsMarko Kreen
Separate module for both SHA-256 and SHA-512.
2012-12-22crypto/digest: common framework for digestsMarko Kreen
The digests will be easier to use (and test) if they share common wrapper API.
2012-12-22crypto: reorder arguments in _final()Marko Kreen
The old one was final(dst, ctx) which is some sort of historical accident. Lets get rid of it. Then all operations on hash context take context as first argument.
2012-12-22Move crypto filesMarko Kreen
There will be more, so give them subdirectory.
2012-12-22test_regex: skip test that glibc failsMarko Kreen
2012-12-22test_endian: fix uint64 checkMarko Kreen
2012-10-29Fix test makefile for extensionsMarko Kreen
2012-06-05test_fileutil: fix signedness warningsMarko Kreen
2012-06-05test_regex.c: fix invalid memsetMarko Kreen
2012-05-10Whitespace and typosDan Farina
Signed-off-by: Dan Farina <drfarina@acm.org>
2012-05-10Add HMAC-SHA1Dan Farina
Signed-off-by: Dan Farina <drfarina@acm.org>
2012-04-05base: static_assert(expr, msg)Marko Kreen
Provide static_assert() macro. On newer compilers it tries to use built-in implementation, on older ones compat one. The detection does not need to be too strict as there is always fallback implementation available. Include <assert.h>, as that is where C1x will provide it.
2012-03-04attregex: import testregex.c v2010-06-10Marko Kreen
2011-12-20test/compile: avoid unused warningMarko Kreen
2011-12-12test_netdb: accept ENOSYSMarko Kreen
This allows the test to pass when no-op getaddrinfo is used.
2011-12-12Update build system to use AntimakeMarko Kreen
Additional features: - install headers with filtering, to hide HAVE_* symbols - libusual.pc for pkg-config
2011-02-28ctype: new compat moduleMarko Kreen
Make sure <ctype.h> functions accept 'char' values. On arches where plain 'char' is signed, <ctype.h> functions need to work on negative values. Some OSes do it already (Linux), some don't (BSD, Windows).
2011-02-26lookup3: tests for big-endianMarko Kreen
2011-02-24regex: minor space savingMarko Kreen
2011-02-24aatree: fix testMarko Kreen
2011-02-24getopt: new compat moduleMarko Kreen
implementation from OpenBSD
2011-02-15test_time: allow exact usleepMarko Kreen
2011-02-15test_fileutil: use wb to write fileMarko Kreen
2011-02-15test: missing LDFLAGS from linkMarko Kreen
2011-02-15socket: inet_pton() and inet_ntop() from openbsdMarko Kreen
2011-02-01test: fileutil, time, crc32 and lookup3 testsMarko Kreen
2011-02-01test_string: parse_word_list() testsMarko Kreen
2011-02-01test_netdb: add socket.h includeMarko Kreen