Commit Graph

  • 6de7a179c8 Fix file permissions Gilles Peskine 2018-06-18 17:51:17 +02:00
  • 781afb4b07 Merge remote-tracking branch 'psa/pr/45' into feature-psa Gilles Peskine 2018-06-18 11:33:43 +02:00
  • aa5aea0bac fix spaces and add braces Nir Sonnenschein 2018-06-18 12:24:33 +03:00
  • e9664c30f0 space and style fixes Nir Sonnenschein 2018-06-17 14:41:30 +03:00
  • 9627241beb change macro PSA_HASH_BLOCK_SIZE to function psa_get_hash_block_size Nir Sonnenschein 2018-06-17 14:41:10 +03:00
  • 5ca6547b77 Renamed hmac_ctx to opad and removed null check. Nir Sonnenschein 2018-06-17 14:03:40 +03:00
  • caec7f0c49 Fix rename issue missed by re-base Nir Sonnenschein 2018-06-14 15:34:50 +03:00
  • d223b52a9a psa_hmac_start: reduce stack usage Gilles Peskine 2018-06-11 18:12:58 +02:00
  • 6a0a44e167 HMAC: clean up local variables containing key material Gilles Peskine 2018-06-11 17:42:48 +02:00
  • c102e3ce4b psa_hmac_start: simplify key_length logic in hash-the-key case Gilles Peskine 2018-06-11 17:38:53 +02:00
  • e1bc6800cc psa_hmac_start: remove useless casts Gilles Peskine 2018-06-11 17:36:05 +02:00
  • 7e454bc19f Split out CMAC and HMAC code into auxiliary functions Gilles Peskine 2018-06-11 17:26:17 +02:00
  • 99bc649760 Normalize whitespace to Mbed TLS standards Gilles Peskine 2018-06-11 17:13:00 +02:00
  • ef057ac8ed Remove dead code Gilles Peskine 2018-06-11 17:11:54 +02:00
  • 084832d65f replace get_block_size_from_hash_algorithm with PSA_HASH_BLOCK_SIZE macro Nir Sonnenschein 2018-06-08 22:52:24 +03:00
  • 9e2ffe83ac change type of hash block to uint8_t Nir Sonnenschein 2018-06-08 22:51:15 +03:00
  • 1e2b046026 adding more test cases for hmac Nir Sonnenschein 2018-06-07 23:45:51 +03:00
  • 35dfbf4601 change hmac context to use statically allocated memory Nir Sonnenschein 2018-06-07 16:20:17 +03:00
  • 0c9ec53a10 remove reliance on md_info context for hash information Nir Sonnenschein 2018-06-07 13:27:47 +03:00
  • eeace0bf7f Code style fix : changed keylen to key_length Nir Sonnenschein 2018-06-05 11:21:07 +03:00
  • 7810be273a Code correction: remove unneeded sizeof Nir Sonnenschein 2018-06-04 17:48:23 +03:00
  • dcd636a73f Commit changes to hmac to not use MD abstraction Nir Sonnenschein 2018-06-04 16:03:32 +03:00
  • 27fbaf7781 Fixed test sign_deterministic, macro PSA_ASYMMETRIC_SIGN_OUTPUT_SIZE itayzafrir 2018-06-12 17:09:28 +03:00
  • 3e02b3b280 On target testing tests adaptation itayzafrir 2018-06-12 17:06:52 +03:00
  • 54a7c620bb Minor style changes Ron Eldor 2018-09-12 14:43:44 +03:00
  • 5a481f1940 Update error.h count for SSL Manuel Pégourié-Gonnard 2018-09-12 12:33:32 +02:00
  • 12e4a8be2a Improve documentation wording and formatting Manuel Pégourié-Gonnard 2018-09-12 10:55:15 +02:00
  • 1c1c20ed4d Fix some whitespace issues Manuel Pégourié-Gonnard 2018-09-12 10:34:43 +02:00
  • ff215726b4 rsa: pss: Use size_t when computing signatures Jaeden Amero 2018-09-11 14:34:21 +01:00
  • 125af948c3 Merge branch 'development-restricted' into iotssl-1260-non-blocking-ecc-restricted Manuel Pégourié-Gonnard 2018-09-11 11:08:12 +02:00
  • 3ccce199a2 Document the behavior change of make apidoc Gilles Peskine 2018-09-10 12:21:04 +02:00
  • b82d09b6a2 Add scripts/apidoc_full.sh Manuel Pégourié-Gonnard 2016-01-12 14:17:52 +00:00
  • 85c379d6d1 Revert changes done to 'make apidoc' target Manuel Pégourié-Gonnard 2016-01-12 13:59:39 +00:00
  • 71d5c58a1f Reverted the INPUT in doxygen to . Simon Butcher 2016-01-12 00:59:15 +00:00
  • b8a78d9112 Exclude more things from doxygen inputs Manuel Pégourié-Gonnard 2016-01-08 16:48:51 +01:00
  • 43e015a4cf Exclude some warnings from the doxygen test Manuel Pégourié-Gonnard 2016-01-08 16:47:33 +01:00
  • dec65c27ee Add new doxygen test to travis Manuel Pégourié-Gonnard 2016-01-04 17:08:31 +01:00
  • 9c81d0101d Add test script for doxygen warnings Manuel Pégourié-Gonnard 2016-01-04 16:49:09 +01:00
  • 5642833345 Fix doxygen warnings about deprecated tags Manuel Pégourié-Gonnard 2016-01-04 16:27:32 +01:00
  • 53546ea099 Update library version number to 2.13.1 mbedtls-2.13.1 Simon Butcher 2018-09-06 19:10:26 +01:00
  • 5d40f67138 Merge remote-tracking branch 'public/pr/1927' into development-restricted Simon Butcher 2018-09-06 16:24:48 +01:00
  • d2ef25478e Don't define _POSIX_C_SOURCE in header file Hanno Becker 2018-09-06 14:53:25 +01:00
  • f5106d54eb Don't declare and define gmtime()-mutex on Windows platforms Hanno Becker 2018-09-06 12:09:56 +01:00
  • 323d8019bf Correct preprocessor guards determining use of gmtime() Hanno Becker 2018-09-06 11:30:57 +01:00
  • 03b2bd4a06 Correct documentation of mbedtls_platform_gmtime_r() Hanno Becker 2018-09-06 09:08:55 +01:00
  • a50fed9910 Correct typo in documentation of mbedtls_platform_gmtime_r() Hanno Becker 2018-09-06 09:08:39 +01:00
  • 6f70581c4a Correct POSIX version check to determine presence of gmtime_r() Hanno Becker 2018-09-06 09:06:33 +01:00
  • c52ef407ba Improve documentation of mbedtls_platform_gmtime_r() Hanno Becker 2018-09-05 16:28:59 +01:00
  • 5215783d56 Add ChangeLog entry Gilles Peskine 2018-08-11 00:51:04 +02:00
  • a7cfdad82e Fix pk_write with an EC key to write a constant-length private value Gilles Peskine 2018-08-11 00:48:44 +02:00
  • e082c18389 pk_write test cases with short/long private key Gilles Peskine 2018-08-11 00:42:21 +02:00
  • 7dd82b4f51 platform_utils.{c/h} -> platform_util.{c/h} Hanno Becker 2018-09-05 16:25:50 +01:00
  • 5a7fe14590 Don't include platform_time.h if !MBEDTLS_HAVE_TIME Hanno Becker 2018-09-05 16:24:34 +01:00
  • 9fbbf1c1f0 Improve wording of documentation of MBEDTLS_PLATFORM_GMTIME_R_ALT Hanno Becker 2018-09-05 16:23:02 +01:00
  • c9468885a8 Fix typo in documentation of MBEDTLS_PLATFORM_GMTIME_R_ALT Hanno Becker 2018-09-05 16:22:10 +01:00
  • 921b76d056 Replace 'thread safe' by 'thread-safe' in the documentation Hanno Becker 2018-09-05 16:21:36 +01:00
  • 9a51d01984 Improve documentation of MBEDTLS_HAVE_TIME_DATE Hanno Becker 2018-09-05 16:20:09 +01:00
  • acef292eac ChangeLog: Add missing renamings gmtime -> gmtime_r Hanno Becker 2018-09-05 16:19:07 +01:00
  • 4e67cca1d9 Improve documentation of MBEDTLS_HAVE_TIME_DATE Hanno Becker 2018-09-05 16:18:38 +01:00
  • 48a816ff26 Minor documentation improvements Hanno Becker 2018-09-05 15:22:22 +01:00
  • 651d586ccf Style: Add missing period in documentation in threading.h Hanno Becker 2018-09-05 15:17:43 +01:00
  • 6a739789f3 Rename mbedtls_platform_gmtime() to mbedtls_platform_gmtime_r() Hanno Becker 2018-09-05 15:06:19 +01:00
  • be2e4bddd5 Guard decl and use of gmtime mutex by HAVE_TIME_DATE and !GMTIME_ALT Hanno Becker 2018-09-05 14:44:31 +01:00
  • 5f95c798a3 Remove another mentioning of IAR from config.h Hanno Becker 2018-09-05 14:36:36 +01:00
  • 272675f4c6 Correct documentation of mbedtls_platform_gmtime() Hanno Becker 2018-09-05 14:03:02 +01:00
  • cfeb70c6b9 gmtime: Remove special treatment for IAR Hanno Becker 2018-09-05 13:50:22 +01:00
  • 94b540ac63 Avoid redefining _POSIX_C_SOURCE Andres Amaya Garcia 2018-09-05 12:27:32 +01:00
  • 45e30201a4 Document that IAR gmtime_s() is auto selected Andres Amaya Garcia 2018-09-05 12:05:59 +01:00
  • 433f911e59 Check for IAR in gmtime macros Andres Amaya Garcia 2018-09-05 12:01:57 +01:00
  • e58088edb9 Clarify docs for MBEDTLS_HAVE_TIME_DATE Andres Amaya Garcia 2018-09-05 11:55:49 +01:00
  • c29c34c1b4 Improve wording of gmtime feature in ChangeLog Andres Amaya Garcia 2018-09-05 11:54:40 +01:00
  • 3c9733a0a3 Fix typo in comment for gmtime macro defines Andres Amaya Garcia 2018-09-05 11:52:07 +01:00
  • 193fe893a6 Add missing _POSIX_C_SOURCE define in threading.h Andres Amaya Garcia 2018-09-05 11:47:33 +01:00
  • ca04a01bb8 Document shorthand gmtime macros Andres Amaya Garcia 2018-09-05 11:43:57 +01:00
  • 8c9a620fb6 Fix missing word in ChangeLog entry for gmtime() Andres Amaya Garcia 2018-09-05 11:30:28 +01:00
  • 209960611f Use gmtime_s() for IAR Andres Amaya Garcia 2018-09-05 11:27:56 +01:00
  • e9b10b21f1 Define _POSIX_C_SOURCE in threading.c before POSIX detection Andres Amaya Garcia 2018-09-05 11:25:30 +01:00
  • c2f948b6c6 Fix grammar in docs for MBEDTLS_HAVE_TIME_DATE Andres Amaya Garcia 2018-09-05 11:21:44 +01:00
  • 423f219bb2 Fixed missing dependencies in psa crypto tests itayzafrir 2018-06-12 17:05:20 +03:00
  • 8605428dcf Merge remote-tracking branch 'psa/pr/27' into feature-psa Gilles Peskine 2018-06-11 21:38:28 +02:00
  • eebd7381bb Rename asymmetric_encrypt to clarify what it does Gilles Peskine 2018-06-08 18:11:54 +02:00
  • c4def2f228 Add input length check in psa_asymmetric_decrypt Gilles Peskine 2018-06-08 17:53:48 +02:00
  • b75e4f1314 Remove ECC boilerplate in asymmetric encrypt/decrypt Gilles Peskine 2018-06-08 17:44:47 +02:00
  • beb4948d10 Add RSA PSS verification (untested) Gilles Peskine 2018-06-08 17:44:35 +02:00
  • 625b01c9c3 Add OAEP placeholders in asymmetric encrypt/decrypt Gilles Peskine 2018-06-08 17:43:16 +02:00
  • 8b18a4fef3 Rename verify_RSA_hash_input_and_get_md_type Gilles Peskine 2018-06-08 16:34:46 +02:00
  • 61b91d4476 Normalize whitespace to Mbed TLS standards Gilles Peskine 2018-06-08 16:09:36 +02:00
  • 1c2a7ea4e2 Allow psa_asymmetric_verify and psa_asymmetric_encrypt to use public key only. Nir Sonnenschein 2018-06-05 15:01:42 +03:00
  • d708260de4 add key policy enforcement implementation Nir Sonnenschein 2018-06-04 16:45:27 +03:00
  • ca466c89b0 Set output length to safe value Nir Sonnenschein 2018-06-04 16:43:12 +03:00
  • c460291714 Re-Add ECC verification code which was not properly merged in re-base. Nir Sonnenschein 2018-06-04 16:42:18 +03:00
  • 4db79eb36b Extract common code Nir Sonnenschein 2018-06-04 16:40:31 +03:00
  • 717a040df5 Remove duplicate / unneeded code Nir Sonnenschein 2018-06-04 16:36:15 +03:00
  • d70bc48630 Fix test output size Nir Sonnenschein 2018-06-04 16:31:13 +03:00
  • 553b8f39e9 Fix test data Nir Sonnenschein 2018-06-04 16:20:59 +03:00
  • 72eca16afe Fix scenario test names Nir Sonnenschein 2018-06-04 16:19:38 +03:00
  • 723feffe15 Fix some errors in PSA_ASYMMETRIC_DECRYPT_OUTPUT_SIZE Gilles Peskine 2018-05-31 20:08:13 +02:00
  • 5b051bc608 Remove trailing whitespace Gilles Peskine 2018-05-31 13:25:48 +02:00
  • ad44f11257 Merge remote-tracking branch 'psa/pr/54' into feature-psa Gilles Peskine 2018-06-11 21:38:22 +02:00
  • 6afe789d4c Finish renaming around PSA_ALG_IS_RSA_PKCS1V15 Gilles Peskine 2018-05-31 13:16:08 +02:00