Commit graph

  • 7c5819eb1e Fix warnings (enum value missing from switch/case) Manuel Pégourié-Gonnard 2013-07-10 12:29:57 +0200
  • 72ef0b775d Add test certificate signed with ECDSA Manuel Pégourié-Gonnard 2013-07-10 12:20:54 +0200
  • 2692a30c1b Relax ifdef's in pk.h by analogy with md.h Manuel Pégourié-Gonnard 2013-07-10 10:30:15 +0200
  • 1e60cd09b0 Expand oid_get_sig_alg() for ECDSA-based algs Manuel Pégourié-Gonnard 2013-07-10 10:28:53 +0200
  • 244569f4b1 Use generic x509_get_pubkey() for RSA functions Manuel Pégourié-Gonnard 2013-07-10 09:46:30 +0200
  • 4fa0476675 Use new x509_get_pubkey() in x509parse_public_key() Manuel Pégourié-Gonnard 2013-07-09 13:10:49 +0200
  • c296c5925e Introduce generic x509_get_pubkey() Manuel Pégourié-Gonnard 2013-07-09 12:54:04 +0200
  • 094ad9e512 Rename x509_get_pubkey to _rsa and split it up Manuel Pégourié-Gonnard 2013-07-09 12:32:51 +0200
  • f16ac763f6 Simplify length mismatch check in x509_get_pubkey Manuel Pégourié-Gonnard 2013-07-09 12:26:00 +0200
  • 20c12f6b5f Factor more code into x509_get_pubkey() Manuel Pégourié-Gonnard 2013-07-09 12:13:24 +0200
  • 788db112a5 Get rid of x509_cert.pkoid Manuel Pégourié-Gonnard 2013-07-09 11:26:17 +0200
  • 374e4b87d4 pk_set_type() cannot be used to reset key type Manuel Pégourié-Gonnard 2013-07-09 10:21:34 +0200
  • 0a64e8f1fd Rework algorithmIdentifier parsing Manuel Pégourié-Gonnard 2013-07-08 18:26:18 +0200
  • f4a1427ae7 base64_decode() also forcefully returns on dst == NULL Paul Bakker 2013-07-05 10:29:12 +0200
  • 82024bf7b9 ssl_server2 now uses alloc_buffer if present and can be 'SERVERQUIT' Paul Bakker 2013-07-04 11:52:32 +0200
  • 61d113bb7b Init and free new contexts in the right place for SSL to prevent memory leaks Paul Bakker 2013-07-04 11:51:43 +0200
  • 8647eecf90 Merge branch 'parse-ec-key' into development Paul Bakker 2013-07-16 17:48:18 +0200
  • 8ea6c61477 Rename of prvkey -> privkey fix in test suite files Paul Bakker 2013-07-16 17:15:03 +0200
  • 7d4e5b739e Simplify password check in pem_read_buffer() Manuel Pégourié-Gonnard 2013-07-09 16:35:23 +0200
  • 791eed3f33 Fix portability issue in oid_get_numeric_string() Manuel Pégourié-Gonnard 2013-07-09 16:26:08 +0200
  • de44a4aecf Rename ecp_check_prvkey with a 'i' for consistency Manuel Pégourié-Gonnard 2013-07-09 16:05:52 +0200
  • 81c313ccc6 Add #ifdef's on RSA and EC in PK Manuel Pégourié-Gonnard 2013-07-09 10:35:54 +0200
  • 1f73a65c06 Fix ommission in pk_free(). Manuel Pégourié-Gonnard 2013-07-09 10:26:41 +0200
  • 7a6c946446 Fix error code in pk.h Manuel Pégourié-Gonnard 2013-07-09 10:04:07 +0200
  • 8838099330 Add x509parse_{,public}_key{,file}() Manuel Pégourié-Gonnard 2013-07-04 14:09:57 +0200
  • 12e0ed9115 Add pk_context and associated functions Manuel Pégourié-Gonnard 2013-07-04 13:31:32 +0200
  • d4ec21dd47 Add a check for multiple curve specification Manuel Pégourié-Gonnard 2013-07-04 12:04:57 +0200
  • 80300ad0d9 Add checks for pk_alg. Manuel Pégourié-Gonnard 2013-07-04 11:57:13 +0200
  • a9e54129b5 Adapt test files to supported PKCS#8 modes Manuel Pégourié-Gonnard 2013-07-04 11:41:39 +0200
  • 9c1cf459dd Implement x509parse_key_pkcs8_encrypted_der_ec() Manuel Pégourié-Gonnard 2013-07-04 11:20:24 +0200
  • a5d9974423 Split up x509_parse_pkcs8_encrypted_der() Manuel Pégourié-Gonnard 2013-07-04 11:08:31 +0200
  • 416fa8fde5 Implement x509parse_key_pkcs8_unencrypted_der_ec() Manuel Pégourié-Gonnard 2013-07-04 10:46:23 +0200
  • f8648d51b1 Fix undocumented feature of pem_read_buffer() Manuel Pégourié-Gonnard 2013-07-03 21:01:35 +0200
  • e366342233 Implement x509parse_key_sec1_der() Manuel Pégourié-Gonnard 2013-07-03 18:56:37 +0200
  • 2b9252cd8f Add tests for x509parse_key_ec() Manuel Pégourié-Gonnard 2013-07-03 12:13:56 +0200
  • 15e8b82724 Fill in x509parse_key_ec using stub function Manuel Pégourié-Gonnard 2013-07-03 11:56:37 +0200
  • 73c0cda346 Complete x509parse_public_key_ec() Manuel Pégourié-Gonnard 2013-07-01 19:45:45 +0200
  • f838eeda09 Add x509_get_ecparams() Manuel Pégourié-Gonnard 2013-07-02 14:56:43 +0200
  • f0b30d0542 Add oid_get_ec_grp() and associated data Manuel Pégourié-Gonnard 2013-07-01 17:34:57 +0200
  • 5a9b82e234 Make oid_get_pk_alg handle EC algorithms Manuel Pégourié-Gonnard 2013-07-01 16:57:44 +0200
  • dffba8f63e Fix bug in oid_get_numeric_string() Manuel Pégourié-Gonnard 2013-07-01 17:33:31 +0200
  • 444b42710a Optionally allow parameters in x509_get_tag() Manuel Pégourié-Gonnard 2013-07-01 15:27:48 +0200
  • 1bc6931f8c Add test for x509parse_public_keyfile_ec Manuel Pégourié-Gonnard 2013-06-27 15:33:04 +0200
  • 26833c2fc6 Add stubs for x509parse_key_ec and co. Manuel Pégourié-Gonnard 2013-06-27 11:27:58 +0200
  • 4250a1f818 Fix a comment and some whitespace Manuel Pégourié-Gonnard 2013-06-27 13:00:00 +0200
  • ba4878aa64 Rename x509parse_key & co with _rsa suffix Manuel Pégourié-Gonnard 2013-06-27 10:51:01 +0200
  • c8dc295e83 Add ecp_check_prvkey, with test Manuel Pégourié-Gonnard 2013-07-01 14:06:13 +0200
  • b8c6e0e3e9 Add ecp_keypair struct, init/free and constants Manuel Pégourié-Gonnard 2013-07-01 13:40:52 +0200
  • 7c8934ea0e Add ecdsa_init and ecdsa_free Manuel Pégourié-Gonnard 2013-06-27 12:54:02 +0200
  • bec2f45cfc Add ecdsa_context structure Manuel Pégourié-Gonnard 2013-06-27 10:17:07 +0200
  • 44618dd798 SSL Test and Benchmark now handle missing POLARSSL_TIMING_C Paul Bakker 2013-07-04 10:34:10 +0200
  • 1ef120f5fd Updated buffer-allocator with free-block-list to speed up searches Paul Bakker 2013-07-03 17:20:39 +0200
  • 41350a9a7e Fixed spaces in memory_buffer_alloc.c Paul Bakker 2013-07-03 15:33:47 +0200
  • fa9b10050b Also compiles / runs without time-based functions in OS Paul Bakker 2013-07-03 15:31:03 +0200
  • ecd54fb897 Disable POLARSSL_TIMING_C by default (only required for HAVEGE) Paul Bakker 2013-07-03 14:48:29 +0200
  • 92b8dc0535 Fixed memory leaks in tests Paul Bakker 2013-07-03 14:45:46 +0200
  • 891998e0c3 Added extra debug information to memory_buffer_alloc_status() Paul Bakker 2013-07-03 14:45:05 +0200
  • bd5524471a Removed memory leak in PKCS#12 code Paul Bakker 2013-07-03 14:44:40 +0200
  • 4632083c78 Removed memory leaks in PKCS#5 functions Paul Bakker 2013-07-03 14:01:52 +0200
  • e07c431eb3 Test suite automatically uses buffer-based memory allocator if present Paul Bakker 2013-07-03 14:00:49 +0200
  • 6e339b52e8 Memory-allocation abstraction layer and buffer-based allocator added Paul Bakker 2013-07-03 13:37:05 +0200
  • f863485fea Remove memory leak in PKCS#5 self test Paul Bakker 2013-07-03 13:31:52 +0200
  • abf2f8fcf9 zlib compression/decompression skipped on empty blocks Paul Bakker 2013-06-30 14:57:46 +0200
  • e5bffc319d Removed redundant includes Paul Bakker 2013-06-30 14:51:34 +0200
  • d2681d82e2 Renamed sha2.{c,h} to sha256.{c,h} and sha4.{c,h} to sha512.{c,h} Paul Bakker 2013-06-30 14:49:12 +0200
  • 9e36f0475f SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly Paul Bakker 2013-06-30 14:34:05 +0200
  • 3866b9f4b5 Removed redundant inclusion Paul Bakker 2013-06-30 12:53:14 +0200
  • 62534dd1d8 programs/util/strerror now handles decimal and hexidecimal input Paul Bakker 2013-06-30 12:45:07 +0200
  • 63899feca8 Removed redundant bugfix from ChangeLog (Already done in 1.2.8) Paul Bakker 2013-06-30 12:20:03 +0200
  • 03a8a79516 Programs adapted to use polarssl_strerror() instead of error_strerror() Paul Bakker 2013-06-30 12:18:08 +0200
  • fd3eac5786 Cleaned up ECP error codes Paul Bakker 2013-06-29 23:31:33 +0200
  • 5dc6b5fb05 Made supported curves configurable Paul Bakker 2013-06-29 23:26:34 +0200
  • e2ab84f4a1 Renamed error_strerror() to the less conflicting polarssl_strerror() Paul Bakker 2013-06-29 18:24:32 +0200
  • 89fe7f4388 compat.sh modified to support new ssl_server2 and ssl_client2 capabilities Paul Bakker 2013-06-29 16:18:10 +0200
  • c1516be99d ssl_server2 and ssl_client2 adapted to support maximum protocol version Paul Bakker 2013-06-29 16:01:32 +0200
  • 2fbefde1d8 Client and server now filter sent and accepted ciphersuites on minimum and maximum protocol version Paul Bakker 2013-06-29 16:01:15 +0200
  • 59c28a2723 SSL v2 handshake should also handle dynamic ciphersuites Paul Bakker 2013-06-29 15:33:42 +0200
  • f8d018a274 Made asn1_get_alg() and asn1_get_alg_null() as generic functions Paul Bakker 2013-06-29 12:16:17 +0200
  • ce6ae233cb Macro-ized the final internal OID functions Paul Bakker 2013-06-28 18:05:35 +0200
  • 47fce02bd8 Defines around module-dependent OIDs Paul Bakker 2013-06-28 17:34:34 +0200
  • 7749a22974 Moved PKCS#12 cipher layer based PBE detection to use OID database Paul Bakker 2013-06-28 17:28:20 +0200
  • dd1150e846 Macro-ized single and double attribute functions in OID database Paul Bakker 2013-06-28 17:20:22 +0200
  • bd51ad538d Re-ordered OID internals. Made macro for oid_XXX_from_asn1() functions Paul Bakker 2013-06-28 16:51:52 +0200
  • 9b5e885611 PKCS#5 PBES2 now uses OID database for algorithm detection Paul Bakker 2013-06-28 16:12:50 +0200
  • 6d72f33441 Updated README with simple formatting Paul Bakker 2013-06-28 10:25:03 +0200
  • 407a0da160 Moved __cplusplus extern statement to include struct definitions as well. Paul Bakker 2013-06-27 14:29:21 +0200
  • c5a79cca53 Fixed compiler warnings for unused parameter ssl Paul Bakker 2013-06-26 15:08:35 +0200
  • b9d3cfa114 Split up GCM into a start/update/finish cycle Paul Bakker 2013-06-26 15:07:16 +0200
  • 534f82c77a Made ctr_drbg_init_entropy_len() non-static and defined Paul Bakker 2013-06-25 16:47:55 +0200
  • 3c5ef71322 Cleanup up non-prototyped functions (static) and const-correctness in programs Paul Bakker 2013-06-25 16:37:45 +0200
  • b6c5d2e1a6 Cleanup up non-prototyped functions (static) and const-correctness Paul Bakker 2013-06-25 16:25:17 +0200
  • 169b7f4a13 Fixed gcm.c formatting (removed redundant spaces) Paul Bakker 2013-06-25 14:58:00 +0200
  • bda7cb76fa Fixed minor comment typo (cherry picked from commit da7fdbd534) Paul Bakker 2013-06-24 19:34:25 +0200
  • b0713c7e1f Updated PKCS#12 define dependencies (cherry picked from commit 602c31be23) Paul Bakker 2013-06-24 19:34:08 +0200
  • f67edd9db8 Made x509parse PKCS#12 and PKCS#5 tests dependent on defines (cherry picked from commit db7ea6f162) Paul Bakker 2013-06-24 19:33:44 +0200
  • 38b50d73a1 Moved PKCS#12 PBE functions to cipher / md layer where possible Paul Bakker 2013-06-24 19:33:27 +0200
  • 0e34235644 Fixed values for 2-key Triple DES in cipher layer (cherry picked from commit 2be71faae4) Paul Bakker 2013-06-24 19:33:02 +0200
  • a4232a7ccb x509parse_crt() and x509parse_crt_der() return X509 password related codes Paul Bakker 2013-06-24 19:32:25 +0200
  • 72823091c2 Removed redundant free()s (cherry picked from commit 1fc7dfe2e2) Paul Bakker 2013-06-24 19:32:04 +0200
  • cf445ffc4e Added missing free() (cherry picked from commit ff3a4b010b) Paul Bakker 2013-06-24 19:31:41 +0200