Commit Graph

  • 0e9ff8546b Merge pull request #224 from ARMmbed/feature-psa-tls-integration-proposed Jaeden Amero 2018-11-23 21:30:23 +00:00
  • 60ee838a8a Merge remote-tracking branch 'public/pr/2224' into development-psa-proposed Simon Butcher 2018-11-23 21:18:32 +00:00
  • c117d5928c check-files: detect merge artifacts Gilles Peskine 2018-11-23 21:11:52 +01:00
  • 043980585c Factor record_issue into its own method Gilles Peskine 2018-11-23 21:11:30 +01:00
  • bb225f7914 Merge remote-tracking branch 'upstream-public/pr/2225' into development-psa-proposed Jaeden Amero 2018-11-23 17:37:04 +00:00
  • 720d9a6056 psa: Update submodule to include CMake fix Jaeden Amero 2018-11-23 16:02:56 +00:00
  • 9edcc3e8fb Merge branch 'iotssl-2597-psa-hashing-x509_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 12:16:21 +00:00
  • 8295695aca Merge branch 'iotssl-2578-psa-sig-verification_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 12:14:48 +00:00
  • 02f20216bd Merge branch 'psa_cipher_integration_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 12:11:42 +00:00
  • 6b01a9fa7c Merge branch 'psa_cipher_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 12:07:32 +00:00
  • e322d3edd5 Merge branch 'opaque_psk_implementation_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 12:05:55 +00:00
  • a96cc8a9fd Merge branch 'iotssl-2596-opaque-csr-creation_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 12:03:34 +00:00
  • 826987f26c Merge branch 'iotssl-2574-pk-opaque-tls_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 12:01:18 +00:00
  • 7fde035ddc Merge branch 'iotssl-2580-pk-opaque-psa_CRYPTO' into feature-psa-tls-integration-proposed Hanno Becker 2018-11-23 11:59:48 +00:00
  • dc5f950e25 Merge pull request #223 from ARMmbed/dev/Patater/fix-unused-mac_setup Jaeden Amero 2018-11-23 15:35:43 +00:00
  • b1c48d3d83 psa: Include PSA headers for tests and programs Jaeden Amero 2018-11-23 14:45:43 +00:00
  • 82df32e3fd psa: Unused key_bits is OK Jaeden Amero 2018-11-23 15:11:20 +00:00
  • ee81756a51 Fix wrong cmake invocation in all.sh testing MBEDTLS_USE_PSA_CRYPTO Hanno Becker 2018-11-23 15:08:32 +00:00
  • ebeb6cb446 Update library version to 2.15.0 Simon Butcher 2018-11-23 14:18:15 +00:00
  • 46b79c14ad Merge remote-tracking branch 'remote_jaeden/dev/patater/avoid-check-files-todo-dev' into development-psa-proposed Hanno Becker 2018-11-23 13:40:44 +00:00
  • cdb31172e7 Temporarily update crypto-submodule target branch Hanno Becker 2018-11-23 12:48:22 +00:00
  • e1089830af Temporarily update crypto-submodule target branch archive/development-psa-proposed-2 Hanno Becker 2018-11-23 12:48:22 +00:00
  • 80a23a5bc4 check-files: Don't check same-named files Jaeden Amero 2018-11-23 10:33:20 +00:00
  • 3441d2e4a4 Merge branch 'iotssl-2597-psa-hashing-x509' into development-psa-proposed Hanno Becker 2018-11-23 11:42:07 +00:00
  • 4ae8b497c0 Merge branch 'iotssl-2578-psa-sig-verification' into development-psa-proposed Hanno Becker 2018-11-23 11:37:00 +00:00
  • a0a96a0c56 Merge branch 'psa_cipher_integration' into development-psa-proposed Hanno Becker 2018-11-23 11:26:57 +00:00
  • f8b5f27bce Merge branch 'psa_cipher' into development-psa-proposed Hanno Becker 2018-11-23 11:18:02 +00:00
  • 485529952f Merge branch 'opaque_psk_implementation' into development-psa-proposed Hanno Becker 2018-11-23 11:12:38 +00:00
  • b345ae64f1 Merge branch 'iotssl-2596-opaque-csr-creation' into development-psa-proposed Hanno Becker 2018-11-23 11:05:04 +00:00
  • ee618f7241 Merge branch 'iotssl-2574-pk-opaque-tls' into development-psa-proposed Hanno Becker 2018-11-23 10:31:00 +00:00
  • 9aa921f336 Merge branch 'iotssl-2580-pk-opaque-psa' into development-psa-proposed Hanno Becker 2018-11-23 10:17:36 +00:00
  • 565e0bf49d Merge pull request #212 from ARMmbed/psa-integration-utilities_CRYPTO Jaeden Amero 2018-11-23 09:00:22 +00:00
  • 266d907c87 pk_wrap.c: fix length mismatch check placement Andrzej Kurek 2018-11-20 07:59:18 -05:00
  • 96cc1b3def pk_wrap.c: tidy up signature extraction Andrzej Kurek 2018-11-20 06:39:06 -05:00
  • e30ad542a1 Cosmetic changes Andrzej Kurek 2018-11-20 05:14:46 -05:00
  • 73bf6b9e00 pk_wrap: rework and tidy up signature extraction Andrzej Kurek 2018-11-20 05:04:35 -05:00
  • 688ea8d10d pk_wrap: reuse a static buffer for signature extraction Andrzej Kurek 2018-11-19 17:41:58 -05:00
  • 3016de3eeb pk_wrap: rework signature extraction to work with small r and s values Andrzej Kurek 2018-11-19 17:01:16 -05:00
  • 7b7808cc76 Add tests for ECDSA verify with short r, s values Manuel Pégourié-Gonnard 2018-11-15 11:44:11 +01:00
  • 45fc464156 pk_wrap: improve error codes returned from ecdsa_verify_wrap Andrzej Kurek 2018-11-19 14:53:35 -05:00
  • ca6330992e pk_wrap: switch to helper functions defined in psa_util.h Andrzej Kurek 2018-11-19 14:33:01 -05:00
  • 510ee70501 pk_wrap: test if a valid md_alg is passed to ecdsa_verify_wrap Andrzej Kurek 2018-11-08 05:04:53 -05:00
  • 2f69b1a059 pk_wrap: destroy key slot on errors with policy or key importing Andrzej Kurek 2018-11-08 04:33:06 -05:00
  • c097b0fded pk_wrap: add a check for equal signature parts Andrzej Kurek 2018-11-07 09:30:50 -05:00
  • f8c94a811a pk_wrap: check if curve conversion is successful Andrzej Kurek 2018-11-07 08:18:52 -05:00
  • 6d49ae9223 pk_wrap: nullify the signature pointer on error in extract_ecdsa_sig Andrzej Kurek 2018-11-07 03:19:08 -05:00
  • 1e3b6865d7 pk_wrap: cosmetic changes Andrzej Kurek 2018-11-06 08:50:04 -05:00
  • 39d1f4b29f pk_wrap.c: add support for ecdsa signature verification using PSA Andrzej Kurek 2018-10-31 05:16:46 -04:00
  • 60ea0fc185 Remove trailing whitespace Andrzej Kurek 2018-11-20 03:20:09 -05:00
  • 593fccdf97 x509: remove unnecessary calls to psa_hash_abort Andrzej Kurek 2018-11-19 13:57:58 -05:00
  • 78276b1c73 x509: use the PSA API to perform hashing operations So far limited only to certificate verification withour CRL and CSR generation. Andrzej Kurek 2018-10-31 06:18:39 -04:00
  • 3bd69dda1a pkwrite: add an explicit cast to size_t Andrzej Kurek 2018-11-20 03:03:28 -05:00
  • d6d07909f2 Remove trailing whitespace Andrzej Kurek 2018-11-20 02:53:17 -05:00
  • 16d6000577 pkwrite: add a safety check before calculating the buffer size Andrzej Kurek 2018-11-19 18:09:59 -05:00
  • 2f31122585 Cosmetic changes Andrzej Kurek 2018-11-19 18:04:01 -05:00
  • c3de438b8e Add CSR write testing using opaque keys Andrzej Kurek 2018-11-19 10:12:37 -05:00
  • 6f249de706 pkwrite: add opaque key handling for public key exporting Andrzej Kurek 2018-11-19 10:07:36 -05:00
  • b7f3ac6504 pkwrite: add an explicit cast to size_t Andrzej Kurek 2018-11-20 03:03:28 -05:00
  • 967cfd18fd Remove trailing whitespace Andrzej Kurek 2018-11-20 02:53:17 -05:00
  • 158c3d10d0 pkwrite: add a safety check before calculating the buffer size Andrzej Kurek 2018-11-19 18:09:59 -05:00
  • 4b11407258 Cosmetic changes Andrzej Kurek 2018-11-19 18:04:01 -05:00
  • 5f7bad34bb Add CSR write testing using opaque keys Andrzej Kurek 2018-11-19 10:12:37 -05:00
  • 5fec0860f9 pkwrite: add opaque key handling for public key exporting Andrzej Kurek 2018-11-19 10:07:36 -05:00
  • 8b38ff57ab Remove trailing whitespace Andrzej Kurek 2018-11-20 03:20:09 -05:00
  • a609337ca0 x509: remove unnecessary calls to psa_hash_abort Andrzej Kurek 2018-11-19 13:57:58 -05:00
  • d4a6553191 x509: use the PSA API to perform hashing operations So far limited only to certificate verification withour CRL and CSR generation. Andrzej Kurek 2018-10-31 06:18:39 -04:00
  • 30b4641011 Merge pull request #219 from ARMmbed/enable_entropy_injection Gilles Peskine 2018-11-22 17:50:54 +01:00
  • 596e65e1a5 Fix indentation Netanel Gonen 2018-11-22 18:41:43 +02:00
  • f83d31260d Implement key_opaque option to ssl_client2 Manuel Pégourié-Gonnard 2018-11-08 09:52:25 +01:00
  • ca906fb8b9 Add option key_opaque to ssl_client2 (skeleton) Manuel Pégourié-Gonnard 2018-11-07 09:42:35 +01:00
  • e31411a814 Fix test that wasn't actually effective Manuel Pégourié-Gonnard 2018-11-22 12:21:20 +01:00
  • 72d94be0de Improve description of a test Manuel Pégourié-Gonnard 2018-11-19 12:39:27 +01:00
  • 2614562212 Add test utility function: wrap_as_opaque() Manuel Pégourié-Gonnard 2018-11-19 12:25:37 +01:00
  • 29a1325b0d Guard against PSA generating invalid signature Manuel Pégourié-Gonnard 2018-11-16 10:54:54 +01:00
  • f4427678ae Use shared function for error translation Manuel Pégourié-Gonnard 2018-11-16 10:15:09 +01:00
  • 1e48ebd306 Fix a compliance issue in signature encoding Manuel Pégourié-Gonnard 2018-11-16 10:09:11 +01:00
  • 615530728f Improve documentation of an internal function Manuel Pégourié-Gonnard 2018-11-15 12:17:38 +01:00
  • f127e6080e Get rid of large stack buffers in PSA sign wrapper Manuel Pégourié-Gonnard 2018-11-13 10:32:00 +01:00
  • fe8607350c Add new macro to detemine ECDSA signature length Manuel Pégourié-Gonnard 2018-11-12 15:06:57 +01:00
  • 35a7ff9366 Improve documentation of mbedtls_pk_setup_opaque() Manuel Pégourié-Gonnard 2018-11-13 10:48:23 +01:00
  • 276cb64e6c Align names to use "opaque" only everywhere Manuel Pégourié-Gonnard 2018-11-06 09:34:30 +01:00
  • 7d51255ca7 Implement pk_sign() for opaque ECDSA keys Manuel Pégourié-Gonnard 2018-10-31 16:22:49 +01:00
  • 99af2f0dd1 Add tests for unsupported operations/functions Manuel Pégourié-Gonnard 2018-10-31 11:14:36 +01:00
  • 07b103fe07 Implement can_do for opaque ECC keypairs Manuel Pégourié-Gonnard 2018-10-31 10:57:29 +01:00
  • 683632b78e Add support for get_(bit)len on opaque keys Manuel Pégourié-Gonnard 2018-10-31 10:36:51 +01:00
  • 06c631859c Add key generation to opaque test function Manuel Pégourié-Gonnard 2018-10-31 10:28:01 +01:00
  • 274f521b9a Implement alloc/free wrappers for pk_opaque_psa Manuel Pégourié-Gonnard 2018-10-31 09:57:45 +01:00
  • 3bc2029a33 Clarify return value of pk_check_pair() Manuel Pégourié-Gonnard 2018-10-24 12:37:44 +02:00
  • 1ecf92c364 Skeleton for PK_OPAQUE_PSA Manuel Pégourié-Gonnard 2018-10-22 12:11:15 +02:00
  • 0110add3d6 Rename PSA test in ssl-opt.sh Hanno Becker 2018-11-20 11:37:34 +00:00
  • 5b6425a931 Remove superfluous quotes in ssl-opt.sh Hanno Becker 2018-11-20 11:31:17 +00:00
  • fc20c14e76 Use PSA-based ciphers for record protections in TLS-1.2 only Hanno Becker 2018-11-17 22:27:38 +00:00
  • 329919eadf Use PSA-based ciphers for SSL ticket protection Hanno Becker 2018-11-17 21:25:59 +00:00
  • 4724645e28 Introduce macros for constants in SSL ticket implementation Hanno Becker 2018-11-17 21:18:01 +00:00
  • f43177d1d0 Add runs for specific PSA-supported ciphersuites to ssl-opt.sh Hanno Becker 2018-11-16 17:28:40 +00:00
  • 2dd04907e2 Omit tests from ssl-opt.sh which force a disabled ciphersuite Hanno Becker 2018-11-16 17:27:29 +00:00
  • be3ffba33d Setup PSA-based cipher context in mbedtls_ssl_derive_keys() Hanno Becker 2018-11-16 15:21:18 +00:00
  • 432084d3f8 Improve doc wording of PSA status field of mbedtls_cipher_context_t Hanno Becker 2018-11-20 11:34:34 +00:00
  • 7b05629641 Return 'Feature unavailable' error for ciphers unsupported by PSA Hanno Becker 2018-11-20 11:34:03 +00:00
  • 9de97d7773 Don't use multiline comments in enums to silence check-names.sh Hanno Becker 2018-11-19 14:05:48 +00:00