Commit Graph

  • 9454cfa911 Remove unneccesary safety check in test Paul Elliott 2021-09-15 14:21:55 +01:00
  • 6bfd0fbbc6 Convert all uint32_t lengths over to size_t Paul Elliott 2021-09-15 14:15:55 +01:00
  • 5a9642ff28 Correct switched blocks for output sizes Paul Elliott 2021-09-13 19:13:22 +01:00
  • b183d56b5f Use safer size for tag checking Paul Elliott 2021-09-13 19:02:57 +01:00
  • 06b6b8c8d6 Add missing zeroize for sensitive tag data. Paul Elliott 2021-09-13 19:02:04 +01:00
  • 719c1324a1 Add tag buffer size tests to finish buffer tests Paul Elliott 2021-09-13 18:27:22 +01:00
  • e58cb1e0cf Aligh finish_buffer_test vars with PSA standard Paul Elliott 2021-09-10 18:36:00 +01:00
  • 4023ffd275 Re-add option of NULL buffer for nonce tests Paul Elliott 2021-09-10 16:21:22 +01:00
  • e64deda873 Add missing check to multipart decrypt Paul Elliott 2021-09-09 14:07:23 +01:00
  • 08fd463ee4 bugfix: if the len of iv is not 96-bit, y0 can be calculated incorrectly An initialization vector IV can have any number of bits between 1 and 2^64. So it should be filled to the lower 64-bit in the last step when computing ghash. openluopworld 2021-09-19 11:18:04 +08:00
  • 6c8183f0c9 bugfix: if the len of iv is not 96-bit, ghash is used to compute y0. An initialization vector IV can have any number of bits between 1 and 2^64. So it should be filled to the lower 64-bit in the last step when computing ghash. openluopworld 2021-09-17 22:15:49 +08:00
  • 2beb5f302a bugfix: if the len of iv is not 96-bit, ghash is used to compute y0. An initialization vector IV can have any number of bits between 1 and 2^64. So it should be filled to the lower 64-bit in the last step when computing ghash. openluopworld 2021-09-17 16:40:22 +08:00
  • 133740b74e tests: Improve incomplete then overflow tests Ronald Cron 2021-09-17 09:38:07 +02:00
  • 5b1df10470 Update the list of issues fixed Gilles Peskine 2021-09-15 17:04:31 +02:00
  • 184a688d51 Update the list of issues fixed Gilles Peskine 2021-09-15 17:04:31 +02:00
  • 666e3df80b Update the list of issues fixed Gilles Peskine 2021-09-15 17:04:31 +02:00
  • 7a5ab044ca Add tls13 test with everst and ecp restartable Jerry Yu 2021-09-15 19:22:29 +08:00
  • 388bd0d53c fix various issues Jerry Yu 2021-09-15 18:41:02 +08:00
  • 7c847235e8 x86_64 MULADDC assembly: add missing constraints about memory Gilles Peskine 2021-09-14 00:13:05 +02:00
  • d337fbc4cb x86_64 MULADDC assembly: add missing constraints about memory Gilles Peskine 2021-09-14 00:13:05 +02:00
  • c6d977eae5 x86_64 MULADDC assembly: add missing constraints about memory Gilles Peskine 2021-09-14 00:13:05 +02:00
  • dd1fb9e37e add mbedtls_ecdh_setup_no_everest Jerry Yu 2021-09-15 11:10:15 +08:00
  • bdc71888fc Remove restartable and everest from tls1.3 Jerry Yu 2021-09-14 19:30:36 +08:00
  • ff8c80a3ed Remove on-target testing Gilles Peskine 2021-09-14 11:28:22 +02:00
  • cacec723c8 Merge pull request #4938 from gilles-peskine-arm/psa_cipher_update_ecp-unused_parameter Janos Follath 2021-09-13 13:55:38 +01:00
  • d87d87371f Fix the size in bytes Gilles Peskine 2021-09-13 12:20:51 +02:00
  • 1716f32864 psa_cipher_update_ecb: remove parameter output_size Gilles Peskine 2021-09-13 09:36:28 +02:00
  • 55dffe58a0 Document the internal function psa_cipher_update_ecb Gilles Peskine 2021-09-13 09:33:28 +02:00
  • 335aca9c52 fix format issue Jerry Yu 2021-09-12 20:18:56 +08:00
  • 6d342f3e1d Remove dependency of builtin keys on storage Archana 2021-07-14 13:59:48 +05:30
  • 394b9f2d2c Merge pull request #4898 from mstarzyk-mobica/disable_defaults_sha1 Gilles Peskine 2021-09-14 11:10:30 +02:00
  • 2079aa7838 Merge pull request #4939 from gilles-peskine-arm/psa_cipher_update_ecp-unused_parameter-2.x Janos Follath 2021-09-13 13:55:16 +01:00
  • 0390016096 Fix the size in bytes Gilles Peskine 2021-09-13 12:20:51 +02:00
  • a63ba6cd93 psa_cipher_update_ecb: remove parameter output_size Gilles Peskine 2021-09-13 09:36:28 +02:00
  • 7b1c916fe8 Document the internal function psa_cipher_update_ecb Gilles Peskine 2021-09-13 09:33:28 +02:00
  • 78e84e860d Merge pull request #4766 from SiliconLabs/silabs_import_copy_key_opaque Gilles Peskine 2021-09-10 09:13:40 +02:00
  • 72fc69bd40 fix typo error Jerry Yu 2021-09-10 10:23:24 +08:00
  • 9d17bf4215 Styling and refactoring Archana 2021-09-10 06:22:44 +05:30
  • 104f6def2a Fix indentation Gilles Peskine 2021-09-09 20:39:47 +02:00
  • 9a2b6ff8f2 Fix test vector dependency Archana 2021-09-09 12:28:24 +05:30
  • a316b7e42b Rebase and update signature for curve448 tests Archana 2021-09-09 08:45:19 +05:30
  • 74d99c6bfc Add a test to validate copy to read only lifetime Archana 2021-09-08 18:50:20 +05:30
  • 374fe5b8d2 Handle zeroed attributes key bits and type in copy Archana 2021-09-08 15:50:28 +05:30
  • 449608bc61 Code style improvements Archana 2021-09-08 15:36:05 +05:30
  • 8a180368fb Add opaque test driver support for copy key Archana 2021-07-05 02:18:48 +05:30
  • 6ed4bda2c6 pre-existing validation extended Archana 2021-08-04 10:47:15 +05:30
  • 4d7ae1d8cf Add test driver support for opaque key import Archana 2021-07-07 02:50:22 +05:30
  • d8a83dc172 Sizing of key buffer for opaque keys Archana 2021-06-14 10:04:16 +05:30
  • 3b097eb68f psa: Remove psa_key_slot_is_external() Ronald Cron 2021-08-24 18:05:41 +02:00
  • 9b8b69c30a psa: Remove buggy report of RSA public exponent for opaque keys Ronald Cron 2021-08-24 16:00:51 +02:00
  • 512ad81318 psa: Fix slot number key attribute Ronald Cron 2021-08-24 15:50:05 +02:00
  • ddae0f5642 Clarify psa_get_and_lock_transparent_key_slot_with_policy() purpose Ronald Cron 2021-08-24 15:39:44 +02:00
  • 7c522d4941 Remove ecp_c undefine routines Jerry Yu 2021-09-08 17:55:09 +08:00
  • b60e3cf424 fix various issues Jerry Yu 2021-09-08 16:41:02 +08:00
  • ed2ef2d9e0 add client hello msg test Jerry Yu 2021-08-19 18:11:43 +08:00
  • 56fc07f7ae add key_share extension Jerry Yu 2021-09-01 17:48:49 +08:00
  • 7236994aa9 add signature algorithms extension Jerry Yu 2021-08-31 15:41:21 +08:00
  • 6b64fe31ce add supported groups extension Jerry Yu 2021-09-01 17:05:13 +08:00
  • e226cef124 Add NamedGroup IANA values and helper functions Jerry Yu 2021-08-27 22:06:20 +08:00
  • 26f4d15d13 Add key exchange modes helper functions Jerry Yu 2021-08-23 17:42:37 +08:00
  • 7533635e5a Change dummy extension return Jerry Yu 2021-09-01 15:59:36 +08:00
  • 3c28fd3393 Merge pull request #4882 from yuhaoth/pr/add-tls13-client-hello-process Ronald Cron 2021-09-07 17:39:08 +02:00
  • fec982eacc fix coding style issues Jerry Yu 2021-09-07 17:26:06 +08:00
  • 4e388286af fix usage of iteration Jerry Yu 2021-09-06 21:28:08 +08:00
  • bbe09526b7 fix name conversion issues Jerry Yu 2021-09-06 21:17:54 +08:00
  • 7d13539d1b Disable MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE in default config. Mateusz Starzyk 2021-08-27 15:36:47 +02:00
  • b3d344c225 Remove MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES option. Mateusz Starzyk 2021-08-27 14:34:22 +02:00
  • 83e4c1270a Add CCM tests for passing unexpected input. Mateusz Starzyk 2021-09-03 14:07:21 +02:00
  • efec38bb29 Extend CCM corner cases tests. Mateusz Starzyk 2021-09-03 11:59:26 +02:00
  • 5d7f6b1fd5 Remove rendundat ctx->add_len check. Mateusz Starzyk 2021-09-02 15:11:14 +02:00
  • cd975e4645 Extend CCM corner cases tests. Mateusz Starzyk 2021-09-02 13:25:19 +02:00
  • dbfb7bd873 fix various issues Jerry Yu 2021-09-04 09:58:58 +08:00
  • 8c02bb4b71 fix various comment issues Jerry Yu 2021-09-03 21:09:22 +08:00
  • e5d6106071 Extend test in translate_ciphers.py Joe Subbiani 2021-09-03 13:30:44 +01:00
  • 49d57bcf19 Improve indentation according to pylint Joe Subbiani 2021-09-02 18:50:30 +01:00
  • 54110b3b6f Reduce translate_ciphers.py test list Joe Subbiani 2021-09-02 13:02:29 +01:00
  • b0aba9a46e Improve comments to be more accurate Joe Subbiani 2021-08-25 09:56:57 +01:00
  • 1d592cba5c Remove NULL-SHA256 specific to OpenSSL Joe Subbiani 2021-08-13 12:30:28 +01:00
  • 79f5790370 Remove test_translate_format() Joe Subbiani 2021-08-06 09:46:42 +01:00
  • a25ffab422 Integrate tests as unit tests into one file Joe Subbiani 2021-08-06 09:41:27 +01:00
  • f2de374fc1 Remove unused import Joe Subbiani 2021-07-31 11:37:25 +01:00
  • a3d991c3d0 Improve python coding style Joe Subbiani 2021-07-30 17:47:52 +01:00
  • 918ee797ce Improve consitancy and useability Joe Subbiani 2021-07-30 16:57:04 +01:00
  • 439a696903 Improve translation error checking Joe Subbiani 2021-07-29 12:51:09 +01:00
  • c3610baddf Check exit status of translate_ciphers.py Joe Subbiani 2021-07-29 11:35:59 +01:00
  • d614c0b197 Include translate ciphers tests in all.sh Joe Subbiani 2021-07-29 11:18:29 +01:00
  • 3050f054f2 Subtract 1 from input in CCM's incomplete data tests Mateusz Starzyk 2021-09-02 12:38:51 +02:00
  • ef387d79a4 change prototype of write body Jerry Yu 2021-09-02 13:59:41 +08:00
  • 2c0fbf3405 modify proc_chk macros Jerry Yu 2021-09-02 13:53:46 +08:00
  • 0c63af6ed6 fix comment issues Jerry Yu 2021-09-02 12:59:12 +08:00
  • 790656a0a6 fix name conversion issues Jerry Yu 2021-09-01 15:51:48 +08:00
  • 1bc2c1f1a3 fix various issues Jerry Yu 2021-09-01 12:57:29 +08:00
  • f171e836eb fix lenght mismatch error Jerry Yu 2021-08-31 18:31:09 +08:00
  • b7ab336b3a fix format issue Jerry Yu 2021-08-31 16:16:19 +08:00
  • a2cf7bd243 fix comment issues Jerry Yu 2021-08-31 16:12:00 +08:00
  • 6a64310002 Cleanup client_hello body. Jerry Yu 2021-08-31 14:40:36 +08:00
  • 67d4ed5b22 force change state type Jerry Yu 2021-08-31 13:12:43 +08:00
  • 159c5a0e12 fix comments issues Jerry Yu 2021-08-31 12:51:25 +08:00
  • 08906d006b fix name conversion issues Jerry Yu 2021-08-31 11:05:27 +08:00
  • e41dec0158 Rename write signature algorithms function Jerry Yu 2021-08-31 10:57:07 +08:00