Commit Graph

  • d6adcb6146 Add negative LMS import/export tests Raef Coles 2022-10-11 15:34:56 +01:00
  • 810612e14e Update LMS and LMOTS to use TEST_EQUAL Raef Coles 2022-10-11 13:16:53 +01:00
  • 90e13fc3c6 Add repro instructions for LMS test data Raef Coles 2022-10-11 12:48:18 +01:00
  • 0dc604ed2b Change how LMS and LMOTS negative tests work Raef Coles 2022-10-10 17:35:26 +01:00
  • 4829459c90 Validate LMOTS sig length before parsing type Raef Coles 2022-10-10 16:40:00 +01:00
  • 7726678b23 Remove debugging code left in LMOTS tests Raef Coles 2022-10-10 16:11:50 +01:00
  • 3c4ae77fec Improve LMS private context documentation Raef Coles 2022-10-10 15:48:24 +01:00
  • 285d44b180 Capitalize "Merkle" in LMS and LMOTS code Raef Coles 2022-10-10 15:44:17 +01:00
  • faf59babe8 Make LMS verification return VERIFY_FAILED more Raef Coles 2022-10-10 15:40:56 +01:00
  • fbd60ec775 Change LMS and LMOTS init functions to use memset Raef Coles 2022-10-10 15:09:33 +01:00
  • 9b0daf60fb Improve LMS private function warning Raef Coles 2022-10-10 14:25:39 +01:00
  • f6cb5a4826 Fix LMS return statements having incorrect style Raef Coles 2022-10-10 14:15:53 +01:00
  • 75b4c7790e Fix LMS internal function documentation Raef Coles 2022-10-10 13:58:28 +01:00
  • d48f7e90bb Allocate LMS C_RANDOM_VALUE as hash size Raef Coles 2022-10-10 13:10:07 +01:00
  • 1fb2f32ef5 Check LMS offsets are sane at runtime Raef Coles 2022-10-10 11:23:07 +01:00
  • e34e3c0e59 Remove unneeded cast in LMS calloc Raef Coles 2022-10-10 11:11:30 +01:00
  • 370cc43630 Make LMS public key export part of public key api Raef Coles 2022-10-07 16:07:33 +01:00
  • e89488debf Fix bug in LMS public key loading Raef Coles 2022-10-07 16:06:35 +01:00
  • 3f6cdd7aab Fix LMS not checking RNG function return value Raef Coles 2022-10-07 14:07:59 +01:00
  • 02cf8234b4 Fix ots sig length check in LMS validate function Raef Coles 2022-10-07 13:52:47 +01:00
  • f36874a535 Fix error type of lms_import_public_key Raef Coles 2022-10-07 13:39:22 +01:00
  • dc8fb79e09 Simplify LMS private key generation error handling Raef Coles 2022-10-07 13:27:54 +01:00
  • be3bdd8240 Rename LMS and LMOTS init/free functions Raef Coles 2022-10-07 12:04:24 +01:00
  • 29117d2e4e Update LMS PSA error conversion Raef Coles 2022-10-07 11:46:06 +01:00
  • be0c2f9183 Update LMS local variable allocation Raef Coles 2022-10-07 11:27:35 +01:00
  • 2ac352a322 Make LMS functions args const where required Raef Coles 2022-10-07 11:12:27 +01:00
  • f6ddd51bfd Sanitize LMS and LMOTS macros Raef Coles 2022-10-07 10:49:34 +01:00
  • 5127e859d7 Update LMS and LMOTS dependency macros Raef Coles 2022-10-07 10:35:56 +01:00
  • 56fe20a473 Move MBEDTLS_PRIVATE required defines into lms.h Raef Coles 2022-09-28 17:56:39 +01:00
  • ab300f15e8 Move public header content from lmots.h to lms.h Raef Coles 2022-09-28 17:12:41 +01:00
  • b4568c5423 Disable LMS in PSA crypto client test Raef Coles 2022-09-28 17:11:42 +01:00
  • 47bccb7e47 Disable LMS_PRIVATE in all.sh when LMS is disabled Raef Coles 2022-09-28 12:00:20 +01:00
  • a7e03adef5 Disable LMS in all.sh when PSA isn't enabled Raef Coles 2022-09-28 09:32:48 +01:00
  • 0b7da1b787 Fix overflow in LMS context init Raef Coles 2022-09-27 13:45:30 +01:00
  • 98c504373c Update LMS test description Raef Coles 2022-09-27 12:56:34 +01:00
  • 57d5328ad5 Remove MBEDTLS_LM(OT)S prefix from internal macros Raef Coles 2022-09-27 11:30:51 +01:00
  • ad05425ab7 Update naming of internal LMS functions Raef Coles 2022-09-27 10:59:16 +01:00
  • 40158e11fc Add LMOTS test hook to header Raef Coles 2022-09-27 10:23:53 +01:00
  • 403558c1c9 Fix LMS function documentation Raef Coles 2022-09-23 17:03:53 +01:00
  • 3982040232 Fix LMS zeroization using wrong sizeof type Raef Coles 2022-09-23 09:12:54 +01:00
  • 98d6e22050 Remove doxygen markup from internal LMS functions Raef Coles 2022-09-23 09:04:04 +01:00
  • 40f184c83e Cast LMS allocation sizes to size_t Raef Coles 2022-09-22 18:30:33 +01:00
  • 1310ecb389 Update LMOTS function documentation Raef Coles 2022-09-22 15:41:49 +01:00
  • 9c9027b1a4 Add extra LMS and LMOTS tests Raef Coles 2022-09-02 18:26:31 +01:00
  • fa24f9d6ea Minor fixes to LMS and LMOTS macros Raef Coles 2022-09-02 17:46:52 +01:00
  • 0a967ccf9a Document LMS and LMOTS internal functions Raef Coles 2022-09-02 17:46:15 +01:00
  • 8738a49d0c Fix iterator types in LMOTS Raef Coles 2022-09-02 17:13:01 +01:00
  • f5919e2997 Update LMS/LMOTS tests Raef Coles 2022-09-02 16:05:10 +01:00
  • e0a17610d1 Fix LMS/LMOTS if-statement style Raef Coles 2022-09-02 16:04:47 +01:00
  • 9b88ee5d5d Fix LMS and LMOTS coding style violations Raef Coles 2022-09-02 12:04:21 +01:00
  • 366d67d9af Shorted LMS and LMOTS line-lengths Raef Coles 2022-09-01 17:23:12 +01:00
  • e9479a0264 Update LMS API to support multiple parameter sets Raef Coles 2022-09-01 16:06:35 +01:00
  • ab4f87413a Add MBEDTLS_LMS_PRIVATE define Raef Coles 2022-09-01 12:24:31 +01:00
  • ebd35b5b80 Rename LMS internal tree-manipulation functions Raef Coles 2022-09-01 11:52:17 +01:00
  • 891c613f31 Update LMOTS signature use of temporary variables Raef Coles 2022-09-01 11:05:48 +01:00
  • 0c88d4e447 Remove superfluous casts in LMS and LMOTS Raef Coles 2022-09-01 10:48:32 +01:00
  • f5632d3efc Remove MBEDTLS_PRIVATE usage from LMS and LMOTS Raef Coles 2022-09-01 09:56:52 +01:00
  • 01c71a17b3 Update LMS and LMOTS api Raef Coles 2022-08-31 15:55:00 +01:00
  • c8f9604d7b Use PSA hashing for LMS and LMOTS Raef Coles 2022-08-25 13:49:54 +01:00
  • 7dce69a27a Make LMOTS a private api Raef Coles 2022-08-24 14:07:06 +01:00
  • 2ad6e611f0 Update LMS/LMOTS documentation Raef Coles 2022-08-24 13:33:35 +01:00
  • 0aa18e041f Note that LMS sign function is for testing only Raef Coles 2022-06-15 13:05:56 +01:00
  • c464746d45 Document LMS and LMOTS contexts Raef Coles 2022-06-15 12:17:51 +01:00
  • 8ff6df538c Add LMS implementation Raef Coles 2021-07-21 12:42:15 +01:00
  • 02f82bbfa9 Fix MSVC warning Manuel Pégourié-Gonnard 2022-10-13 13:32:02 +02:00
  • f155ab9a91 Abort on errors when we should Manuel Pégourié-Gonnard 2022-10-13 13:11:52 +02:00
  • b63a9ef09f Fix buffer sizes in ecjpake_setup test function Manuel Pégourié-Gonnard 2022-10-06 10:55:19 +02:00
  • 9030a25214 Fix aead driver code (remove redundant brace) Przemek Stekiel 2022-10-13 10:23:58 +02:00
  • 279188f3f3 Merge pull request #6396 from gilles-peskine-arm/platform.h-unconditional-2.28 Gilles Peskine 2022-10-13 10:19:25 +02:00
  • 0fe6631486 Merge pull request #6291 from gilles-peskine-arm/platform.h-unconditional-3.2 Gilles Peskine 2022-10-13 10:19:22 +02:00
  • 28af501cae Fix the ticket_lifetime equal to 0 issue Xiaokang Qian 2022-10-13 08:18:19 +00:00
  • a129babb83 Merge pull request #6412 from mpg/print-failed-suites-2.28 Manuel Pégourié-Gonnard 2022-10-13 09:59:53 +02:00
  • 072fad12d9 Disable MBEDTLS_SSL_TICKET_C in aead driver test. Przemek Stekiel 2022-10-13 09:59:52 +02:00
  • 2aa5af9bec Merge pull request #6403 from mpg/print-failed-suites Manuel Pégourié-Gonnard 2022-10-13 09:59:45 +02:00
  • 39fb1d52d1 Update library/sha3.c Pol Henarejos 2022-10-13 08:29:47 +02:00
  • c9754c3ec1 Merge branch 'Mbed-TLS:development' into sha3 Pol Henarejos 2022-10-13 08:28:13 +02:00
  • 65caa16973 Add changelog entry Przemek Stekiel 2022-10-12 10:11:25 +02:00
  • 0368d36552 Add MBEDTLS_PSA_BUILTIN_AEAD definition Przemek Stekiel 2022-10-13 08:02:53 +02:00
  • 126bf8e4d7 Address some comments Xiaokang Qian 2022-10-13 02:22:40 +00:00
  • 8b53871b47 Improve wording re PSA Crypto API Dave Rodgman 2022-10-12 17:30:04 +01:00
  • 7dbfed3b44 Improve wording re: PSA Crypto Dave Rodgman 2022-10-12 17:27:32 +01:00
  • 4e7892e239 Additional updates to docs links Dave Rodgman 2022-10-12 16:47:08 +01:00
  • b319684bca Additional updates to docs links Dave Rodgman 2022-10-12 16:47:08 +01:00
  • 0db0bd135f Update documentation links Dave Rodgman 2022-10-12 16:27:14 +01:00
  • 7c195160df Update documentation links Dave Rodgman 2022-10-12 16:27:14 +01:00
  • 207b874b5e Merge pull request #6307 from wernerlewis/bignum_test_script_2.28 Gilles Peskine 2022-10-12 17:11:49 +02:00
  • 997669aeeb Fix heap use-after-free corruption issue Xiaokang Qian 2022-10-12 14:30:27 +00:00
  • 307a7303fd Rebase and replace session_negotiate Xiaokang Qian 2022-10-12 11:14:32 +00:00
  • baa4764d77 Fix typo issues Xiaokang Qian 2022-10-12 10:21:27 +00:00
  • 8730644da1 Move ticket and hostname set code just after shallow-copy Xiaokang Qian 2022-10-12 09:47:38 +00:00
  • ed3afcd6c3 Fix various typo and macro guards issues Xiaokang Qian 2022-10-12 08:31:11 +00:00
  • ed0620cb13 Refine code base on comments Xiaokang Qian 2022-10-12 06:58:13 +00:00
  • 03409290d2 Add MBEDTLS_SSL_SESSION_TICKETS guard to server name check Xiaokang Qian 2022-10-12 02:49:52 +00:00
  • d7adc374d3 Refine the server name compare logic Xiaokang Qian 2022-10-11 09:05:11 +00:00
  • a3b451f950 Adress kinds of comments base on review Xiaokang Qian 2022-10-11 06:20:56 +00:00
  • 2f9efd3038 Address comments base on review Xiaokang Qian 2022-10-10 11:24:08 +00:00
  • bc663a0461 Refine code based on commnets Xiaokang Qian 2022-10-09 11:14:39 +00:00
  • adf84a4a8c Remove public api mbedtls_ssl_reset_hostname() Xiaokang Qian 2022-10-09 09:21:22 +00:00
  • 9e8556c655 Enable MBEDTLS_POLY1305_C in test drivers build Przemek Stekiel 2022-10-12 13:02:35 +02:00
  • b771762102 crypto_config_test_driver_extension.h: add support for ChaCha20 - Poly1305 Przemek Stekiel 2022-10-05 08:18:55 +02:00