Commit Graph

  • 15f0d92a48 Move is_sign and mac_size checking back to PSA core scope Steven Cooreman 2021-05-07 14:14:37 +02:00
  • 7dccfce5fb Add PSA_ACCEL test dependencies in MAC driver wrappers tests Steven Cooreman 2021-05-06 19:41:15 +02:00
  • dabac4283b Convert mbedTLS to PSA dependencies for the driver wrapper tests Steven Cooreman 2021-05-06 19:38:42 +02:00
  • bd1f60868a Minor documentation and language fixes Steven Cooreman 2021-05-06 19:23:00 +02:00
  • dba0644818 Remove superfluous check Steven Cooreman 2021-05-06 18:08:30 +02:00
  • e68bb52afd Remove unused variable from MAC driver structure Steven Cooreman 2021-05-06 18:02:39 +02:00
  • af81a71b8b Remove superfluous length check Steven Cooreman 2021-05-06 18:00:37 +02:00
  • 9878a160c6 Code flow and style improvements Steven Cooreman 2021-05-06 17:58:36 +02:00
  • 22dea1d527 Base the PSA implementation of TLS 1.2 PRF on the MAC API Steven Cooreman 2021-04-29 19:32:25 +02:00
  • b27e3506fe Make HKDF use the generic MAC API Steven Cooreman 2021-04-29 19:11:25 +02:00
  • c2cbac017f Use the correct guards on the context structures for MAC/HKDF/PRF Steven Cooreman 2021-04-29 18:01:53 +02:00
  • 4f7cae6cbe Rename HMAC operation structure Steven Cooreman 2021-04-29 17:49:11 +02:00
  • a2a1b803da Make safer_memcmp available to all compile units under PSA Steven Cooreman 2021-04-29 16:37:59 +02:00
  • b4b9b2879c Remove redundant key_set from MAC operation structure Steven Cooreman 2021-04-29 16:24:36 +02:00
  • 6e6451ec01 Code flow/readability improvements after review Steven Cooreman 2021-04-29 16:21:24 +02:00
  • 5c85ef0a56 Remove unused items from MAC operation context structure Steven Cooreman 2021-04-29 15:32:42 +02:00
  • 2d9a3f946e Add testing of the MAC driver entry points Steven Cooreman 2021-04-29 21:10:11 +02:00
  • 09832b126e Add CMAC to standard PSA config Steven Cooreman 2021-03-22 15:09:44 +01:00
  • f64b25e205 Rename internal HMAC structure type to match convention Steven Cooreman 2021-03-22 14:49:06 +01:00
  • 76720f6389 Complete, document and fully use internal HMAC API Steven Cooreman 2021-03-22 12:21:10 +01:00
  • 6f32bcacfa Add CMAC and HMAC driver testing to all.sh Steven Cooreman 2021-03-19 19:36:38 +01:00
  • 87885df795 Migrate MAC finish calls into the software driver Steven Cooreman 2021-03-19 19:04:39 +01:00
  • 11743f91de Migrate MAC update call into the software driver Steven Cooreman 2021-03-19 18:38:46 +01:00
  • 0789783c17 Migrate MAC setup/abort calls into the software driver Steven Cooreman 2021-03-19 18:28:56 +01:00
  • 32d569449b Move internal HMAC implementation into internal MAC driver Steven Cooreman 2021-03-19 17:39:17 +01:00
  • 6e3c2cbb52 Move the MAC operation structure into the driver headers Steven Cooreman 2021-03-19 17:05:52 +01:00
  • 896d51e584 Add boilerplate for dispatching MAC operations Steven Cooreman 2021-03-19 15:24:23 +01:00
  • aecf0d3e70 Add include headers for composite operation contexts and move hmac Steven Cooreman 2021-04-26 12:16:27 +02:00
  • 14d09f4223 Move the cipher operation structure declaration for grouping Steven Cooreman 2021-04-26 12:04:53 +02:00
  • 7c3213921a Remove inclusion of top-level crypto.h from the driver context header Steven Cooreman 2021-04-26 11:56:33 +02:00
  • 040d1cea15 Rename the PSA driver context structure headers to _primitives Steven Cooreman 2021-04-26 11:54:58 +02:00
  • eb3e463380 Merge pull request #4247 from stevew817/dispatch_mac_operations Ronald Cron 2021-05-11 17:56:50 +02:00
  • fba138a08a Remove buffer_size maximum from ssl_server2.c David Horstmann 2021-05-11 15:23:56 +01:00
  • 7261697a03 Update key usage determination for exercise key tests gabor-mezei-arm 2021-05-11 13:29:24 +02:00
  • 7f366597b4 Typo gabor-mezei-arm 2021-05-11 13:28:50 +02:00
  • 72f60dfcc1 Remove MBEDTLS_TEST_NULL_ENTROPY config option. Mateusz Starzyk 2021-04-30 13:28:22 +02:00
  • 12e18369e8 aes: Check aes_padlock_ace > 0 before calling padlock Xiang Xiao 2021-05-07 00:55:52 -07:00
  • 90b50f485e Merge pull request #1 from ARMmbed/development Tomasz Rodziewicz 2021-05-11 11:13:06 +02:00
  • 9e15fb783c Refactor out mac_sign_setup and mac_verify_setup Steven Cooreman 2021-05-11 11:10:34 +02:00
  • 8af5c5c7de Be explicit about why the zero-length check is there Steven Cooreman 2021-05-11 11:09:13 +02:00
  • 1e8ca122f4 Fix typos in C header files Tobias Nießen 2021-05-10 19:53:15 +02:00
  • 95d516f319 Remove MBEDTLS_SSL_MAX_CONTENT_LEN option David Horstmann 2021-05-04 18:36:56 +01:00
  • 6326a8dd37 Fix SHA definitions and their dependencies in library and test suites. Mateusz Starzyk 2021-05-10 13:51:53 +02:00
  • 2c44daf0bc Add restriction on output_key alg for password hash Manuel Pégourié-Gonnard 2021-05-10 12:53:30 +02:00
  • 85bb47596c Merge pull request #4456 from gilles-peskine-arm/remove-config-psa-crypto-2.x Manuel Pégourié-Gonnard 2021-05-10 11:52:34 +02:00
  • b6800788ca Merge pull request #4455 from gilles-peskine-arm/remove-config-psa-crypto-3.0 Manuel Pégourié-Gonnard 2021-05-10 11:52:26 +02:00
  • ae3ec52d8d Apply mbedtls namespacing to MAC driver test hooks Steven Cooreman 2021-05-10 11:18:20 +02:00
  • d1a68f10c0 Supply actual key bits to PSA_MAC_LENGTH during MAC setup Steven Cooreman 2021-05-10 11:13:41 +02:00
  • b29902ac9f Correctly mark unused arguments when MAC algorithms are compiled out Steven Cooreman 2021-05-10 09:47:05 +02:00
  • 0c23965977 Add sanity tests for CMAC-(3)DES through PSA Crypto Steven Cooreman 2021-05-07 17:27:27 +02:00
  • 02865f5cbb Use the proper define guards in the MAC driver Steven Cooreman 2021-05-07 15:55:27 +02:00
  • 2f60f20884 Remove superfluous checking from MAC driver Steven Cooreman 2021-05-07 15:44:46 +02:00
  • 72f736a191 Move is_sign and mac_size checking back to PSA core scope Steven Cooreman 2021-05-07 14:14:37 +02:00
  • 015109b066 Changelog entry for the removal of config-psa-crypto.h in 3.0 Gilles Peskine 2021-05-05 17:52:22 +02:00
  • 31017d318f Remove config-psa-crypto.h Gilles Peskine 2021-05-04 13:07:17 +02:00
  • c112315aeb Add PSA_ACCEL test dependencies in MAC driver wrappers tests Steven Cooreman 2021-05-06 19:41:15 +02:00
  • a2058a7832 Convert mbedTLS to PSA dependencies for the driver wrapper tests Steven Cooreman 2021-05-06 19:38:42 +02:00
  • f45f071f01 Minor documentation and language fixes Steven Cooreman 2021-05-06 19:23:00 +02:00
  • 3409b02b27 Remove superfluous check Steven Cooreman 2021-05-06 18:08:30 +02:00
  • 8f37004bd7 Remove unused variable from MAC driver structure Steven Cooreman 2021-05-06 18:02:39 +02:00
  • dcd0811501 Remove superfluous length check Steven Cooreman 2021-05-06 18:00:37 +02:00
  • 094a77e79c Code flow and style improvements Steven Cooreman 2021-05-06 17:58:36 +02:00
  • a6df6040ee Base the PSA implementation of TLS 1.2 PRF on the MAC API Steven Cooreman 2021-04-29 19:32:25 +02:00
  • d1ed1d935f Make HKDF use the generic MAC API Steven Cooreman 2021-04-29 19:11:25 +02:00
  • ac8d82a6f8 Use the correct guards on the context structures for MAC/HKDF/PRF Steven Cooreman 2021-04-29 18:01:53 +02:00
  • dd1a915c0f Rename HMAC operation structure Steven Cooreman 2021-04-29 17:49:11 +02:00
  • 36876a01a4 Make safer_memcmp available to all compile units under PSA Steven Cooreman 2021-04-29 16:37:59 +02:00
  • a4638e708e Remove redundant key_set from MAC operation structure Steven Cooreman 2021-04-29 16:24:36 +02:00
  • ba9a5bf5e7 Code flow/readability improvements after review Steven Cooreman 2021-04-29 16:21:24 +02:00
  • 02fc62a6fa Remove unused items from MAC operation context structure Steven Cooreman 2021-04-29 15:32:42 +02:00
  • c7f0a576b6 Add testing of the MAC driver entry points Steven Cooreman 2021-04-29 21:10:11 +02:00
  • 939102e7a3 Add CMAC to standard PSA config Steven Cooreman 2021-03-22 15:09:44 +01:00
  • d1955af5df Rename internal HMAC structure type to match convention Steven Cooreman 2021-03-22 14:49:06 +01:00
  • 4fdf060a81 Complete, document and fully use internal HMAC API Steven Cooreman 2021-03-22 12:21:10 +01:00
  • 7515e7535d Add CMAC and HMAC driver testing to all.sh Steven Cooreman 2021-03-19 19:36:38 +01:00
  • a5b860a5f8 Migrate MAC finish calls into the software driver Steven Cooreman 2021-03-19 19:04:39 +01:00
  • 6e7f291bb5 Migrate MAC update call into the software driver Steven Cooreman 2021-03-19 18:38:46 +01:00
  • e680419791 Migrate MAC setup/abort calls into the software driver Steven Cooreman 2021-03-19 18:28:56 +01:00
  • 82c66b6b8b Move internal HMAC implementation into internal MAC driver Steven Cooreman 2021-03-19 17:39:17 +01:00
  • 77e2cc5661 Move the MAC operation structure into the driver headers Steven Cooreman 2021-03-19 17:05:52 +01:00
  • d13a70f2dc Add boilerplate for dispatching MAC operations Steven Cooreman 2021-03-19 15:24:23 +01:00
  • 3c8dd634dd Add include headers for composite operation contexts and move hmac Steven Cooreman 2021-04-26 12:16:27 +02:00
  • 61398ec5dc Move the cipher operation structure declaration for grouping Steven Cooreman 2021-04-26 12:04:53 +02:00
  • f4248f2e1b Remove inclusion of top-level crypto.h from the driver context header Steven Cooreman 2021-04-26 11:56:33 +02:00
  • 675501d9db Rename the PSA driver context structure headers to _primitives Steven Cooreman 2021-04-26 11:54:58 +02:00
  • b02570372f Check if feature macro is defined before define it Flavio Ceolin 2020-05-27 22:41:19 -07:00
  • a7b9b202b2 Change the driver calling logic for psa_sign/verify_messsage gabor-mezei-arm 2021-05-07 15:16:34 +02:00
  • b548cda1cf Merge pull request #4397 from TRodziewicz/change_config_h_defaults Manuel Pégourié-Gonnard 2021-05-07 12:42:39 +02:00
  • 4feb611a49 Lift a restriction on usage of verify_key() Manuel Pégourié-Gonnard 2021-05-07 12:22:21 +02:00
  • e88511d7fe Try making one condition more readable Manuel Pégourié-Gonnard 2021-05-07 12:19:03 +02:00
  • f0c28eff09 Avoid introducing PSA_ALG_NONE for now Manuel Pégourié-Gonnard 2021-05-07 12:13:48 +02:00
  • f9a68ad62a Fix typos Manuel Pégourié-Gonnard 2021-05-07 12:11:38 +02:00
  • 532ca93246 Trailing spaces removed from comments in config.h Tomasz Rodziewicz 2021-05-07 11:01:24 +02:00
  • 1fc7c4c95e Update config.h Tomasz Rodziewicz 2021-05-07 10:13:31 +02:00
  • dd57b2f240 Merge pull request #4445 from TRodziewicz/remove_deprecated_things_-_remainder Manuel Pégourié-Gonnard 2021-05-07 10:05:30 +02:00
  • 6c3fe31f6c Update config.h Tomasz Rodziewicz 2021-05-07 09:46:32 +02:00
  • 5b416e95b2 Merge pull request #3910 from hanno-arm/post_handshake_handling paul-elliott-arm 2021-05-06 17:13:03 +01:00
  • f3c5c86db7 Rename sign/verify builtin functions called by driver wrapper functions gabor-mezei-arm 2021-05-05 14:18:36 +02:00
  • ddd5cc6b01 Add new tests for psa_sign/verify_message gabor-mezei-arm 2021-05-05 14:04:07 +02:00
  • 4df5f28b02 Fix test gabor-mezei-arm 2021-05-05 14:03:48 +02:00