Commit Graph

  • 9fd9794d10 mbedtls_asn1_get_int: explain the logic Gilles Peskine 2019-10-10 19:27:53 +02:00
  • 0370b1bd7d ASN1 tests: more INTEGER test cases Gilles Peskine 2019-10-10 19:25:39 +02:00
  • 970dcbf453 ASN1 tests: Match negative INTEGERs with the actual library behavior Gilles Peskine 2019-10-10 19:21:12 +02:00
  • 321adb297c ASN1 tests: Match "Empty INTEGER" with the actual library behavior Gilles Peskine 2019-10-10 19:18:21 +02:00
  • 03c165e1e1 Fix the build and the tests when MBEDTLS_BIGNUM_C is unset Gilles Peskine 2019-10-10 19:15:18 +02:00
  • 03954f2537 Make negative function_id value impossible in test suites k-stachowiak 2019-09-16 10:23:10 +02:00
  • ead3aae8d9 Reduce number of entropy sources to 1 in baremetal configuration Hanno Becker 2019-09-19 16:59:13 +01:00
  • c828432920 Make use of copy-less CRT parsing API in ssl_client2/ssl_server2 Hanno Becker 2019-09-19 16:58:57 +01:00
  • 7d864c494a ssl_client2/ssl_server2: Use heap for various structures Hanno Becker 2019-09-19 16:51:41 +01:00
  • 36029387de Merge pull request #285 from gilles-peskine-arm/psa-se_driver-validate_save_persistent Gilles Peskine 2019-10-09 18:35:33 +02:00
  • 1bbe284d63 Merge pull request #272 from adrianlshaw/document_old_algs Gilles Peskine 2019-10-09 17:18:11 +02:00
  • 43326f0d1e Change PSA_DH_GROUP_CUSTOM to not be in the vendor-defined range Gilles Peskine 2019-10-09 16:43:39 +02:00
  • 04129a0d96 Update slot management tests now that {close,destroy}_key(0) succeed Gilles Peskine 2019-10-09 16:23:49 +02:00
  • 85485c7338 Always gather MBEDTLS_ENTROPY_BLOCK_SIZE bytes of entropy Gilles Peskine 2019-10-08 15:04:16 +02:00
  • f0963f7141 Merge remote-tracking branch 'public/pr/2867' into baremetal Simon Butcher 2019-10-08 18:57:31 +01:00
  • f7881ad2b7 Merge remote-tracking branch 'public/pr/2865' into baremetal Simon Butcher 2019-10-08 18:42:04 +01:00
  • 3a9d8a54e4 Merge remote-tracking branch 'public/pr/2881' into baremetal Simon Butcher 2019-10-08 18:39:34 +01:00
  • 8028cb19f4 Makefile: add path prefixes to other versions of libmbedcrypto library Andrzej Kurek 2019-10-08 10:10:43 -04:00
  • cb25cdd53a Add ECDSA tests with hash and key of different lengths Gilles Peskine 2019-10-07 11:57:31 +02:00
  • 1841cf43ee Make psa_close_key(0) and psa_destroy_key(0) succeed Gilles Peskine 2019-10-08 15:48:25 +02:00
  • f102e4e4f6 Test that psa_close_key(0) and psa_destroy_key(0) succeed Gilles Peskine 2019-10-08 15:47:31 +02:00
  • 2493401af4 Document that psa_close_key(0) and psa_destroy_key(0) succeed Gilles Peskine 2019-10-08 15:43:13 +02:00
  • 0d50d41c92 Merge pull request #2882 from gilles-peskine-arm/update-crypto-20191004 Gilles Peskine 2019-10-08 15:34:11 +02:00
  • 16ee3c15a3 config.pl full: exclude MBEDTLS_CTR_DRBG_USE_128_BIT_KEY Gilles Peskine 2019-10-07 15:57:50 +02:00
  • 65fc0686a7 Add tests to ensure that we gather as much entropy as expected Gilles Peskine 2019-10-08 15:01:34 +02:00
  • 7f246510d0 Add a test case for MBEDTLS_ERR_ENTROPY_NO_SOURCES_DEFINED Gilles Peskine 2019-10-08 14:51:49 +02:00
  • ed04a676ee Entropy tests: support multiple dummy sources Gilles Peskine 2019-10-08 14:37:27 +02:00
  • c34b839d85 Improve the descriptions of some entropy test cases Gilles Peskine 2019-10-08 14:21:18 +02:00
  • 6e59505bb2 Recommend use of GREASE values for vendor defined DH groups Andrew Thoelke 2019-10-07 22:27:17 +01:00
  • 691ec52694 Remove over-specific RFC references Andrew Thoelke 2019-10-07 15:28:36 +01:00
  • e249c0e6b3 config.pl full: exclude MBEDTLS_CTR_DRBG_USE_128_BIT_KEY Gilles Peskine 2019-10-07 15:57:50 +02:00
  • 232e8f959a Enable parallel shared target tests Andrzej Kurek 2019-10-03 03:18:01 -04:00
  • df2cd9e14f Makefiles: move the dependencies block to be after DLEXT definition Andrzej Kurek 2019-10-07 09:24:22 -04:00
  • 8af3923815 Add a recipe for libmbedcrypto with a path prefix Andrzej Kurek 2019-10-07 09:19:18 -04:00
  • 0a9b44ddaa Merge branch 'mbedtls-2.16' into baremetal-2.16-20191004 Manuel Pégourié-Gonnard 2019-10-07 10:51:30 +02:00
  • b1320f3319 Write a change log from mbedcrypto-2.0.0 to the merge of #75 Gilles Peskine 2019-10-05 11:27:39 +02:00
  • f70d3eb43a Uncomment X509 test that now works Gilles Peskine 2019-10-04 19:24:06 +02:00
  • e96658d3f5 Update error.c after a crypto submodule update Gilles Peskine 2019-10-04 19:23:00 +02:00
  • 714c3e1a0e Update crypto submodule Gilles Peskine 2019-10-04 19:21:07 +02:00
  • 77d44573cb mbedtls_hmac_drbg_set_entropy_len() only matters when reseeding Gilles Peskine 2019-10-04 11:52:22 +02:00
  • dddda81fbc mbedtls_ctr_drbg_set_entropy_len() only matters when reseeding Gilles Peskine 2019-10-03 14:22:04 +02:00
  • 55e120b9b2 mbedtls_hmac_drbg_set_entropy_len() only matters when reseeding Gilles Peskine 2019-10-04 11:52:22 +02:00
  • dff3682477 mbedtls_ctr_drbg_set_entropy_len() only matters when reseeding Gilles Peskine 2019-10-03 15:10:21 +02:00
  • 8b424397b9 mbedtls_hmac_drbg_set_entropy_len() only matters when reseeding Gilles Peskine 2019-10-04 11:52:22 +02:00
  • 2abefefec2 mbedtls_ctr_drbg_seed: correct maximum for len Gilles Peskine 2019-10-03 15:13:08 +02:00
  • cc74872ba9 mbedtls_ctr_drbg_set_entropy_len() only matters when reseeding Gilles Peskine 2019-10-03 14:22:04 +02:00
  • e215a4d05e mbedtls_ctr_drbg_seed: correct maximum for len Gilles Peskine 2019-10-03 15:13:08 +02:00
  • c4315e6d5e Address review comments for documentation Jarno Lamsa 2019-10-04 15:42:39 +03:00
  • 1881ef53b7 Move the definition of function in zeroize Jarno Lamsa 2019-10-04 15:02:57 +03:00
  • 990135eb4e Add all.sh entry Jarno Lamsa 2019-10-04 13:09:10 +03:00
  • 9ab7c07f1f Merge pull request #75 from gilles-peskine-arm/asn1-tests-without-x509 Jaeden Amero 2019-10-04 12:30:01 +01:00
  • 0efac53cdc Review fixes: fixed comments to be more accurate and changed one memcmp to safer version Teppo Järvelin 2019-10-04 13:21:08 +03:00
  • 642596e931 Adapt the example programs Jarno Lamsa 2019-10-04 12:52:42 +03:00
  • f098b26b83 Add rng for the test suites Jarno Lamsa 2019-10-04 12:51:45 +03:00
  • 88f136f98b Fix free_named_data_list tests Gilles Peskine 2019-09-20 21:06:27 +02:00
  • dc2db4832d Fix typos in documentation Gilles Peskine 2019-09-20 21:06:01 +02:00
  • f6c2061af2 Add a note about CTR_DRBG security strength to config.h Gilles Peskine 2019-10-03 14:21:39 +02:00
  • 1989218456 Move MBEDTLS_CTR_DRBG_USE_128_BIT_KEY to the correct section Gilles Peskine 2019-10-03 14:21:14 +02:00
  • dd5b67b4f4 CTR_DRBG: more consistent formatting and wording Gilles Peskine 2019-10-03 14:20:46 +02:00
  • 7e27936767 Add a note about CTR_DRBG security strength to config.h Gilles Peskine 2019-10-03 14:21:39 +02:00
  • 1540e5bd04 Move MBEDTLS_CTR_DRBG_USE_128_BIT_KEY to the correct section Gilles Peskine 2019-10-03 14:21:14 +02:00
  • d0c64c856d CTR_DRBG: more consistent formatting and wording Gilles Peskine 2019-10-03 14:20:46 +02:00
  • 2884ba3720 CTR_DRBG: Improve the explanation of security strength Gilles Peskine 2019-10-02 19:01:31 +02:00
  • 017778e9d8 CTR_DRBG: make it easier to understand the security strength Gilles Peskine 2019-10-02 18:23:38 +02:00
  • 5d9fd07938 HMAC_DRBG: note that the initial seeding grabs entropy for the nonce Gilles Peskine 2019-10-01 18:41:12 +02:00
  • 217b8159da Use standard terminology to describe the personalization string Gilles Peskine 2019-10-01 18:39:45 +02:00
  • 2d8f069472 Do note that xxx_drbg_random functions reseed with PR enabled Gilles Peskine 2019-10-01 18:31:28 +02:00
  • 10f16ac74a Consistently use \c NULL and \c 0 Gilles Peskine 2019-10-01 18:30:02 +02:00
  • 3457b5e05e HMAC_DRBG: improve the documentation of the entropy length Gilles Peskine 2019-09-30 15:20:52 +02:00
  • 74efcd2b71 HMAC_DRBG documentation improvements clarifications Gilles Peskine 2019-09-30 15:01:15 +02:00
  • ec51dd12fa More CTR_DRBG documentation improvements and clarifications Gilles Peskine 2019-09-30 15:01:02 +02:00
  • 6fdf0b3a47 CTR_DRBG: improve the discussion of entropy length vs strength Gilles Peskine 2019-09-25 20:22:40 +02:00
  • 223deea86b CTR_DRBG: Document the security strength and SP 800-90A compliance Gilles Peskine 2019-09-24 14:48:53 +02:00
  • 944bc587e8 CTR_DRBG: Document the maximum size of some parameters Gilles Peskine 2019-09-24 14:48:30 +02:00
  • 707ceb88f0 Replaced mbedtls_ssl_safer_memcmp with mbedtls_platform_memcmp Teppo Järvelin 2019-10-04 07:49:39 +03:00
  • 650343cdcd Changed mbedtls_platform_memcmp to memcmp for places that don't have critical data and are under baremetal Teppo Järvelin 2019-10-03 15:36:59 +03:00
  • 6b2a779323 Merge pull request #286 from athoelke/at-version Gilles Peskine 2019-10-03 16:07:08 +02:00
  • e4209c0e62 Merge pull request #278 from RonEld/fix_on_target_test_issues Jaeden Amero 2019-10-03 14:10:05 +01:00
  • 406d25878c Add a note about CTR_DRBG security strength to config.h Gilles Peskine 2019-10-03 14:31:22 +02:00
  • f0b3dcb14b CTR_DRBG: more consistent formatting and wording Gilles Peskine 2019-10-03 14:28:17 +02:00
  • 39a9d40f84 Update documentation for the RNG-function Jarno Lamsa 2019-10-03 13:36:06 +03:00
  • 436d18dcaa Prevent a 0-modulus Jarno Lamsa 2019-10-03 11:46:30 +03:00
  • e29e8a49b8 Use MBEDTLS_ENTROPY_HARDWARE_ALT Jarno Lamsa 2019-10-03 11:06:35 +03:00
  • 61f412eb58 Changed every memcmp to SCA equivalent mbedtls_platform_memcmp Teppo Järvelin 2019-10-03 12:25:22 +03:00
  • 51f65e4b86 Standardize prototypes of platform_memcpy/memset Manuel Pégourié-Gonnard 2019-10-02 16:01:14 +02:00
  • 08875d441e CTR_DRBG documentation clarifications Gilles Peskine 2019-09-24 14:40:40 +02:00
  • e3d8cf1966 CTR_DRBG documentation: further wording improvements Gilles Peskine 2019-10-02 19:02:13 +02:00
  • 74692aeb8c Merge remote-tracking branch 'origin/pr/2488' into development Jaeden Amero 2019-10-02 18:01:57 +01:00
  • 230b87a1ea Merge remote-tracking branch 'origin/pr/2843' into development Jaeden Amero 2019-10-02 18:01:32 +01:00
  • 596fdfd6cf CTR_DRBG: Improve the explanation of security strength Gilles Peskine 2019-10-02 19:01:31 +02:00
  • b9cfe58180 DRBG documentation: Relate f_entropy arguments to the entropy module Gilles Peskine 2019-10-02 19:00:57 +02:00
  • b9fc0798d2 Merge remote-tracking branch 'origin/pr/2864' into mbedtls-2.16 Jaeden Amero 2019-10-02 18:00:31 +01:00
  • 97edf5e1e2 Add ChangeLog entry for the DRBG documentation improvements Gilles Peskine 2019-10-02 19:00:29 +02:00
  • 5cc748e58f Merge remote-tracking branch 'origin/pr/2866' into mbedtls-2.7 Jaeden Amero 2019-10-02 18:00:13 +01:00
  • d89173066c HMAC_DRBG documentation improvements Gilles Peskine 2019-10-02 19:00:06 +02:00
  • da5930654e Merge remote-tracking branch 'origin/pr/2578' into mbedtls-2.16 Jaeden Amero 2019-10-02 17:59:28 +01:00
  • b0328ba8a3 Merge remote-tracking branch 'origin/pr/2323' into mbedtls-2.16 Jaeden Amero 2019-10-02 17:57:37 +01:00
  • 2fc6cf5da7 Merge remote-tracking branch 'origin/pr/2704' into mbedtls-2.7 Jaeden Amero 2019-10-02 17:56:38 +01:00
  • eb99c1028f CTR_DRBG: explain the security strength and the entropy input length Gilles Peskine 2019-10-02 18:56:17 +02:00
  • 25e1945321 CTR_DRBG documentation improvements Gilles Peskine 2019-10-02 18:54:20 +02:00