Jouni Malinen
8860e0f47c
tests: Add printf encoding/decoding module tests
...
This replaces tests/test-printf.c.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-05-26 17:21:44 +03:00
Jouni Malinen
46fcf474ff
tests: Add CAVP test vectors for RSA/PKCS #1 v1.5 signature validation
...
This allow the PKCS #1 and RSA implementation to be validated against
the test vectors from
http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2rsatestvectors.zip
and
http://csrc.nist.gov/groups/STM/cavp/documents/dss/SigVer15EMTest.txt .
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-05-20 19:52:57 +03:00
Jouni Malinen
6be79541ad
tests: Fix unit test linking after reltime changes
...
librt needs to be linked in with older glibc versions.
Signed-hostap: Jouni Malinen <j@w1.fi>
2014-01-05 22:33:10 +02:00
Jouni Malinen
bdb112d35f
Add bitfield routines
...
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-04-27 22:16:40 +03:00
Jouni Malinen
565bb65d5c
Fix test-{md5,sha1} builds
...
These need to include the libraries to fix aliasing_hide_typecast()
in md5-internal.c.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2013-02-28 16:34:08 +02:00
Jouni Malinen
c2372d7cf0
Add AES-GCM test vectors from gcm-spec.pdf
...
Signed-hostap: Jouni Malinen <j@w1.fi>
2012-09-09 00:25:54 +03:00
Jouni Malinen
0d7773b63f
Add routines for encoding/decoding printf escaping mechanism
...
This can be used to build ASCII strings from binary data that is
more likely to use ASCII (i.e., text format is more natural
option than hexdump, but there is possibility of some non-ASCII
characters).
Signed-hostap: Jouni Malinen <j@w1.fi>
2012-08-07 13:30:13 +03:00
Jouni Malinen
b87346c41a
Remove test-https on "make clean"
...
This is not included in the TESTS list, but should be removed anyway.
Signed-hostap: Jouni Malinen <j@w1.fi>
2012-01-01 19:09:18 +02:00
Jouni Malinen
f551fa8d50
Add test program for RC4 (test vectors from RFC 6229)
...
Signed-hostap: Jouni Malinen <j@w1.fi>
2011-11-24 20:54:20 +02:00
Jouni Malinen
d10b13982d
Add test-https for testing internal TLS client functionality
...
This tool can be used to test the internal TLS client implementation
against HTTPS servers.
Signed-hostap: Jouni Malinen <j@w1.fi>
2011-11-13 10:49:27 +02:00
Jouni Malinen
dacf478352
Add generic doubly-linked list implementation
2009-12-19 13:43:25 +02:00
Jouni Malinen
655702f38d
Move test_x509v3 into the new tests subdirectory
2009-12-06 18:10:52 +02:00
Jouni Malinen
0bc377fa93
Resolve circular library references with --start-group
...
src/crypto/libcrypto.a and src/tls/libtls.a have circular references
and will need special handling with the linker at least for the time
being. This could be cleaned up eventually, but for now, provide a
mechanism to get the programs linked.
2009-12-06 17:18:28 +02:00
Jouni Malinen
ab7ddc74ad
Move asn1_test.c into tests subdirectory and split it in two
...
The new test-asn1 and test-x509 tools are built using libraries
from src/{utils,crypto,tls}. Currently, cross dependencies between
crypto and tls are still preventing the test-x509 from being linked
properly.
2009-12-06 16:45:36 +02:00
Jouni Malinen
f8cf3ce6a6
Move more tests from wpa_supplicant/tests into tests
2009-12-05 22:25:32 +02:00
Jouni Malinen
c7ab5122a7
Use simpler make rules for test programs
2009-12-05 22:14:55 +02:00
Jouni Malinen
668562d5fb
Move MD4 test from wpa_supplicant/tests into tests
2009-12-05 22:11:50 +02:00
Jouni Malinen
631afd993f
Add rules for building src/crypto as a library
...
For now, this is hardcoded to support only the internal crypto
implementation.
2009-12-05 22:03:46 +02:00
Jouni Malinen
6a230ba274
Add build rules for building a library from src/utils files
...
This is an initial step on providing an alternative build system that
uses libraries from src subdirectories.
2009-12-05 21:39:41 +02:00
Jouni Malinen
953f83439b
Move Milenage test code into the new tests directory
2009-12-05 21:14:08 +02:00
Jouni Malinen
8ad733d5ea
Use auto-generated dependency files and clean them
2009-12-05 20:44:12 +02:00
Jouni Malinen
1801bd7fae
Move base64 test code into a new tests subdirectory
2009-12-05 20:43:07 +02:00