Commit Graph

  • fc820d96e0 Fix IAR warnings Paul Elliott 2023-01-13 16:29:30 +00:00
  • 7a05fab716 Added the uniformResourceIdentifier subtype for the subjectAltName. Andrzej Kurek 2023-02-13 10:03:07 -05:00
  • 1b08d421a7 test: fix: replace CAN_ECDSA_SOME with CAN_ECDSA_SIGN+CAN_ECDSA_VERIFY when both are needed Valerio Setti 2023-02-13 11:33:26 +01:00
  • 16f02e0196 test: adjust include after PK_CAN_ECDSA_SOME was moved Valerio Setti 2023-02-13 11:09:40 +01:00
  • d928aeb9ac test_suite_ssl: use new macros for ECDSA capabilities Valerio Setti 2023-02-08 14:46:15 +01:00
  • ed02bb1f95 test_suite_debug: replace ECDSA_C with new ECDSA macros Valerio Setti 2023-02-08 14:17:18 +01:00
  • 5dc6867f7e test: don't skip debug and ssl suites in test parity for driver only ECDSA Valerio Setti 2023-02-07 11:32:34 +01:00
  • d3d8c852a0 Merge pull request #6997 from valeriosetti/issue6858 Manuel Pégourié-Gonnard 2023-02-13 15:30:06 +01:00
  • 5c9f401e47 Add more test cases Gabor Mezei 2023-02-13 14:15:08 +01:00
  • 23d4b8baee Add check for test Gabor Mezei 2023-02-13 14:13:33 +01:00
  • a9d82dd0a2 Keep the description in one place, just refer it Gabor Mezei 2023-02-13 14:10:23 +01:00
  • 178b5bdddf pk: move MBEDTLS_PK_CAN_ECDSA_SOME macro to pk.h and fix tests Valerio Setti 2023-02-13 10:04:28 +01:00
  • b2783f66b5 fix typo issue Jerry Yu 2023-02-13 18:03:25 +08:00
  • a119cb64ef test: remove redundant ECDSA_C dependencies from test_suite_x509parse.data Valerio Setti 2023-02-13 09:54:49 +01:00
  • 79e0433bf8 Merge pull request #7072 from mpg/cleanup-md-tests-2.28 Manuel Pégourié-Gonnard 2023-02-13 09:51:33 +01:00
  • daa65956c3 Merge pull request #7046 from mpg/cleanup-md-tests Manuel Pégourié-Gonnard 2023-02-13 09:51:28 +01:00
  • 1e4abae73e Merge pull request #7048 from KloolK/record-size-limit/extend-test-framework Janos Follath 2023-02-13 08:17:12 +00:00
  • a9d39c42e9 Merge pull request #7085 from sergio-nsk/patch-1 Gilles Peskine 2023-02-12 23:56:32 +01:00
  • 430c6338de Merge pull request #7089 from sergio-nsk/patch-2 Gilles Peskine 2023-02-12 23:56:30 +01:00
  • 26f53f107e Fix compiler warning: unreachable code Sergey 2023-02-11 18:20:20 -07:00
  • 641288bc1e Restore test guards Dave Rodgman 2023-02-11 22:02:04 +00:00
  • 91e832168f Restore more test guards Dave Rodgman 2023-02-11 20:07:43 +00:00
  • a476363042 Restore more test guards Dave Rodgman 2023-02-11 18:36:23 +00:00
  • d26d7445b8 Restore guards on a couple of tests Dave Rodgman 2023-02-11 17:14:54 +00:00
  • 0289c19b8a Don't use lstrlenW() on Windows Tom Cosgrove 2023-02-10 12:52:13 +00:00
  • c36c14c7af Update psa_crypto_driver_wrappers.c.jinja Sergey 2023-02-10 14:14:00 -07:00
  • ab1f3c153a Merge pull request #7081 from tom-cosgrove-arm/dont-use-lstrlenW Dave Rodgman 2023-02-10 20:50:07 +00:00
  • 54647737f6 Add checks to selftest Dave Rodgman 2023-02-10 16:16:17 +00:00
  • 4a5c9ee7f2 Remove redundant SIZE_MAX guards Dave Rodgman 2023-02-10 16:03:44 +00:00
  • 37296a413a Document SIZE_MAX requirement in README.md Dave Rodgman 2023-02-10 15:39:22 +00:00
  • 78f79d323d ecp: add documentation for compressed points limitations Valerio Setti 2023-02-07 08:33:26 +01:00
  • 25fd51f4af test: add missing include in test_suite_x509parse Valerio Setti 2023-02-10 14:57:36 +01:00
  • 928593f732 Merge pull request #7041 from gilles-peskine-arm/pk_ext-pss_options-public Gilles Peskine 2023-02-10 15:08:06 +01:00
  • a15b405a46 Merge pull request #7070 from yanrayw/2.28-7008-compatsh-disable-VERIFY-for-PSK Gilles Peskine 2023-02-10 15:07:31 +01:00
  • 3196ceb2fb Merge pull request #7052 from yanrayw/7008-compatsh-disable-VERIFY-for-PSK Gilles Peskine 2023-02-10 15:07:27 +01:00
  • b009559c8f Merge pull request #7049 from KloolK/typos Gilles Peskine 2023-02-10 15:07:07 +01:00
  • da829035a2 Merge pull request #7053 from KloolK/typos-backport Gilles Peskine 2023-02-10 15:07:03 +01:00
  • b8531c4b0b Merge pull request #6882 from AndrzejKurek/x509_san_parsing_testing-dev Gilles Peskine 2023-02-10 15:05:32 +01:00
  • a4c10abaf9 Merge pull request #7063 from AndrzejKurek/2.28_x508_san_parsing_testing Gilles Peskine 2023-02-10 15:05:30 +01:00
  • 91af0f9c0e Minor clarifications Gilles Peskine 2023-02-10 14:31:36 +01:00
  • ff674d4c6f Typos Gilles Peskine 2023-02-10 14:31:17 +01:00
  • f691268ee9 Add missing initialisers Dave Rodgman 2023-02-09 17:55:41 +00:00
  • 35598adb78 pkcs7: Check that hash algs are in digestAlgorithms Demi Marie Obenour 2022-11-30 02:06:07 -05:00
  • 6cfc469296 pkcs7: reject signatures with internal data Demi Marie Obenour 2022-11-28 00:46:00 -05:00
  • e373a254c4 pkcs7: do not store content type OIDs Demi Marie Obenour 2022-12-13 23:50:03 -05:00
  • 55d9df25ef Simple cleanup Demi Marie Obenour 2022-11-28 00:29:32 -05:00
  • 4ec8355795 Check for junk after SignedData Demi Marie Obenour 2022-11-28 00:23:00 -05:00
  • aaf3c0028d pkcs7: do not store content type OID Demi Marie Obenour 2022-11-28 00:20:42 -05:00
  • 512818b1d2 pkcs7: check that content lengths fill whole buffer Demi Marie Obenour 2022-11-27 22:48:55 -05:00
  • a22749e749 Merge pull request #6816 from nick-child-ibm/pkcs7_coverage Dave Rodgman 2023-02-10 12:55:29 +00:00
  • b96c309395 Don't use lstrlenW() on Windows Tom Cosgrove 2023-02-10 12:52:13 +00:00
  • 834e65d47f Merge pull request #6499 from xkqian/tls13_write_end_of_early_data Ronald Cron 2023-02-10 11:08:22 +01:00
  • 36076983ed Merge pull request #7065 from gilles-peskine-arm/coding-style-doc-2.28 Manuel Pégourié-Gonnard 2023-02-10 10:05:34 +01:00
  • cf1c16af6e Merge pull request #6925 from gilles-peskine-arm/coding-style-doc Manuel Pégourié-Gonnard 2023-02-10 10:05:27 +01:00
  • b10cf0dd39 adjust help message Pengyu Lv 2023-02-10 11:06:36 +08:00
  • a4e1eece3d print skipped file names to stdout Pengyu Lv 2023-02-10 10:55:29 +08:00
  • 78c6f40736 Fix code-style Dave Rodgman 2023-02-09 09:21:14 +00:00
  • 2122f44d9b Use TEST_EQUAL in one more place in test_suite_md Manuel Pégourié-Gonnard 2023-02-09 09:18:22 +01:00
  • 3c30191c28 Use ASSERT_COMPARE in test_suite_md Manuel Pégourié-Gonnard 2023-02-09 09:15:04 +01:00
  • 2189fda914 Use TEST_EQUAL in one more place in test_suite_md Manuel Pégourié-Gonnard 2023-02-09 09:18:22 +01:00
  • a9a1b21ca9 Use ASSERT_COMPARE in test_suite_md Manuel Pégourié-Gonnard 2023-02-09 09:15:04 +01:00
  • 21daf2930a compat.sh: simplify code of iterating on VERIFY for PSK tests Yanray Wang 2023-02-08 12:38:31 +08:00
  • 8332db92bd compat.sh: remove G_CLIENT_PRIO as it's not used Yanray Wang 2023-02-07 16:34:28 +08:00
  • 34ddcc9691 compat.sh: display "no" even if $VERIFY=YES for PSK test cases Yanray Wang 2023-02-07 12:13:49 +08:00
  • 89ac843941 compat.sh: do not filter PSK ciphersuites for GnuTLS if $VERIFY=YES Yanray Wang 2023-02-07 11:29:11 +08:00
  • b1ae735f09 compat.sh: remove check_openssl_server_bug Yanray Wang 2023-02-07 10:51:56 +08:00
  • 571e24b6a5 compat.sh: avoid running duplicate test cases for PSK Yanray Wang 2023-02-07 10:41:04 +08:00
  • eafa355691 compat.sh: ignore $VERIFY in PSK TYPE Yanray Wang 2023-02-06 18:08:54 +08:00
  • 55a77fdc4e Improve test and coding standards overview Gilles Peskine 2023-01-13 12:08:50 +01:00
  • b5e9cd37a0 Announce coding style change in the changelog Gilles Peskine 2023-01-13 12:04:14 +01:00
  • 4f70b3cdb4 Fix pylint warning Dave Rodgman 2023-02-08 16:40:40 +00:00
  • 14f255f332 pkcs7: Remove unnecessary dependencies Nick Child 2023-02-07 16:18:59 +00:00
  • c7c94df715 pkcs7/test: Format generate test script Nick Child 2023-02-07 20:01:49 +00:00
  • 3818fd9d58 Add a ChangeLog entry Hanno Becker 2019-09-13 12:28:57 +01:00
  • 95f316ac38 X.509: Improve negative testing for SubjectAltName parsing hanno-becker 2023-02-08 08:53:22 -05:00
  • c4f885dc02 X.509: Remove red'n bounds checks and zeroiz'n in OtherName parsing - ASN.1 parsing functions check that length don't exceed buffer bounds, so checks p + len > end are redundant. - If p + len == end, this is erroneous because we expect further fields, which is automatically caught by the next ASN.1 parsing call. hanno-becker 2023-02-08 08:50:01 -05:00
  • 75ab076971 Fix X.509 SAN parsing Fixes #2838. See the issue description for more information. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com> hanno-becker 2023-02-08 08:46:42 -05:00
  • 00a6c6fcbe test: fix for using proper sign/verify macros Valerio Setti 2023-02-02 14:58:27 +01:00
  • 40df83509b all.sh: fix comment for test_psa_crypto_config_accel_ecdsa_use_psa Valerio Setti 2023-02-02 14:21:35 +01:00
  • ce0caa3384 oid: fix comment in #endif Valerio Setti 2023-02-02 14:18:52 +01:00
  • fcc6933a53 test: fix disparities in x509parse and x509write suites Valerio Setti 2023-01-31 14:31:32 +01:00
  • b9dc2513c1 test: add SHA1 to the supported algs in accelerated ECDSA Valerio Setti 2023-01-31 14:30:44 +01:00
  • f972ce8d69 oid: replace ECDSA_C with new macros for ECDSA capabilities Valerio Setti 2023-01-31 14:29:55 +01:00
  • c8801b7ef1 test: x509: remove disparities in driver only testing for ECDSA Valerio Setti 2023-01-31 14:28:57 +01:00
  • 80d0798ae8 pk_wrap: use new macros for ECDSA capabilities Valerio Setti 2023-02-08 13:49:17 +01:00
  • 683a432a7f fix code style Valerio Setti 2023-02-08 09:52:40 +01:00
  • a1e3e3a28f test: pk: keep PK_WRITE_C only in RSA tests Valerio Setti 2023-02-02 15:21:48 +01:00
  • 5c032b5e1b pk_wrap: fix comment in ecdsa_verify_wrap Valerio Setti 2023-02-02 15:10:32 +01:00
  • b761b15f06 fix code style Valerio Setti 2023-01-31 14:56:04 +01:00
  • d0b83e1fc7 build_info: fix PK's requirements for RSA_C Valerio Setti 2023-01-31 10:16:23 +01:00
  • 1337a4f334 pk_wrap: use specific lengths for EC's private key and key-pair Valerio Setti 2023-01-30 15:54:55 +01:00
  • 5bc52248ef pk_wrap: fix for DETERMINISTIC_ECDSA case in ecdsa_sign_wrap() Valerio Setti 2023-01-30 15:48:28 +01:00
  • be9e2a1634 The pk_psa_sign test function needs pk_write Gilles Peskine 2022-10-06 17:37:07 +02:00
  • 8a6022e948 Clean up header inclusions in pk_wrap.c Gilles Peskine 2022-10-04 23:01:59 +02:00
  • bbccdd485c pk no longer needs pk_write for ECDSA with MBEDTLS_USE_PSA_CRYPTO Gilles Peskine 2022-10-04 23:00:42 +02:00
  • 13caa94746 Don't use pk_write in ecdsa_sign_wrap with USE_PSA_CRYPTO Gilles Peskine 2022-10-04 22:59:26 +02:00
  • b4a87b07f8 Don't use pk_write in ecdsa_verify_wrap with USE_PSA_CRYPTO Gilles Peskine 2022-10-04 22:54:26 +02:00
  • 9cb1aa21c4 Merge pull request #6970 from valeriosetti/issue6857 Manuel Pégourié-Gonnard 2023-02-08 13:33:15 +01:00
  • b3b220cbf8 Correct style. Pol Henarejos 2023-02-08 12:52:18 +01:00
  • aa426e023c SHA3 cannot be tested alone, as ENTROPY_C needs also SHA256 enabled. Pol Henarejos 2023-02-08 12:52:10 +01:00