Commit Graph

  • 2914fac28a Add buffer copying to psa_aead_update() David Horstmann 2023-12-11 15:28:37 +00:00
  • 25dac6edc1 Add buffer copying to psa_aead_update_ad() David Horstmann 2023-12-11 15:23:13 +00:00
  • fed23777f3 Refactor: Use wrapper around internal set_nonce() David Horstmann 2023-12-19 17:49:20 +00:00
  • 8f0ef519d4 Add buffer copying to psa_aead_set_nonce() David Horstmann 2023-12-11 15:17:11 +00:00
  • 52402ec0fe Fix bug in PSA AEAD test David Horstmann 2023-12-11 15:09:46 +00:00
  • d3cad8b017 Add buffer copying to psa_aead_generate_nonce() David Horstmann 2023-12-11 14:46:04 +00:00
  • 7f2e040a9b Add buffer copying to psa_aead_decrypt() David Horstmann 2023-11-28 19:43:53 +00:00
  • 9d09a020c9 Copy buffers in psa_aead_encrypt() David Horstmann 2023-11-28 19:25:00 +00:00
  • 22b934e6d2 Use struct not union Dave Rodgman 2024-02-06 12:57:16 +00:00
  • f4e8234f93 Improve docs Dave Rodgman 2024-02-06 12:57:03 +00:00
  • 5c9cc0b30f Merge pull request #8727 from ronald-cron-arm/tls13-ignore-early-data-when-rejected Manuel Pégourié-Gonnard 2024-02-06 13:16:03 +00:00
  • ec9936d122 Improve gcc guards Dave Rodgman 2024-02-06 12:56:45 +00:00
  • f20728ee49 Fix missed case for removing accessor Paul Elliott 2024-02-06 12:49:45 +00:00
  • b327a1e706 Change unaligned access method for old gcc Dave Rodgman 2024-02-06 11:21:26 +00:00
  • d0a772740e tests: early data: Complete the handshake Ronald Cron 2024-02-05 17:57:05 +01:00
  • 735ac3ec05 Fix builds with secp224k1 as the only curve Gilles Peskine 2024-02-06 11:11:32 +01:00
  • 4e9683e818 Reduce many unnecessary static memory consumption Chien Wong 2023-12-28 17:07:43 +08:00
  • c213a2e1e5 adjust_legacy_from_psa: use groups instead of curves for DH Valerio Setti 2024-02-06 10:49:14 +01:00
  • 8a85673a39 Merge remote-tracking branch 'development' into pk_import_into_psa-use_usage Gilles Peskine 2024-02-06 10:14:17 +01:00
  • d4fc5d9d1c psa_util: allow larger raw buffers in mbedtls_ecdsa_raw_to_der() Valerio Setti 2024-02-06 08:42:42 +01:00
  • fe329cea3f rsa: handle buffer length similarly in private and public key parsing Valerio Setti 2024-02-06 08:00:18 +01:00
  • 33327dab85 tests: early data: Switch to mnemonics for test scenarios Ronald Cron 2024-02-05 17:46:41 +01:00
  • 0e60e93c12 test_suite_psa_crypto_util: improve ecdsa_der_to_raw() Valerio Setti 2024-02-05 17:59:42 +01:00
  • 1d5fa22f9d Fix pkcs5 aes test data Ryan Everett 2024-02-05 16:45:38 +00:00
  • 9ae32704b6 Add missing dependencies for pkparse tests Ryan Everett 2024-02-05 16:44:16 +00:00
  • 1792bb44a0 test_suite_psa_crypto_util: add more test cases Valerio Setti 2024-02-05 17:34:49 +01:00
  • 71c6e65d83 tls13: ssl_msg.c: Improve/add comments Ronald Cron 2024-02-05 16:48:10 +01:00
  • 31e2d83eee tls13: srv: Improve coding Ronald Cron 2024-02-05 16:45:57 +01:00
  • a4d17b34f3 pkg-config: add initial pkg-config files Bill Roberts 2024-01-09 13:10:05 -06:00
  • 110126110d test_suite_psa_util: use more generic symbols for test case dependencies Valerio Setti 2024-02-05 16:24:18 +01:00
  • 091bdc416d psa_util: enhance checks on leading zeros in convert_der_to_raw_single_int() Valerio Setti 2024-02-05 16:17:44 +01:00
  • 32c28cebb4 Merge pull request #8715 from valeriosetti/issue7964 Manuel Pégourié-Gonnard 2024-02-05 15:09:15 +00:00
  • 05c256fb36 psa_util: minor performance improvement in mbedtls_ecdsa_der_to_raw() Valerio Setti 2024-02-05 16:02:11 +01:00
  • bec1d842ac psa_util: convert_der_to_raw_single_int() accepts also all zero integers Valerio Setti 2024-02-05 15:50:02 +01:00
  • 8334d00772 psa_util: improve check of raw_len in mbedtls_ecdsa_raw_to_der() Valerio Setti 2024-02-05 15:35:26 +01:00
  • 2bd0ecdf45 psa_util: improve documentation for convert_raw_to_der_single_int() Valerio Setti 2024-02-05 15:25:15 +01:00
  • e01a2b03c6 psa_util: update documentation for mbedtls_ecdsa_der_to_raw() Valerio Setti 2024-02-05 15:16:36 +01:00
  • 747bedb0b0 Merge pull request #8733 from ivq/gcm_ad_len_check Janos Follath 2024-02-05 13:33:58 +00:00
  • 954ef4bbd5 psa_util: improve convert_raw_to_der_single_int() Valerio Setti 2024-02-05 12:06:46 +01:00
  • 6932e29057 Correct the ENCODES_OWNER macro name in comment Antonio de Angelis 2024-02-05 09:49:43 +00:00
  • 315e4afc0a psa_util: change parameters order in ECDSA conversion functions Valerio Setti 2024-02-05 10:09:15 +01:00
  • 8645197937 psa_util: fix documentation of ECDSA conversion functions Valerio Setti 2024-02-05 09:50:20 +01:00
  • 45c33ed41e test_suite_rsa: fix data for "extra integer outside the SEQUENCE" Valerio Setti 2024-02-05 09:04:10 +01:00
  • 13ab693c49 rsa_internal: fix documentation for mbedtls_rsa_parse_key() Valerio Setti 2024-02-05 08:48:39 +01:00
  • fe4f7e5fc0 Merge pull request #1165 from daverodgman/update-development-r Dave Rodgman 2024-02-02 22:00:49 +00:00
  • e883870cc7 Merge branch 'development-restricted' into update-development-r Dave Rodgman 2024-02-02 18:03:29 +00:00
  • 098e2d82cd Revert accidental formatting change Paul Elliott 2024-02-02 17:59:26 +00:00
  • ac61cee2fd Restore mutex lock for mbedtls_test_set_step() Paul Elliott 2024-02-02 17:53:38 +00:00
  • 12285c5c7c Add calls to BLOCK_CIPHER_PSA_INIT / BLOCK_CIPHER_PSA_DONE Dave Rodgman 2024-02-02 17:52:41 +00:00
  • 5a2e95dcfa Merge pull request #1164 from daverodgman/update-2.28-restricted Dave Rodgman 2024-02-02 17:45:18 +00:00
  • 8f7a5f6682 Merge pull request #1157 from Ryan-Everett-arm/key-management-buffer-protection-backport David Horstmann 2024-02-02 17:43:34 +00:00
  • 52ff236a98 Merge pull request #1137 from Ryan-Everett-arm/key-management-buffer-protection David Horstmann 2024-02-02 17:43:14 +00:00
  • ae2d81c314 tests: tls13: Run early data test only in TLS 1.3 only config Ronald Cron 2024-01-22 09:13:41 +01:00
  • f57d14bed4 Ignore early data app msg before 2nd client hello Jerry Yu 2023-11-15 16:40:09 +08:00
  • 263dbf7167 tls13: srv: Do not allow early data indication in 2nd ClientHello Jerry Yu 2022-10-26 10:51:27 +08:00
  • 1483dc3bde tls13: cli: Indicate early data only in first ClientHello Ronald Cron 2024-01-19 10:00:47 +01:00
  • 2995d35ac3 tls13: srv: Deprotect and discard early data records Ronald Cron 2024-01-18 16:59:39 +01:00
  • 4caf3ca08c tls13: srv: Add discard_early_data_record SSL field Jerry Yu 2023-11-15 16:13:47 +08:00
  • 064dd2b870 Adjust check order Jerry Yu 2023-12-08 14:58:08 +08:00
  • f15e13ead7 test_suite_x509parse: remove useless include of rsa.h Valerio Setti 2024-02-02 14:00:53 +01:00
  • 5a19892528 pkparse: fix check for ASN1 errors in mbedtls_pk_parse_subpubkey() Valerio Setti 2024-02-02 13:59:51 +01:00
  • bfa27e33ff Fix kdf incorrect initial capacity Kusumit Ghoderao 2024-02-02 16:32:55 +05:30
  • 4380a33bd3 Add a client view layout for interruptible hash and pake Antonio de Angelis 2024-02-02 14:21:24 +00:00
  • b90e695e09 Merge pull request #8692 from ronald-cron-arm/read-early-data Ronald Cron 2024-02-02 14:07:47 +00:00
  • 6fb1be6cb1 Add comments in psa/crypto_struct.h for id layout Antonio de Angelis 2024-02-02 14:05:32 +00:00
  • fc590dd361 changelog: fix typo Valerio Setti 2024-02-02 13:46:02 +01:00
  • d078386287 Smoke tests for mbedtls_pk_get_psa_attributes after parsing Gilles Peskine 2024-02-02 13:13:34 +01:00
  • cb3b4cae0a Fix handling of ECC public keys under MBEDTLS_PK_USE_PSA_EC_DATA Gilles Peskine 2024-02-02 13:12:39 +01:00
  • c9dd8611f8 test_suite_psa_crypto_util: add missing new line at the end of file Valerio Setti 2024-02-02 12:34:06 +01:00
  • 684d78fcfa test_suite_rsa: improve key parsing tests for extra data Valerio Setti 2024-02-02 12:30:16 +01:00
  • a9b90de6dd tests/ssl_helpers: Check that message queue is popped Tomás González 2024-02-01 11:12:20 +00:00
  • 081803d6ec Remove unnecessary dependencies from psa_crypto_helpers.h Ryan Everett 2024-02-02 10:48:49 +00:00
  • c8b6c05014 Update tests/scripts/generate_psa_wrappers.py Ryan Everett 2024-01-25 15:20:09 +00:00
  • cb4f855456 Fix line-too-long in script Ryan Everett 2024-01-25 14:40:16 +00:00
  • 810421ccc6 Re-add cipher_encrypt buffer copying Ryan Everett 2024-01-25 12:09:09 +00:00
  • 3a4153a768 Conditionally guard exit label to stop unused label error Ryan Everett 2024-01-25 12:04:55 +00:00
  • dcbc1d3750 Generate test wrappers for key management Ryan Everett 2024-01-25 11:04:48 +00:00
  • 30827915a4 Protect buffer in psa_export_public_key Ryan Everett 2024-01-19 16:05:00 +00:00
  • e3e760cddb Protect buffer in psa_export_key Ryan Everett 2024-01-19 16:03:50 +00:00
  • 6b97025466 Protect buffer in psa_import_key Ryan Everett 2024-01-19 16:02:59 +00:00
  • 8d606857da Remove unnecessary dependencies from psa_crypto_helpers.h Ryan Everett 2024-02-01 17:52:13 +00:00
  • 4c74c4fe84 Fix line-too-long in script Ryan Everett 2024-01-25 14:36:09 +00:00
  • 35f68533d8 Conditionally guard exit label to deter unused label error Ryan Everett 2024-01-25 12:02:03 +00:00
  • 84a666daa8 Re-add cipher_encrypt to test wrapper script Ryan Everett 2024-01-25 12:00:02 +00:00
  • 77b91e3930 Generate test wrappers for key management Ryan Everett 2024-01-25 10:58:06 +00:00
  • b1d2c67ee0 Protect buffer in psa_export_public_key Ryan Everett 2024-01-08 17:19:30 +00:00
  • 45ac526592 Protect the buffer in psa_export_key Ryan Everett 2024-01-08 17:15:19 +00:00
  • f028fe195b Protect buffer in psa_import_key Ryan Everett 2024-01-08 17:14:44 +00:00
  • c701cb2835 test_suite_rsa: improve rsa_key_write_incremental() Valerio Setti 2024-02-02 11:09:37 +01:00
  • 3e7ef37e07 Merge pull request #1152 from tom-daubney-arm/backport_asymmetric_sign_buffer_protection David Horstmann 2024-02-02 10:04:37 +00:00
  • 8a35fd58ee Merge pull request #1151 from tom-daubney-arm/asymmetric_sign_buffer_protection David Horstmann 2024-02-02 10:04:21 +00:00
  • 5922cb9309 pkparse: keep legacy PK error codes when RSA key parsing fails Valerio Setti 2024-02-02 09:21:25 +01:00
  • 591e83d139 Add missing implied usage Gilles Peskine 2024-02-01 21:33:44 +01:00
  • a1a7b08057 Fix typo in dependency Gilles Peskine 2024-02-01 21:32:29 +01:00
  • 793920c1ff mbedtls_pk_get_psa_attributes: opaque: require specified usage Gilles Peskine 2024-02-01 21:26:54 +01:00
  • e820975244 Fix comment Gilles Peskine 2024-02-01 21:00:33 +01:00
  • e45d51f7b5 Clearer variable names Gilles Peskine 2024-02-01 20:53:11 +01:00
  • e2a77f21ea Use PSA_INIT with test that requires PSA Gilles Peskine 2024-02-01 20:50:24 +01:00
  • 2e54854d16 Copypasta Gilles Peskine 2024-02-01 20:50:00 +01:00
  • 0aad5f8f34 Copypasta Gilles Peskine 2024-02-01 20:49:46 +01:00