Commit Graph

  • 1cf33bf94d Corrections o the migration guide TRodziewicz 2021-05-14 14:35:26 +02:00
  • 95f8f22c27 Migration guide added and ChangeLog clarified TRodziewicz 2021-05-14 14:07:51 +02:00
  • c97b8ab0fd Update key type name gabor-mezei-arm 2021-05-13 16:27:46 +02:00
  • 006f2cce2e Fix compile-time guard in session cache implementation Hanno Becker 2021-05-14 04:55:35 +01:00
  • 0d05f40222 Clarify that session cache query must return free-able session Hanno Becker 2021-05-14 04:54:01 +01:00
  • b94fdae3c3 Improve code structure for session cache query Hanno Becker 2021-05-14 04:42:43 +01:00
  • 6e57cb9d5d Add changelog for posix definition David Brown 2021-05-11 12:44:40 -06:00
  • 9911e4add4 Check if feature macro is defined before define it Flavio Ceolin 2020-05-27 22:41:19 -07:00
  • 07a35f68ee Update key type name gabor-mezei-arm 2021-05-13 16:27:46 +02:00
  • 63ee881a9b avoid -Wmaybe-uninitialized when buiding with gcc11 Shawn Carey 2021-05-13 10:26:52 -04:00
  • bb66dac971 Fix spurious -Wstringop-overflow with GCC 11.1 Gilles Peskine 2021-05-13 00:00:45 +02:00
  • 69c5f5d81c avoid -Wstringop-overflow when buiding with gcc11 Shawn Carey 2021-05-13 09:16:16 -04:00
  • 7b81dcf90f avoid -Wfree-nonheap-object when buiding with gcc11 Shawn Carey 2021-05-13 09:08:02 -04:00
  • d5218df572 Enable fallback to software implementation in psa_sign/verify_message driver gabor-mezei-arm 2021-05-12 11:12:25 +02:00
  • f048618b43 Unify variable type and rename to be unambiguous gabor-mezei-arm 2021-05-12 11:03:09 +02:00
  • 2b8373f856 Update documentation gabor-mezei-arm 2021-05-12 10:49:27 +02:00
  • 4bc0edb919 Typo gabor-mezei-arm 2021-05-12 10:48:55 +02:00
  • 041887bfc3 Update key usage determination for exercise key tests gabor-mezei-arm 2021-05-11 13:29:24 +02:00
  • 4a6fcda031 Typo gabor-mezei-arm 2021-05-11 13:28:50 +02:00
  • 256443e64e Change the driver calling logic for psa_sign/verify_messsage gabor-mezei-arm 2021-05-07 15:16:34 +02:00
  • 6883fd248d Rename sign/verify builtin functions called by driver wrapper functions gabor-mezei-arm 2021-05-05 14:18:36 +02:00
  • 6e2a8daef4 Add new tests for psa_sign/verify_message gabor-mezei-arm 2021-05-05 14:04:07 +02:00
  • d785a79477 Fix test gabor-mezei-arm 2021-05-05 14:03:48 +02:00
  • e088985496 Fix test names gabor-mezei-arm 2021-05-05 14:02:59 +02:00
  • ce8804fd6e Update tests dependencies gabor-mezei-arm 2021-05-06 11:56:20 +02:00
  • 4fabc5666b Use non-deterministic ecdsa algorithm for verify_hash/message tests gabor-mezei-arm 2021-05-06 11:47:31 +02:00
  • 474a35f635 Return error if algorithm is not hash-then-sign for psa_sign_message gabor-mezei-arm 2021-05-05 13:59:01 +02:00
  • 8b3e88614c Use bool variable instead of enum values gabor-mezei-arm 2021-05-05 13:56:27 +02:00
  • 12b4f34fff Fix documentation gabor-mezei-arm 2021-05-05 13:54:55 +02:00
  • 6cdf637f88 Use switch-case for error handling gabor-mezei-arm 2021-05-03 16:30:53 +02:00
  • 6dcaa3b5a1 Update driver tests for psa_hash/verify_message gabor-mezei-arm 2021-05-03 16:29:54 +02:00
  • f9820f92cf Fix for algorithms other than hash-then-sign gabor-mezei-arm 2021-05-03 16:26:20 +02:00
  • b5c1e37aff Use driver-wrapper functions for psa_sign/verify_message gabor-mezei-arm 2021-04-29 16:53:58 +02:00
  • df0f230762 Typo gabor-mezei-arm 2021-04-29 16:53:31 +02:00
  • 0f62240942 Enable algorithms other than hash-then-sign gabor-mezei-arm 2021-04-29 16:48:44 +02:00
  • 46c23a051c Fix error checking gabor-mezei-arm 2021-04-29 16:44:59 +02:00
  • 2522c0b1cd Update macro names gabor-mezei-arm 2021-04-27 18:52:51 +02:00
  • 4c6a47a833 Add test for sign/verify message key policies gabor-mezei-arm 2021-04-26 20:12:17 +02:00
  • 816886c8f3 Add driver tests for sign/verify_message gabor-mezei-arm 2021-04-23 12:38:33 +02:00
  • 2fcb393ebd Rename driver test funtions and test cases gabor-mezei-arm 2021-04-23 12:49:00 +02:00
  • 50eac35d58 Dispatch sign/verify funtions through the driver interface gabor-mezei-arm 2021-04-22 11:32:19 +02:00
  • 38cbaf2881 Typo gabor-mezei-arm 2021-04-22 11:27:47 +02:00
  • 5b44652593 Unify similar functions gabor-mezei-arm 2021-04-20 12:11:35 +02:00
  • 36658e46ba Update PSA_ALG_IS_SIGN_MESSAGE gabor-mezei-arm 2021-04-20 12:08:36 +02:00
  • 5302848ba5 Add tests for psa_sign_message and psa_verify_message gabor-mezei-arm 2021-04-15 18:19:50 +02:00
  • b95302358f Rename test funtions and test cases gabor-mezei-arm 2021-04-16 14:21:21 +02:00
  • 4a21019653 Implement psa_sign_message and psa_verify_message functions gabor-mezei-arm 2021-04-14 21:14:28 +02:00
  • 845ceb7cc8 Improve readability and efficiency of SSL cache reference impl Hanno Becker 2021-05-13 07:05:07 +01:00
  • f47199da26 Improve naming of helper function for reference session cache Hanno Becker 2021-05-13 06:29:13 +01:00
  • 0248785081 Document session cache callbacks Hanno Becker 2021-05-13 06:26:57 +01:00
  • df56402623 Fix memory leak upon ciphersuite mismatch during session resumption Hanno Becker 2021-05-13 06:26:37 +01:00
  • 7ad77963d1 Use shorthand local variable for session under negotiation Hanno Becker 2021-05-13 06:13:34 +01:00
  • f6e09c6f83 Don't use ssl_check_xxx() for functions with void return Hanno Becker 2021-05-13 06:12:38 +01:00
  • 21d4bdbb39 Add OID for User ID Micah N Gorrell 2021-05-12 17:41:24 -06:00
  • d7b3d92476 Change sha256 output type from an array to a pointer Gilles Peskine 2021-05-13 00:45:25 +02:00
  • 3e3a6789d1 Remove a kludge for the output size of mbedtls_sha512_finish_ret Gilles Peskine 2021-05-13 00:26:17 +02:00
  • e02e02f203 Change sha512 output type from an array to a pointer Gilles Peskine 2021-05-13 00:22:35 +02:00
  • be2db1687e Add changelog for posix definition David Brown 2021-05-11 12:44:40 -06:00
  • a79c30b8f4 Check if feature macro is defined before define it Flavio Ceolin 2020-05-27 22:41:19 -07:00
  • 3239eff409 fix changelog entry eugene 2021-05-12 14:37:24 -04:00
  • b46d1a74f9 fix changelog entry eugene 2021-05-12 14:36:24 -04:00
  • 3473308b5d Remove mode param from mbedtls_rsa_rsaes_pkcs1_v15_decrypt Thomas Daubney 2021-05-12 09:24:29 +01:00
  • d21e0b780a Remove mode parameter from mbedtls_rsa_rsaes_oaep_decrypt function Thomas Daubney 2021-05-06 11:41:09 +01:00
  • c7feaf349c Remove mode param from mbedtls_rsa_pkcs1_decrypt Thomas Daubney 2021-05-07 14:02:43 +01:00
  • 3c546f71c9 Test that generate_test_code.py is still compatible with Python 2 Gilles Peskine 2021-05-06 15:07:29 +02:00
  • 484df7583b Changelog entry for no longer explicitly invoking python2 Gilles Peskine 2021-05-06 11:34:07 +02:00
  • 99705a6813 Use Python 3 instead of Python 2 to generate test files Gilles Peskine 2021-04-22 00:21:58 +02:00
  • e42a50da04 use proper formatting macros when using MinGW provided stdio add changelog entry eugene 2021-05-12 12:33:36 -04:00
  • 98d2fe9f85 add changelog entry eugene 2021-05-12 12:33:36 -04:00
  • e0f06c624c Merge pull request #4473 from tniessen/typos-in-header-files Ronald Cron 2021-05-12 18:23:48 +02:00
  • f2fa6e54a7 Merge pull request #4487 from gilles-peskine-arm/tniessen-typos-in-header-files-2.16 Ronald Cron 2021-05-12 18:23:33 +02:00
  • 456d547973 Merge pull request #4486 from gilles-peskine-arm/tniessen-typos-in-header-files-2.x Ronald Cron 2021-05-12 18:22:27 +02:00
  • 5d1f747d85 Merge pull request #4377 from mpg/psa-pbkdf2-api Gilles Peskine 2021-05-12 18:00:30 +02:00
  • 99914146a4 Preparatory commit to remove tests Thomas Daubney 2021-05-06 15:17:03 +01:00
  • 7dbcc3c794 Merge pull request #4470 from d3zd3z/fix-posix-define Ronald Cron 2021-05-12 15:47:12 +02:00
  • 4e54f25cc6 avoid "maybe-uninitialized" and "free-nonheap-object" errors/warnings with gcc11 Shawn Carey 2021-05-06 15:11:30 -04:00
  • 7f5cd4786a use proper formatting macros when using MinGW provided stdio eugene 2021-05-12 08:50:36 -04:00
  • 102c89ed65 Remove the MBEDTLS_SSL_RECORD_CHECKING option TRodziewicz 2021-05-12 13:28:59 +02:00
  • f25c9767a9 Enable fallback to software implementation in psa_sign/verify_message driver gabor-mezei-arm 2021-05-12 11:12:25 +02:00
  • c979578a83 Unify variable type and rename to be unambiguous gabor-mezei-arm 2021-05-12 11:03:09 +02:00
  • 63c7a66320 Update documentation gabor-mezei-arm 2021-05-12 10:49:27 +02:00
  • 41b5ec6fd2 Typo gabor-mezei-arm 2021-05-12 10:48:55 +02:00
  • 02b6fba7f5 Fix typos in C header files Tobias Nießen 2021-05-10 19:53:15 +02:00
  • 00a01c90bf Fix typos in C header files Tobias Nießen 2021-05-10 19:53:15 +02:00
  • 4e02f01815 Fix key type that wasn't updated earlier Manuel Pégourié-Gonnard 2021-05-12 10:05:45 +02:00
  • bc331025dc Do not require test data to be in the repository Gilles Peskine 2021-05-11 22:42:52 +02:00
  • ede9db3ef3 Discuss lifetimes, in particular persistence levels Gilles Peskine 2021-05-11 22:42:06 +02:00
  • 8d202befca Add considerations on key material representations Gilles Peskine 2021-05-11 22:39:43 +02:00
  • 06b0fcdc9b Clarification: forward and backward compatibility Gilles Peskine 2021-05-11 22:33:46 +02:00
  • 33d0f7fb27 Typo Gilles Peskine 2021-05-11 22:33:09 +02:00
  • 803d3e4c70 Add changelog for posix definition David Brown 2021-05-11 12:44:40 -06:00
  • 456cde1081 Merge pull request #4479 from stevew817/backport_4247 Gilles Peskine 2021-05-11 20:21:17 +02:00
  • bbb1952414 Refactor out mac_sign_setup and mac_verify_setup Steven Cooreman 2021-05-11 11:10:34 +02:00
  • f8ad2123f9 Be explicit about why the zero-length check is there Steven Cooreman 2021-05-11 11:09:13 +02:00
  • be21dab099 Apply mbedtls namespacing to MAC driver test hooks Steven Cooreman 2021-05-10 11:18:20 +02:00
  • a6474de2ac Supply actual key bits to PSA_MAC_LENGTH during MAC setup Steven Cooreman 2021-05-10 11:13:41 +02:00
  • 9621f444a7 Correctly mark unused arguments when MAC algorithms are compiled out Steven Cooreman 2021-05-10 09:47:05 +02:00
  • 63fa40e593 Add sanity tests for CMAC-(3)DES through PSA Crypto Steven Cooreman 2021-05-07 17:27:27 +02:00
  • aaf9944db3 Use the proper define guards in the MAC driver Steven Cooreman 2021-05-07 15:55:27 +02:00
  • 2a18f56b4e Remove superfluous checking from MAC driver Steven Cooreman 2021-05-07 15:44:46 +02:00