Paul Bakker
|
4cdb4d9bb7
|
X509 time-related tests depend on POLARSSL_HAVE_TIME
|
2014-05-22 14:22:59 +02:00 |
|
Manuel Pégourié-Gonnard
|
542eac5aba
|
Add tests for CCM via cipher layer
|
2014-05-20 17:26:16 +02:00 |
|
Manuel Pégourié-Gonnard
|
64bf996fd9
|
Add test vectors for Camellia-CCM
|
2014-05-14 14:10:35 +02:00 |
|
Manuel Pégourié-Gonnard
|
0f6b66dba1
|
CCM operations allow input == output
|
2014-05-14 14:10:35 +02:00 |
|
Manuel Pégourié-Gonnard
|
e8b8d01782
|
Use tighter buffers in CCM test suite
|
2014-05-07 12:13:13 +02:00 |
|
Manuel Pégourié-Gonnard
|
87df5ba0a1
|
Add test for length checks
|
2014-05-07 12:13:13 +02:00 |
|
Manuel Pégourié-Gonnard
|
ce77d55023
|
Implement ccm_auth_decrypt()
|
2014-05-07 12:13:13 +02:00 |
|
Manuel Pégourié-Gonnard
|
002323340a
|
Refactor to prepare for CCM decryption
|
2014-05-07 12:13:12 +02:00 |
|
Manuel Pégourié-Gonnard
|
9322e49037
|
Add NIST CAVS 11.0 test vectors for AES-CCM
Since there are 2160 test vectors fro encryption, which is a lot,
only the first one (out of ten) for each length quadruple was kept.
|
2014-05-07 12:13:12 +02:00 |
|
Manuel Pégourié-Gonnard
|
637eb3d31d
|
Add ccm_encrypt_and_tag()
|
2014-05-07 12:13:12 +02:00 |
|
Manuel Pégourié-Gonnard
|
9fe0d13e8d
|
Add ccm_init/free()
|
2014-05-06 12:12:45 +02:00 |
|
Manuel Pégourié-Gonnard
|
a6916fada8
|
Add (placeholder) CCM module
|
2014-05-06 11:28:09 +02:00 |
|
Paul Bakker
|
da13016d84
|
Prepped for 1.3.7 release
|
2014-05-01 14:27:19 +02:00 |
|
Paul Bakker
|
2a024ac86a
|
Merge dependency fixes
|
2014-04-30 16:50:59 +02:00 |
|
Paul Bakker
|
f96f7b607a
|
On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
|
2014-04-30 16:02:38 +02:00 |
|
Paul Bakker
|
24f37ccaed
|
rsa_check_pubkey() now allows an E up to N
|
2014-04-30 13:43:51 +02:00 |
|
Paul Bakker
|
0f90d7d2b5
|
version_check_feature() added to check for compile-time options at run-time
|
2014-04-30 11:49:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
3d41370645
|
Fix hash dependencies in X.509 tests
|
2014-04-29 15:29:41 +02:00 |
|
Manuel Pégourié-Gonnard
|
edc81ff8c2
|
Fix some more curve depends in X.509 tests
|
2014-04-29 15:10:40 +02:00 |
|
Manuel Pégourié-Gonnard
|
ec4d27398a
|
Fix curve dependencies in *keyusage tests
|
2014-04-29 15:06:41 +02:00 |
|
Paul Bakker
|
c73079a78c
|
Add debug_set_threshold() and thresholding of messages
|
2014-04-25 16:58:16 +02:00 |
|
Paul Bakker
|
92478c37a6
|
Debug module only outputs full lines instead of parts
|
2014-04-25 16:58:15 +02:00 |
|
Paul Bakker
|
eaebbd5eaa
|
debug_set_log_mode() added to determine raw or full logging
|
2014-04-25 16:58:14 +02:00 |
|
Paul Bakker
|
57ffa5570d
|
Add tests for debug_print_ret() and debug_print_buf().
|
2014-04-25 16:58:13 +02:00 |
|
Paul Bakker
|
2b34657b39
|
Updated Debug test suite data
|
2014-04-25 16:58:12 +02:00 |
|
Paul Bakker
|
8a0c0a9ed9
|
Check additional return values in some test cases
|
2014-04-17 17:24:23 +02:00 |
|
Paul Bakker
|
94b916c7b5
|
Split assignment and assert check into seperate lines in tests
|
2014-04-17 16:07:20 +02:00 |
|
Paul Bakker
|
dd0aae92e0
|
Replaced strcpy() with strncpy() in tests suites
|
2014-04-17 16:06:37 +02:00 |
|
Paul Bakker
|
b6487dade9
|
Fixed result for test case in test_suite_x509parse
|
2014-04-17 16:04:33 +02:00 |
|
Paul Bakker
|
784b04ff9a
|
Prepared for version 1.3.6
|
2014-04-11 15:33:59 +02:00 |
|
Paul Bakker
|
d8b0c5ef01
|
Fixed typo
|
2014-04-11 15:31:33 +02:00 |
|
Paul Bakker
|
52c5af7d2d
|
Merge support for verifying the extendedKeyUsage extension in X.509
|
2014-04-11 13:58:57 +02:00 |
|
Paul Bakker
|
1630058dde
|
Potential buffer overwrite in pem_write_buffer() fixed
Length indication when given a too small buffer was off.
Added regression test in test_suite_pem to detect this.
|
2014-04-11 13:58:05 +02:00 |
|
Manuel Pégourié-Gonnard
|
add05d7125
|
Fix some dependency declarations in X.509 tests
|
2014-04-11 11:12:40 +02:00 |
|
Manuel Pégourié-Gonnard
|
7afb8a0dca
|
Add x509_crt_check_extended_key_usage()
|
2014-04-11 11:09:00 +02:00 |
|
Paul Bakker
|
5c986f5244
|
Make test suite checks dependent on POLARSSL_X509_CHECK_KEY_USAGE
|
2014-04-09 16:58:51 +02:00 |
|
Manuel Pégourié-Gonnard
|
99d4f19111
|
Add keyUsage checking for CAs
|
2014-04-09 15:50:58 +02:00 |
|
Manuel Pégourié-Gonnard
|
603116c570
|
Add x509_crt_check_key_usage()
|
2014-04-09 15:50:57 +02:00 |
|
Manuel Pégourié-Gonnard
|
0148875cfc
|
Add tests and fix bugs for RSA-alt contexts
|
2014-04-04 17:46:46 +02:00 |
|
Manuel Pégourié-Gonnard
|
edb242fb2f
|
Minimally test md_process and associated wrappers
|
2014-04-04 16:42:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
f8708ddc95
|
Also test shax_hmac_reset in test_suite_hmac_shax
|
2014-04-04 16:42:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
9ce7e8414a
|
Add test for des_key_check_weak()
|
2014-04-04 16:42:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
3fec220a33
|
Add test for dhm_parse_dhmfile
|
2014-04-04 16:42:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
66dfc5a689
|
Add test for cipher_list()
|
2014-04-04 16:42:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
f3013830cc
|
Tests for MD info functions
|
2014-04-04 16:42:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
5819db1384
|
Test RIPEMD160 via MD layer more completely
|
2014-04-04 16:34:37 +02:00 |
|
Manuel Pégourié-Gonnard
|
59ba4e983b
|
Test generic md_hmac_reset()
|
2014-04-04 16:34:37 +02:00 |
|
Manuel Pégourié-Gonnard
|
58319e7f5c
|
Test mdX_hmax_reset() functions
|
2014-04-04 16:34:37 +02:00 |
|
Manuel Pégourié-Gonnard
|
7afdb88216
|
Test and fix x509_oid functions
|
2014-04-04 16:34:30 +02:00 |
|
Manuel Pégourié-Gonnard
|
6c1a73e061
|
Improve x509xrite_csr testing: extensions, version
|
2014-04-04 16:33:01 +02:00 |
|
Manuel Pégourié-Gonnard
|
c5ce83a3b8
|
Improve x509xrite_csr testing: extensions, ECDSA
|
2014-04-04 16:33:01 +02:00 |
|
Manuel Pégourié-Gonnard
|
52a555cd7d
|
Also test backwards compat strerror() function
|
2014-04-04 16:33:00 +02:00 |
|
Manuel Pégourié-Gonnard
|
7b30cfc5b0
|
x509_crt_info() list output cosmectics
|
2014-04-04 14:01:39 +02:00 |
|
Manuel Pégourié-Gonnard
|
f6f4ab40d3
|
Print extended key usage in x509_crt_info()
|
2014-04-04 14:01:39 +02:00 |
|
Manuel Pégourié-Gonnard
|
65c2ddc318
|
Print key_usage in x509_crt_info()
|
2014-04-04 14:01:39 +02:00 |
|
Manuel Pégourié-Gonnard
|
bce2b30855
|
Print subject alt name in x509_crt_info()
|
2014-04-04 14:01:39 +02:00 |
|
Manuel Pégourié-Gonnard
|
919f8f5829
|
Print NS Cert Type in x509_crt_info()
|
2014-04-04 14:01:39 +02:00 |
|
Manuel Pégourié-Gonnard
|
b28487db1f
|
Start printing extensions in x509_crt_info()
|
2014-04-04 14:01:39 +02:00 |
|
Paul Bakker
|
96d5265315
|
Made ready for release 1.3.5
|
2014-03-26 16:55:50 +01:00 |
|
Manuel Pégourié-Gonnard
|
c042cf0013
|
Fix broken tests due to changed error code
Introduced in 5246ee5c59
|
2014-03-26 14:12:20 +01:00 |
|
Manuel Pégourié-Gonnard
|
a11a77f316
|
Add test for SpecifiedECDomain
|
2014-03-19 16:50:59 +01:00 |
|
Manuel Pégourié-Gonnard
|
c7a88a960d
|
Fix more depend issues on specific curves
|
2014-03-13 19:25:06 +01:00 |
|
Manuel Pégourié-Gonnard
|
9533765b25
|
Reject certs and CRLs from the future
|
2014-03-13 19:25:06 +01:00 |
|
Manuel Pégourié-Gonnard
|
6304f786e0
|
Add x509_time_future()
|
2014-03-13 19:25:06 +01:00 |
|
Manuel Pégourié-Gonnard
|
29dcc0b93c
|
Fix depend issues in test suites for cipher modes
|
2014-03-13 19:25:06 +01:00 |
|
Manuel Pégourié-Gonnard
|
c9093085ed
|
Revert "Merged RSA-PSS support in Certificate, CSR and CRL"
This reverts commit ab50d8d30c , reversing
changes made to e31b1d992a .
|
2014-02-12 09:39:59 +01:00 |
|
Paul Bakker
|
ab50d8d30c
|
Merged RSA-PSS support in Certificate, CSR and CRL
|
2014-02-06 13:14:56 +01:00 |
|
Manuel Pégourié-Gonnard
|
fbf0915404
|
Fix bug in RSA PKCS#1 v1.5 "reversed" operations
|
2014-02-05 17:01:24 +01:00 |
|
Manuel Pégourié-Gonnard
|
c4919bc528
|
Add tests for rsa_copy()
|
2014-02-05 17:00:39 +01:00 |
|
Manuel Pégourié-Gonnard
|
725afd8b55
|
Fix the 'error' test suite
|
2014-02-01 11:54:28 +01:00 |
|
Manuel Pégourié-Gonnard
|
e6cdbbd40b
|
Add tests for th init_buf() variant of HMAC_DRBG
|
2014-02-01 11:30:03 +01:00 |
|
Manuel Pégourié-Gonnard
|
7575daa1f2
|
Expand CTR_DRBG test coverage
|
2014-01-31 12:16:54 +01:00 |
|
Manuel Pégourié-Gonnard
|
b3b205e081
|
Clean up details in ctr_drbg_selftest()
|
2014-01-31 12:04:06 +01:00 |
|
Manuel Pégourié-Gonnard
|
79afaa0551
|
Add hmac_drbg_selftest()
|
2014-01-31 11:52:14 +01:00 |
|
Manuel Pégourié-Gonnard
|
62273b88ab
|
Add NIST validation tests for HMAC_DRBG pr=true
|
2014-01-31 10:19:05 +01:00 |
|
Manuel Pégourié-Gonnard
|
24600b7c8a
|
Add NIST validation tests for HMAC_DRBG nopr
|
2014-01-31 09:58:12 +01:00 |
|
Manuel Pégourié-Gonnard
|
4f880a5dc2
|
Add misc tests for HMAC_DRBG
|
2014-01-30 23:17:33 +01:00 |
|
Manuel Pégourié-Gonnard
|
48bc3e81da
|
Add hmac_drbg_{write,update}_seed_file()
|
2014-01-30 23:17:33 +01:00 |
|
Manuel Pégourié-Gonnard
|
6801f39397
|
Add NIST no_reseed validation tests for HMAC_DRBG
|
2014-01-30 23:17:33 +01:00 |
|
Paul Bakker
|
2aca241425
|
Ready for release 1.3.4
|
2014-01-27 11:59:30 +01:00 |
|
Paul Bakker
|
42099c3155
|
Revert "Add pk_rsa_set_padding() and rsa_set_padding()"
This reverts commit b4fae579e8 .
Conflicts:
library/pk.c
tests/suites/test_suite_pk.data
tests/suites/test_suite_pk.function
|
2014-01-27 11:59:29 +01:00 |
|
Manuel Pégourié-Gonnard
|
41cae8e1f9
|
Parse CSRs signed with RSASSA-PSS
|
2014-01-25 12:48:58 +01:00 |
|
Manuel Pégourié-Gonnard
|
d4fd57dda4
|
Add tests for parsing CSRs
|
2014-01-25 12:48:58 +01:00 |
|
Manuel Pégourié-Gonnard
|
5eeb32b552
|
Parse CRLs signed with RSASSA-PSS
|
2014-01-25 12:48:58 +01:00 |
|
Manuel Pégourié-Gonnard
|
ce7c6fd433
|
Fix dependencies
|
2014-01-25 12:48:58 +01:00 |
|
Manuel Pégourié-Gonnard
|
3c1e8b539c
|
Finish parsing RSASSA-PSS parameters
|
2014-01-25 12:48:58 +01:00 |
|
Manuel Pégourié-Gonnard
|
d9fd87be33
|
Start parsing RSASSA-PSS parameters
|
2014-01-25 12:48:58 +01:00 |
|
Manuel Pégourié-Gonnard
|
b1d4eb16e4
|
Basic parsing of certs signed with RSASSA-PSS
|
2014-01-25 12:48:58 +01:00 |
|
Paul Bakker
|
556efba51c
|
Added AES CFB8 mode
|
2014-01-24 15:38:12 +01:00 |
|
Manuel Pégourié-Gonnard
|
a56d363724
|
Fix missing dependency declaration in test
|
2014-01-23 17:50:56 +01:00 |
|
Manuel Pégourié-Gonnard
|
027a7cb800
|
Rm now useless test helper function
|
2014-01-23 17:00:33 +01:00 |
|
Manuel Pégourié-Gonnard
|
544416aa99
|
Fix failing ECDH test (test vectors misuse)
|
2014-01-23 16:55:18 +01:00 |
|
Paul Bakker
|
bf98c3dd11
|
Merged deterministic ECDSA
Conflicts:
library/ecdsa.c
|
2014-01-23 15:48:01 +01:00 |
|
Manuel Pégourié-Gonnard
|
2d5f142dc6
|
Fix warning in main_test
|
2014-01-22 16:01:17 +01:00 |
|
Manuel Pégourié-Gonnard
|
dfab4c1193
|
Add forgotten #ifdef and depends_on
|
2014-01-22 16:01:06 +01:00 |
|
Manuel Pégourié-Gonnard
|
e707eb6df3
|
Fix unused variable in test case
|
2014-01-22 14:57:36 +01:00 |
|
Paul Bakker
|
5862eee4ca
|
Merged RIPEMD-160 support
|
2014-01-22 14:18:34 +01:00 |
|
Paul Bakker
|
61b699ed1b
|
Renamed RMD160 to RIPEMD160
|
2014-01-22 14:17:31 +01:00 |
|
Paul Bakker
|
0ac99ca7bc
|
Merged support for secp224k1, secp192k1 and secp25k1
|
2014-01-22 13:10:48 +01:00 |
|
Manuel Pégourié-Gonnard
|
b4fae579e8
|
Add pk_rsa_set_padding() and rsa_set_padding()
|
2014-01-22 13:03:27 +01:00 |
|