Commit Graph

  • 864abbff4e Rework how lengths are expressed in CBC test Manuel Pégourié-Gonnard 2020-07-21 10:37:14 +02:00
  • 4353b698ed hmac_drbg: make no reseeding behaviour explicit Andrzej Kurek 2020-07-19 04:58:58 -04:00
  • fac2f9b4ce aes: move the fake key operations to AES_SCA_COUNTERMEASURES define Andrzej Kurek 2020-07-19 00:32:34 -04:00
  • f6265441b0 hmac_drbg: fix default value of the prediction resistance in ctx Andrzej Kurek 2020-07-18 07:09:04 -04:00
  • 6bc37fa4e2 hmac_drbg: set_entropy_len can now return an error Andrzej Kurek 2020-07-18 06:05:03 -04:00
  • 9167aa96f8 hmac_drbg: change two variables to be volatile Andrzej Kurek 2020-07-18 00:10:50 -04:00
  • e78775eed2 Use a fake random key in AES calculations Andrzej Kurek 2020-07-02 10:57:00 -04:00
  • 4b700a3db3 Merge pull request #3456 from AndrzejKurek/aes-fi-improvements Andrzej Kurek 2020-07-30 16:29:48 +02:00
  • 8917326d7b Introduce sha256 security review fixes Andrzej Kurek 2020-07-15 18:51:40 -04:00
  • a242f50acd Classify #3464 ChangeLog entry as Bugfix Simon Leet 2020-07-18 01:14:00 +00:00
  • 3403969645 Add a comment regarding remaining space check Andrzej Kurek 2020-07-17 05:49:47 -04:00
  • a9a5ff5f31 aes: add a comment about expected keybits value. Andrzej Kurek 2020-07-15 08:50:59 -04:00
  • 11ddf25828 Add minor FI countermeasures improvements Andrzej Kurek 2020-06-24 17:33:39 -04:00
  • 189ee74a82 Add a platform function to return a random uint32_t Andrzej Kurek 2020-06-24 17:28:31 -04:00
  • 3ed65d2b84 Add a return from pk_get_ueccpubkey if uecc_public_key_read_binary fails Andrzej Kurek 2020-07-17 02:10:40 -04:00
  • 5dd5a491da x509_crl_parse: fix 1-byte buffer overflow and entry->raw.tag Gilles Peskine 2020-07-16 18:26:29 +02:00
  • b2281e1cf0 x509parse_crl: more negative test cases Gilles Peskine 2020-07-16 18:18:22 +02:00
  • c3b69edd2f Increase hamming distance by changing UECC_SUCCESS from 0 to FFAAAA Andrzej Kurek 2020-07-16 11:33:34 -04:00
  • a798e5d5cc Introduce additional buffer size checks to pk.c Andrzej Kurek 2020-07-16 09:57:17 -04:00
  • a80651c483 Add a pre-commit hook that checks generated files Manuel Pégourié-Gonnard 2020-07-16 10:53:13 +02:00
  • 2774fc45ff Add -u option to check-generated-files.sh Manuel Pégourié-Gonnard 2020-07-16 10:40:13 +02:00
  • ddc2db4c13 x509.c: Remove one unnecessary cast Andrzej Kurek 2020-07-16 04:37:41 -04:00
  • 7e6075b7fd Merge pull request #3499 from AndrzejKurek/fi-duplicate-buffers-revert Andrzej Kurek 2020-07-21 11:03:50 +02:00
  • 7868396e78 Clarify some comments Manuel Pégourié-Gonnard 2020-07-16 09:48:54 +02:00
  • 3c57ccd777 Add missing newline gabor-mezei-arm 2020-07-16 10:19:18 +02:00
  • 4adc04a8a3 Give a constant a name in test function Manuel Pégourié-Gonnard 2020-07-16 10:00:48 +02:00
  • e288ec0651 Fix memory leak on error path Manuel Pégourié-Gonnard 2020-07-16 09:23:30 +02:00
  • cf3e35cc58 Revert a part of sensitive information duplication from tinycrypt Andrzej Kurek 2020-07-15 22:32:08 -04:00
  • afec8853c5 Revert a part of the sensitive information duplication changes Andrzej Kurek 2020-07-15 16:31:27 -04:00
  • a321413807 Zeroising of plaintext buffers to erase unused application data from memory gabor-mezei-arm 2020-07-15 10:55:00 +02:00
  • 8f4f9a8daf Merge pull request #3425 from stevew817/montgomery-keys-clarification Manuel Pégourié-Gonnard 2020-07-15 13:33:46 +02:00
  • 6240defd17 Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN Manuel Pégourié-Gonnard 2020-07-10 09:35:54 +02:00
  • 65a6fa3e26 Make cf_hmac() STATIC_TESTABLE Manuel Pégourié-Gonnard 2020-07-09 09:52:17 +02:00
  • 8aa29e382f Use existing implementation of cf_hmac() Manuel Pégourié-Gonnard 2020-07-07 12:30:39 +02:00
  • 045f094c81 Add dummy constant-flow HMAC function with tests Manuel Pégourié-Gonnard 2020-07-02 11:34:02 +02:00
  • c417c783e5 Merge pull request #3481 from AndrzejKurek/fi_duplicate_buffers_2 Andrzej Kurek 2020-07-15 11:56:36 +02:00
  • 5a3c210e15 Update to renamed curve constant Steven Cooreman 2020-07-13 17:26:26 +02:00
  • bcce2eff27 Transparent drivers may have init functions too Gilles Peskine 2020-07-13 13:19:44 +02:00
  • 71db60bd11 Automatically define location/lifetime constants Gilles Peskine 2020-07-13 13:18:28 +02:00
  • 278e5ebf78 Start Mbed TLS guides to PSA drivers Gilles Peskine 2020-07-13 11:28:20 +02:00
  • 2e66aca372 PSA unified driver interface Gilles Peskine 2020-07-13 11:27:13 +02:00
  • abeb58e814 Add a directory for proposed specifications Gilles Peskine 2020-07-13 13:22:27 +02:00
  • aec44e9fe8 Merge remote-tracking branch 'mbedtls/development' into montgomery-keys-clarification Steven Cooreman 2020-07-13 11:48:21 +02:00
  • 0024df6b37 Remove superfluous argument to ecp_write_key Steven Cooreman 2020-07-13 10:59:40 +02:00
  • 1535a43149 Revise comments for x509write_csr_der_internal Simon Leet 2020-06-26 21:23:32 +00:00
  • afc2717e84 Avoid stack-allocation of large memory buffers Doru Gucea 2018-12-14 21:08:35 +02:00
  • f90597f21e Adapt ChangeLog Hanno Becker 2019-05-04 08:18:09 +01:00
  • c33e92189a Avoid use of large stack buffers in mbedtls_x509_write_crt_pem() Hanno Becker 2019-05-04 08:13:23 +01:00
  • cfc77d49bd Improve documentation of mbedtls_pem_write_buffer() Hanno Becker 2019-05-04 08:12:47 +01:00
  • eeea9ead3c Perform CRT writing in-place on the output buffer Hanno Becker 2019-05-04 07:54:36 +01:00
  • beaf396619 Adapt x509write_crt.c to coding style Hanno Becker 2019-05-04 07:37:58 +01:00
  • d4d6ad0363 Merge pull request #3464 from CodeMonkeyLeet/csr_heap_alloc Manuel Pégourié-Gonnard 2020-07-10 10:57:22 +02:00
  • 2df1f1f16f Factor repeated preprocessor condition to a macro Manuel Pégourié-Gonnard 2020-07-09 12:11:39 +02:00
  • 913a204a33 Fix undeclared dependency of test function Manuel Pégourié-Gonnard 2020-07-09 10:02:41 +02:00
  • 40ca54a9ac Revise comments for x509write_csr_der_internal Simon Leet 2020-06-26 21:23:32 +00:00
  • 2957b35157 Avoid stack-allocation of large memory buffers Doru Gucea 2018-12-14 21:08:35 +02:00
  • 45e719983f Minor formatting and cosmetic changes Andrzej Kurek 2020-07-08 10:09:44 -04:00
  • ca60937cf9 Add buffer and context clearing upon suspected FI Andrzej Kurek 2020-07-08 03:19:02 -04:00
  • 8ed8694199 Merge branch 'development' into development-restricted Manuel Pégourié-Gonnard 2020-07-07 12:48:42 +02:00
  • 3ee91f47f4 Merge pull request #3452 from okhowang/local-labels Manuel Pégourié-Gonnard 2020-07-07 11:48:05 +02:00
  • 62af37d616 Add tests with ARIA, Camellia, 3DES Manuel Pégourié-Gonnard 2020-07-07 11:40:38 +02:00
  • 7a1cb41ba2 Add test cases with MD5, SHA1, SHA384 Manuel Pégourié-Gonnard 2020-07-07 11:20:32 +02:00
  • e79e3bb2da Add test cases with various record sizes Manuel Pégourié-Gonnard 2020-07-07 11:02:59 +02:00
  • 527c1ff71a Generate good/bad padding programmatically Manuel Pégourié-Gonnard 2020-07-07 10:43:37 +02:00
  • fafe8553c6 Merge pull request #3392 from paul-elliott-arm/psa_ecc_dh_macros Manuel Pégourié-Gonnard 2020-07-07 09:20:44 +02:00
  • 0919b142b6 Formatting changes Andrzej Kurek 2020-07-06 15:28:59 -04:00
  • 84bde419e1 Add FI countermeasures to the ssl module Andrzej Kurek 2020-07-06 15:27:34 -04:00
  • 74f7d0f03d Duplicate sensitive buffer and buffer length information Andrzej Kurek 2020-07-06 14:28:12 -04:00
  • 2a48b53ee7 Added changelog entry for AES-ECB in PSA Steven Cooreman 2020-07-06 14:42:39 +02:00
  • ed3c9ec71a Added support for AES-ECB to the PSA Crypto implementation Steven Cooreman 2020-07-06 14:08:59 +02:00
  • 14f0e526fb Fix Curve25519 ecp_read_key vectors to match description Steven Cooreman 2020-06-12 11:42:43 +02:00
  • bd3a6f4497 Rewrite changelog for #3425 as requested Steven Cooreman 2020-06-12 11:29:00 +02:00
  • c9b7f78647 Rework mbedtls_ecp_write_key to remove unnecessary output parameter Steven Cooreman 2020-06-11 17:00:36 +02:00
  • e3fd39289e Fix endianness and masking for Curve25519 keys handled by PSA Steven Cooreman 2020-06-11 16:50:36 +02:00
  • 6f5cc71ad1 Document masking of Montgomery private keys in psa_export_key Steven Cooreman 2020-06-11 16:40:41 +02:00
  • de8593f2fe Implement and test mbedtls_ecp_write_key Steven Cooreman 2020-06-09 19:55:26 +02:00
  • a24c8414cf Merge pull request #3439 from piotr-now/fic_switch Shelly Liberman 2020-07-05 10:55:13 +03:00
  • 0c4bbda16a Use local labels in padlock.c okhowang(王沛文) 2020-06-24 16:02:10 +08:00
  • 642a4ef0aa Merge pull request #3463 from gilles-peskine-arm/tests-not-executed Gilles Peskine 2020-07-03 15:13:18 +02:00
  • a586099fd3 Merge pull request #3475 from gilles-peskine-arm/rename-check_files-2.16 Gilles Peskine 2020-07-03 15:12:52 +02:00
  • 22b265b9f2 Merge pull request #3476 from gilles-peskine-arm/rename-check_files-2.7 Gilles Peskine 2020-07-03 15:12:49 +02:00
  • 2426506fa0 Merge pull request #3458 from gilles-peskine-arm/analyze_outcomes-count_test_cases-1 Gilles Peskine 2020-07-03 15:12:44 +02:00
  • 74ff13cfae Merge pull request #3479 from okhowang/format-signedness Janos Follath 2020-07-03 11:53:39 +01:00
  • 0ac01a1c59 TLS: Add negative tests for non-EtM CBC decryption Manuel Pégourié-Gonnard 2020-07-03 12:49:10 +02:00
  • 0cd8e0f6a7 Only pass -Wformat-signedness to versions of GCC that support it. okhowang(王沛文) 2020-07-03 11:41:38 +08:00
  • 527b87890d Merge pull request #3454 from gilles-peskine-arm/include-common-h-development Manuel Pégourié-Gonnard 2020-07-03 09:44:18 +02:00
  • bbb3664957 Documentation improvements Gilles Peskine 2020-07-03 00:30:12 +02:00
  • 06a28082af Add Changelog entry for PSA DH/ECC Macros rename Paul Elliott 2020-07-02 16:34:27 +01:00
  • 75e27032d3 Rename DH Family Macros According to PSA Spec Paul Elliott 2020-06-03 15:17:39 +01:00
  • 8ff510ac26 Rename ECC Family Macros According to PSA Spec Paul Elliott 2020-06-02 17:19:28 +01:00
  • e1c4362966 Remove redundant assignment Gilles Peskine 2020-07-02 17:50:20 +02:00
  • 76dd3aa5bb Add comments explaining include paths Gilles Peskine 2020-07-02 15:58:37 +02:00
  • 280165c9b3 Library files aren't supposed to be executable Gilles Peskine 2020-07-02 13:19:17 +02:00
  • dedff7a57d CMake: Include the library directory for the sake of 3rdparty Gilles Peskine 2020-07-02 13:13:27 +02:00
  • 3ca8a9285e Factor common library properties Gilles Peskine 2020-07-02 13:07:37 +02:00
  • bfbdca8bb4 Merge branch 'development' into development-restricted Manuel Pégourié-Gonnard 2020-07-02 13:01:38 +02:00
  • 00de80378c Rename Python scripts to use '_' and not '-' Gilles Peskine 2020-06-25 14:18:34 +02:00
  • ee69477890 Rename Python scripts to use '_' and not '-' Gilles Peskine 2020-06-25 14:18:34 +02:00
  • 0d7216511f Fix erroneous skip of test cases for disabled ciphersuites Gilles Peskine 2020-06-26 23:35:53 +02:00
  • db09ef6d22 Include common.h instead of config.h in library source files Gilles Peskine 2020-06-03 01:43:33 +02:00