Commit Graph

  • 6e786747fb Move top()'s checks on child to child() Manuel Pégourié-Gonnard 2017-07-03 23:47:44 +02:00
  • 784aee3366 Move other special case from top() to child() Manuel Pégourié-Gonnard 2017-07-03 23:04:06 +02:00
  • b9983be73a Move one special case from verify_top() to child() Manuel Pégourié-Gonnard 2017-07-03 22:51:07 +02:00
  • 66fac75f8b Merge duplicated checks between child() and top() Manuel Pégourié-Gonnard 2017-07-03 21:39:21 +02:00
  • 58dcd2d9b2 Get rid of unused variables/arguments Manuel Pégourié-Gonnard 2017-07-03 21:35:04 +02:00
  • 8f8c282de9 Merge near-duplicated (grand)parent finding code Manuel Pégourié-Gonnard 2017-07-03 21:25:10 +02:00
  • f82a4d5aba Factor duplicated code into function Manuel Pégourié-Gonnard 2017-07-03 19:26:25 +02:00
  • 32fdc60c7b Unnest code in verify_top() Manuel Pégourié-Gonnard 2017-07-03 18:57:51 +02:00
  • 6038cb6909 Remove duplicate parent-searching in verify_top() Manuel Pégourié-Gonnard 2017-07-03 18:45:13 +02:00
  • 2f09d59456 Add badkey-skipping to find_parent() Manuel Pégourié-Gonnard 2017-07-03 18:30:43 +02:00
  • 3e329b8e8d Add badtime-skipping feature to new function Manuel Pégourié-Gonnard 2017-06-29 12:55:27 +02:00
  • 9c6118c498 Factor one more occurrence of code into function Manuel Pégourié-Gonnard 2017-06-29 12:38:42 +02:00
  • 2f1c33dc33 Factor repeated code into function Manuel Pégourié-Gonnard 2017-06-29 12:27:23 +02:00
  • 17f4a6a609 Take shortcut for directly trusted EE cert Manuel Pégourié-Gonnard 2017-06-29 11:57:01 +02:00
  • c61e5c9304 Don't search twice for a non-existing parent Manuel Pégourié-Gonnard 2017-06-29 11:47:06 +02:00
  • b8acfd2ba8 Fix calls to check_parent() Manuel Pégourié-Gonnard 2017-06-29 11:32:44 +02:00
  • 35407c7764 Add comments on chain verification cases Manuel Pégourié-Gonnard 2017-06-29 10:45:25 +02:00
  • 9bc860c3ad Add test for callback and bad signatures Manuel Pégourié-Gonnard 2017-07-14 11:32:38 +02:00
  • a656825aef Add test for bad name and callback Manuel Pégourié-Gonnard 2017-07-05 18:14:38 +02:00
  • 2d825d42bb Add test for same CA with different keys Manuel Pégourié-Gonnard 2017-07-03 18:06:38 +02:00
  • c10afdb322 Add test for CA forgery attempt Manuel Pégourié-Gonnard 2017-06-29 09:48:08 +02:00
  • d092277683 Add test for profile on trusted EE cert Manuel Pégourié-Gonnard 2017-06-27 13:26:43 +02:00
  • bc313017a5 Add tests for flags passed to f_vrfy Manuel Pégourié-Gonnard 2017-06-27 12:51:52 +02:00
  • ffa42efa1c Add ability to test flags value in vrfy callback Manuel Pégourié-Gonnard 2017-06-26 12:29:29 +02:00
  • 329e78c7fa Improve handling of md errors in X.509 Manuel Pégourié-Gonnard 2017-06-26 12:22:17 +02:00
  • a4a206e834 Clarify documentation for directly-trusted certs Manuel Pégourié-Gonnard 2017-06-21 09:35:44 +02:00
  • 602544e659 Fix usage of CFLAGS with cmake in all.sh Manuel Pégourié-Gonnard 2017-06-20 10:49:24 +02:00
  • 43be6cda47 Fix depends_on:pk_alg in test suites Manuel Pégourié-Gonnard 2017-06-20 09:53:42 +02:00
  • 902bb6a018 Add new test script depends-pkalgs.pl Manuel Pégourié-Gonnard 2017-06-06 12:42:41 +02:00
  • 5be9533cdf Fix depends_on:curve in x509 tests Manuel Pégourié-Gonnard 2017-06-06 12:13:19 +02:00
  • 9ba9dfb1c6 Fix usage of {curves,key-exchanges}.pl in all.sh Manuel Pégourié-Gonnard 2017-06-06 11:51:34 +02:00
  • 1fe6bb9f25 Fix missing depends_on:SHA/MD in x509 tests Manuel Pégourié-Gonnard 2017-06-06 11:36:16 +02:00
  • 42a4d30a04 Add new test script depends-hashes.pl Manuel Pégourié-Gonnard 2017-06-06 10:54:01 +02:00
  • b341dd58c5 Add tests for spurious certs in the chain Manuel Pégourié-Gonnard 2017-06-06 10:25:43 +02:00
  • 4dfc04a66f Add test for bad signature with longer chain Manuel Pégourié-Gonnard 2017-06-05 11:12:13 +02:00
  • 29d60fb85f Add test for expired cert in longer chain Manuel Pégourié-Gonnard 2017-06-05 10:20:32 +02:00
  • 41859786be Add tests for fatal error in vrfy callback Manuel Pégourié-Gonnard 2017-05-23 12:58:53 +02:00
  • 6b9d53f6c8 Add ability to test failing vrfy callback Manuel Pégourié-Gonnard 2017-05-23 12:26:58 +02:00
  • 6622fed524 Add tests for profile enforcement Manuel Pégourié-Gonnard 2017-05-23 11:29:29 +02:00
  • 9832ceaa2a Set deterministic flags for NULL profile Manuel Pégourié-Gonnard 2017-05-23 10:13:40 +02:00
  • e54931f489 Add "profile" arg to X.509 test function Manuel Pégourié-Gonnard 2017-05-22 12:04:25 +02:00
  • b68733bf62 ECDSA alternative support Ron Eldor 2017-06-18 16:03:14 +03:00
  • e13b54e5f7 Change PK module preprocessor check on word size Andres Amaya Garcia 2017-08-04 13:49:29 +01:00
  • 93a8789b62 Change PK module preprocessor check on word size Andres Amaya Garcia 2017-08-04 13:32:15 +01:00
  • 7c02c503ea Change PK module preprocessor check on word size Andres Amaya Garcia 2017-08-04 13:32:15 +01:00
  • 1af21bfa38 Improve documentation of PKCS1 decryption functions Hanno Becker 2017-05-11 16:33:02 +01:00
  • ea27c997c0 Improve documentation of PKCS1 decryption functions Simon Butcher 2017-08-01 22:59:01 +01:00
  • 85b602e5d0 Improve documentation of PKCS1 decryption functions Hanno Becker 2017-05-04 11:27:39 +01:00
  • 3f2557e6f1 Fix style and missing item in ChangeLog Simon Butcher 2017-08-01 18:06:12 +01:00
  • 38fc3a0548 Remove duplicated defintion of PRINT_ERROR Peter Huewe 2017-07-29 02:01:22 +02:00
  • a418e82a35 Add credit to Changelog to fix for #666 mbedtls-2.6.0-rc1 Simon Butcher 2017-07-28 23:52:10 +01:00
  • a55e084bce Fix naked call to time() with platform call Simon Butcher 2017-07-28 23:46:43 +01:00
  • 9fae22269b Fix ChangeLog for duplication after merge Simon Butcher 2017-07-28 22:32:23 +01:00
  • 61937d4a83 Rename time and index parameter to avoid name conflict. Hanno Becker 2017-04-26 15:01:23 +01:00
  • 840bace417 Correct comment Hanno Becker 2017-06-27 11:36:21 +01:00
  • 7ec83df47f Adapt ChangeLog Hanno Becker 2017-06-27 08:26:53 +01:00
  • ce37e6269e Reliably zeroize sensitive data in AES sample application Hanno Becker 2017-06-27 08:24:34 +01:00
  • f601ec5f34 Reliably zeroize sensitive data in Crypt-and-Hash sample application Hanno Becker 2017-06-27 08:22:17 +01:00
  • 6b171e4aec Fix potential integer overflow parsing DER CRT Andres AG 2017-03-09 16:16:11 +00:00
  • ce49a25033 Fix potential integer overflow parsing DER CRL Andres AG 2017-02-10 14:39:58 +00:00
  • 2dfb02151d Move the git scripts to correct path Ron Eldor 2017-07-24 15:52:18 +03:00
  • cf61d7d992 Update after @sbutcher-arm comments Ron Eldor 2017-07-23 15:25:32 +03:00
  • 13067fca9d Fix slash direction for linux path Ron Eldor 2017-07-20 18:24:43 +03:00
  • e9b3f7ea3f Add note for the git_hoos README file Ron Eldor 2017-07-20 11:25:14 +03:00
  • f16ce1cfb7 Pre push hook script Ron Eldor 2016-12-15 14:42:37 +02:00
  • a207e75089 Check return code of mbedtls_mpi_fill_random Ron Eldor 2017-01-12 14:50:50 +02:00
  • 7faf92a2fe Resource leak fix on windows platform Ron Eldor 2017-01-09 15:09:16 +02:00
  • 368d55c549 Wrong preproccessor condition fix Ron Eldor 2017-01-09 19:27:59 +02:00
  • d5a75f44a1 fix for issue 1118: check if iv is zero in gcm. Ron Eldor 2016-12-16 16:15:56 +02:00
  • c08d9ddd55 Remove mutexes from ECP hardware acceleration Janos Follath 2017-06-22 10:02:07 +01:00
  • 223f88dd2e Adapt ChangeLog mbedtls-2.1.9-rc1 Hanno Becker 2017-07-27 15:43:32 +01:00
  • 6ad82d714f Rename time and index parameter to avoid name conflict. Hanno Becker 2017-04-26 15:01:23 +01:00
  • e7f5abc111 Adapt ChangeLog mbedtls-1.3.21-rc1 Hanno Becker 2017-07-27 15:46:21 +01:00
  • ab3fbc2146 Rename time and index parameter to avoid name conflict. Hanno Becker 2017-04-26 15:01:23 +01:00
  • dcbb0246f9 Correct comments Hanno Becker 2017-06-27 11:41:45 +01:00
  • 56fa40f4f5 Adapt ChangeLog Hanno Becker 2017-06-27 08:47:52 +01:00
  • e6ee6383a9 Reliably zeroize sensitive data in AES sample application Hanno Becker 2017-06-27 08:45:27 +01:00
  • 8188d392af Reliably zeroize sensitive data in Crypt-and-Hash sample application Hanno Becker 2017-06-27 08:46:50 +01:00
  • 093620173b Correct comment and remove empty line Hanno Becker 2017-06-27 11:40:30 +01:00
  • 3948a101b6 Adapt ChangeLog Hanno Becker 2017-06-27 08:26:53 +01:00
  • 66daa68c19 Reliably zeroize sensitive data in AES sample application Hanno Becker 2017-06-27 08:24:34 +01:00
  • e0c35a6997 Reliably zeroize sensitive data in Crypt-and-Hash sample application Hanno Becker 2017-06-27 08:22:17 +01:00
  • 26b9f7d33b Fix get option in config.pl script Hanno Becker 2017-07-28 16:36:51 +01:00
  • f145a9dac2 Fix the check for max CA intermediates in ssl-opt.sh Simon Butcher 2017-07-28 15:59:35 +01:00
  • 9e24b5184c Fix threshold checks for MBEDTLS_X509_MAX_INTERMEDIATE_CA Simon Butcher 2017-07-28 12:15:13 +01:00
  • c6f346b60c Fix get option in config.pl script Hanno Becker 2017-07-28 16:36:51 +01:00
  • bcfa6f42e3 Fix the check for max CA intermediates in ssl-opt.sh Simon Butcher 2017-07-28 15:59:35 +01:00
  • e513cf7f26 Remove the check in ssl-opt.sh for MAX_INTERMEDIATE_CA Simon Butcher 2017-07-28 13:09:27 +01:00
  • 4c338d539a Fix threshold checks for MBEDTLS_X509_MAX_INTERMEDIATE_CA Simon Butcher 2017-07-28 12:16:42 +01:00
  • b34be244e6 Backport 1.3: check if iv is zero in gcm. Ron Eldor 2016-12-16 16:15:56 +02:00
  • 88252333e2 Fix typo Hanno Becker 2017-07-27 15:30:26 +01:00
  • 63ee8c1b73 Check threshold for POLARSSL_X509_MAX_INTERMEDIATE_CA in X509 tests Hanno Becker 2017-07-27 15:21:25 +01:00
  • 806c680eba Improve Readme for long test certificate chains Hanno Becker 2017-07-27 15:20:30 +01:00
  • 5a0ea97cfb Check value of POLARSSL_X509_MAX_INTERMEDIATE_CA in ssl-opt.sh Hanno Becker 2017-07-27 15:19:40 +01:00
  • 2625f4aa93 Correct indentation and labelling in ChangeLog Hanno Becker 2017-07-27 15:18:28 +01:00
  • 5308f47038 Fix implementation-defined integer conversion Janos Follath 2017-07-21 14:16:52 +01:00
  • 1fbc5fb027 Fix typos Janos Follath 2017-07-21 14:12:34 +01:00
  • 33e8d34e95 Fix filtering bug in ssl-opt.sh Manuel Pégourié-Gonnard 2017-07-10 11:55:31 +02:00
  • cfea3ebd01 Update doc of return value of verify() Manuel Pégourié-Gonnard 2017-07-10 11:45:47 +02:00
  • e23f7b312d Make test script more portable Manuel Pégourié-Gonnard 2017-07-06 14:31:54 +02:00