Commit Graph

  • cd2b29cd12 Improve wording in documentation and ChangeLog Manuel Pégourié-Gonnard 2018-12-12 10:23:57 +01:00
  • ed459e6995 Fix content and style of constraints documentation Manuel Pégourié-Gonnard 2018-12-12 10:20:33 +01:00
  • 23fd2bdb94 Update some documentation related to key slots Gilles Peskine 2018-12-11 15:51:32 +01:00
  • 79a11d6c42 Test invalid lifetime regardless of support for persistent keys Gilles Peskine 2018-12-11 15:33:21 +01:00
  • 09829036ab Document some functions in internal headers Gilles Peskine 2018-12-10 17:00:38 +01:00
  • fa4135b135 Move more slot management functions to the proper module Gilles Peskine 2018-12-10 16:48:53 +01:00
  • 66fb126e87 Move the key slot array to the slot management module Gilles Peskine 2018-12-10 16:29:04 +01:00
  • 408319be3a Remove redundant check for slot->allocated Gilles Peskine 2018-12-10 17:34:00 +01:00
  • 539cda57df Add tests with invalid key identifiers Gilles Peskine 2018-12-10 17:31:59 +01:00
  • 48868129cd Document the maximum key identifier Gilles Peskine 2018-12-10 17:30:29 +01:00
  • 039b90cf5b Expose the PSA key slot structure to internal modules Gilles Peskine 2018-12-07 18:24:41 +01:00
  • 3f10812ff9 Use the library-wide zeroize function Gilles Peskine 2018-12-07 18:14:53 +01:00
  • fe9756b1f5 Remove a comment that is no longer applicable Gilles Peskine 2018-12-07 18:12:28 +01:00
  • 2f060a8ea5 Rename key_slot_t to psa_key_slot_t in psa_crypto.c Gilles Peskine 2018-12-04 17:12:32 +01:00
  • 4a044739a8 Fix the build without persistent storage Gilles Peskine 2018-12-03 18:19:39 +01:00
  • c5487a8892 Drop support for psa_key_slot_t in psa_crypto.c Gilles Peskine 2018-12-03 18:08:14 +01:00
  • b77a6b25c0 Remove psa_set_key_lifetime Gilles Peskine 2018-12-03 17:46:13 +01:00
  • f6cc435a8a Remove psa_key_slot_t from public headers Gilles Peskine 2018-12-03 17:44:43 +01:00
  • 7bc9f68232 Convert the PSA crypto persistent storage tests to the new handle API Gilles Peskine 2018-12-03 17:05:18 +01:00
  • a23eafce3a Fix snprintf call to assume less about integral type sizes Gilles Peskine 2018-12-03 16:48:14 +01:00
  • 8d4919bc6a Persistent storage implementation: psa_key_slot_t -> psa_key_id_t Gilles Peskine 2018-12-03 16:48:09 +01:00
  • b0edfb513b Convert the PSA example programs to the new handle API Gilles Peskine 2018-12-03 16:24:51 +01:00
  • bdf309ccdb Convert the PSA crypto cryptography tests to the new handle API Gilles Peskine 2018-12-03 15:36:32 +01:00
  • a8860b2990 Remove lifetime test functions Gilles Peskine 2018-12-03 14:56:51 +01:00
  • dc911fd594 Remove redundant slot-based test Gilles Peskine 2018-12-03 12:21:51 +01:00
  • f77ed1f20b Factor the common idiom psa_wipe_key_slot into a function Gilles Peskine 2018-12-03 11:58:46 +01:00
  • a426168cbf Test that failure of import_key preserves metadata Gilles Peskine 2018-12-03 11:34:01 +01:00
  • d7c75707b8 mbedtls_psa_crypto_free: free allocated slots as well Gilles Peskine 2018-12-03 10:36:46 +01:00
  • 961849f6d1 Implement slot allocation Gilles Peskine 2018-11-30 18:54:54 +01:00
  • 5ec7b078ea Add tests for the new slot management mechanism Gilles Peskine 2018-11-30 18:53:28 +01:00
  • 7f6e3a868a Change ASSERT_ALLOC to take a size in elements, not bytes Gilles Peskine 2018-11-30 18:51:45 +01:00
  • 69f976b1d6 Distinguish in-memory slot number from in-storage slot identifier Gilles Peskine 2018-11-30 18:46:56 +01:00
  • ae32aac48e Switch function declarations from key slots to key handles Gilles Peskine 2018-11-30 14:39:32 +01:00
  • 644cd5fd89 Linkify some macros that were just typeset as text Gilles Peskine 2018-12-11 16:47:35 +01:00
  • f535eb2e61 Declare the new slot management functions in crypto.h Gilles Peskine 2018-11-30 14:08:36 +01:00
  • 35acb099d6 Fix some documentation typos/markup/duplication. Manuel Pégourié-Gonnard 2018-12-11 12:26:49 +01:00
  • 9b8ea89ae5 Fix a few style / whitespace issues Manuel Pégourié-Gonnard 2018-12-11 10:56:56 +01:00
  • 8a46c22466 Add a ChangeLog entry for MBEDTLS_CHECK_PARAMS Manuel Pégourié-Gonnard 2018-12-11 10:46:41 +01:00
  • acfdc623d2 Fix test macro that was too lenient Manuel Pégourié-Gonnard 2018-12-11 10:36:21 +01:00
  • 840af0a9ae Add tests to all.sh for CHECK_PARAMS edge cases Manuel Pégourié-Gonnard 2018-12-11 10:34:04 +01:00
  • 22028a0b8d Fix a typo in documentation Manuel Pégourié-Gonnard 2018-12-11 10:29:25 +01:00
  • e451be5d04 Update version_features.c Manuel Pégourié-Gonnard 2018-12-11 09:37:26 +01:00
  • 0e17cc93c6 Avoid stringifying condition too early Manuel Pégourié-Gonnard 2018-12-11 09:26:54 +01:00
  • 44c5d58d05 Document AES functions and fix free() functions Manuel Pégourié-Gonnard 2018-12-10 16:56:14 +01:00
  • 0e9cddbf1a Introduce generic validation macros Manuel Pégourié-Gonnard 2018-12-10 16:37:51 +01:00
  • a967626753 Make MBEDTLS_CHECK_PARAMS disabled by default Manuel Pégourié-Gonnard 2018-12-10 16:12:56 +01:00
  • ab588529e1 Rework documentation. Manuel Pégourié-Gonnard 2018-12-10 16:04:46 +01:00
  • a2b0e27378 Skip param validation tests if custom macro used Manuel Pégourié-Gonnard 2018-12-10 15:23:58 +01:00
  • 3ef6a6dc5c Fix const-ness in mbedtls_param_failed() Manuel Pégourié-Gonnard 2018-12-10 14:31:45 +01:00
  • 8e661bf6a8 Fix arity of the PARAM_FAILED() macro and function Manuel Pégourié-Gonnard 2018-12-10 12:41:46 +01:00
  • 2c21073789 Remove leftover from testing Manuel Pégourié-Gonnard 2018-12-10 11:48:49 +01:00
  • 4c37db6d87 Remove the library provided function of MBEDTLS_PARAM_FAILED Simon Butcher 2018-12-09 22:42:11 +00:00
  • 249b3d6efe Remove use of the macro TEST_FN from the AES test suite Simon Butcher 2018-12-09 22:18:46 +00:00
  • 6542f6c597 Change the use of setjmp/longjmp in parameter failure callback Simon Butcher 2018-12-09 22:09:59 +00:00
  • 747f5fe3e2 Add disabling of gcc 'clobbered' warning Simon Butcher 2018-12-07 16:53:57 +00:00
  • 63cb97e562 Add handlers for parameter validation in the sample programs Simon Butcher 2018-12-06 17:43:31 +00:00
  • a646345e3f Add additional parameter validation tests for the AES module Simon Butcher 2018-12-06 17:41:56 +00:00
  • 5201e414aa Add optional parameter validation to the AES module Simon Butcher 2018-12-06 17:40:14 +00:00
  • b4868034dd Add initial options and support for parameter validation Simon Butcher 2018-12-06 17:36:34 +00:00
  • 01b34fb316 Merge remote-tracking branch 'upstream-public/pr/2267' into development Jaeden Amero 2018-12-07 16:17:12 +00:00
  • faafcd83a8 Merge remote-tracking branch 'upstream-public/pr/2223' into development Jaeden Amero 2018-12-07 16:16:24 +00:00
  • fedb407a3f Merge remote-tracking branch 'upstream-public/pr/2208' into development Jaeden Amero 2018-12-07 16:16:04 +00:00
  • b85e35d8d2 Merge remote-tracking branch 'upstream-public/pr/2102' into mbedtls-2.7 Jaeden Amero 2018-12-07 16:15:46 +00:00
  • 52ed0b9030 Merge remote-tracking branch 'upstream-public/pr/2101' into development Jaeden Amero 2018-12-07 16:15:31 +00:00
  • e4cf723a70 Merge remote-tracking branch 'upstream-public/pr/2168' into mbedtls-2.7 Jaeden Amero 2018-12-07 16:07:37 +00:00
  • d07ef47150 Merge remote-tracking branch 'upstream-public/pr/2061' into development Jaeden Amero 2018-12-07 16:07:21 +00:00
  • 3ee55795e3 test: Make basic-build-test.sh see summary statuses Jaeden Amero 2018-12-07 13:06:24 +00:00
  • 172ba63463 Add guard for MBEDTLS_ECP_INTERNAL_ALT Janos Follath 2018-12-07 12:13:54 +00:00
  • 683c582530 Clarify alternative ECP calling conventions Janos Follath 2018-12-07 12:09:25 +00:00
  • 60ca6e58b6 test: Make basic-build-test.sh see summary statuses Jaeden Amero 2018-12-07 13:06:24 +00:00
  • d2af46f1e6 Fix typo in ECP alternative documentation Janos Follath 2018-12-07 10:39:00 +00:00
  • 855def157f Add changelog entry for ECC hardware bugfix Janos Follath 2018-12-07 10:04:17 +00:00
  • af6f2694a4 Fix ECC hardware double initialization Janos Follath 2018-12-07 09:55:24 +00:00
  • 4f41b61d94 Merge remote-tracking branch 'upstream-public/pr/2221' into mbedtls-2.1 Jaeden Amero 2018-12-06 16:16:50 +00:00
  • 59a6cc838d Merge remote-tracking branch 'upstream-public/pr/2178' into mbedtls-2.1 Jaeden Amero 2018-12-06 16:10:44 +00:00
  • 1d990feb96 Merge remote-tracking branch 'upstream-public/pr/2133' into mbedtls-2.1 Jaeden Amero 2018-12-06 16:05:49 +00:00
  • 48d2f1e2d4 Merge remote-tracking branch 'upstream-public/pr/2220' into mbedtls-2.7 Jaeden Amero 2018-12-06 16:17:15 +00:00
  • 8ef1f48a52 Merge remote-tracking branch 'upstream-public/pr/2219' into development Jaeden Amero 2018-12-06 16:16:36 +00:00
  • 3e24c26899 Merge remote-tracking branch 'upstream-public/pr/2218' into development-psa archive/mbedtls-2.15.1 Jaeden Amero 2018-12-06 16:15:44 +00:00
  • 28efba0874 Merge remote-tracking branch 'upstream-public/pr/2218' into development Jaeden Amero 2018-12-06 16:15:01 +00:00
  • e1b1a2c979 Merge remote-tracking branch 'upstream-public/pr/2181' into development Jaeden Amero 2018-12-06 16:11:49 +00:00
  • a7e5cbd4f4 Merge remote-tracking branch 'upstream-public/pr/2179' into mbedtls-2.7 Jaeden Amero 2018-12-06 16:11:22 +00:00
  • 9055a7d855 Merge remote-tracking branch 'upstream-public/pr/2175' into development Jaeden Amero 2018-12-06 16:09:58 +00:00
  • 3c0941ec64 Merge remote-tracking branch 'upstream-public/pr/2172' into development Jaeden Amero 2018-12-06 16:09:08 +00:00
  • 5b46fe774b Merge remote-tracking branch 'upstream-public/pr/2157' into development Jaeden Amero 2018-12-06 16:06:57 +00:00
  • 93bfd1da0c Merge remote-tracking branch 'upstream-public/pr/2132' into mbedtls-2.7 Jaeden Amero 2018-12-06 16:06:21 +00:00
  • bc1cf5cd36 Merge remote-tracking branch 'upstream-public/pr/2131' into development Jaeden Amero 2018-12-06 16:04:55 +00:00
  • 5e264e37d8 Merge remote-tracking branch 'upstream-public/pr/2129' into mbedtls-2.7 Jaeden Amero 2018-12-06 16:02:43 +00:00
  • a04617ec18 Merge remote-tracking branch 'upstream-public/pr/2125' into development Jaeden Amero 2018-12-06 16:02:31 +00:00
  • a7d16ba3a1 Merge remote-tracking branch 'upstream-public/pr/2150' into mbedtls-2.7 Jaeden Amero 2018-12-06 16:02:06 +00:00
  • 51762e87c8 Merge remote-tracking branch 'upstream-public/pr/2151' into mbedtls-2.1 Jaeden Amero 2018-12-06 16:01:16 +00:00
  • c27e3420b9 Merge remote-tracking branch 'upstream-public/pr/2117' into development Jaeden Amero 2018-12-06 15:59:32 +00:00
  • a507910e16 Merge remote-tracking branch 'upstream-public/pr/2064' into mbedtls-2.7 Jaeden Amero 2018-12-06 15:58:27 +00:00
  • c51b3388c1 Merge remote-tracking branch 'upstream-public/pr/2065' into mbedtls-2.1 Jaeden Amero 2018-12-06 15:57:37 +00:00
  • 083681c832 Merge remote-tracking branch 'upstream-public/pr/2039' into development Jaeden Amero 2018-12-06 15:55:34 +00:00
  • 6ef6efbd8e Merge remote-tracking branch 'upstream-public/pr/1984' into mbedtls-2.7 Jaeden Amero 2018-12-06 15:54:38 +00:00
  • f3b18bd07f Merge remote-tracking branch 'upstream-public/pr/1983' into mbedtls-2.1 Jaeden Amero 2018-12-06 15:54:30 +00:00
  • 833c053b71 Merge remote-tracking branch 'upstream-public/pr/1982' into development Jaeden Amero 2018-12-06 15:54:21 +00:00
  • 41722ec29e Merge remote-tracking branch 'upstream-public/pr/1958' into development Jaeden Amero 2018-12-06 15:53:56 +00:00
  • ac021d901b Merge remote-tracking branch 'upstream-public/pr/2143' into mbedtls-2.7 Jaeden Amero 2018-12-06 15:52:01 +00:00