This website requires JavaScript.
742439e923
[+] missing file
master
Reece Wilson
2022-11-19 01:46:58 +0000
faa62cb90d
[*] merge github/development
Reece Wilson
2022-11-18 16:02:57 +0000
c736e5cd12
[*] Update include
Reece
2021-10-02 14:14:51 +0100
219df8cf56
[*] Use public headers
Reece
2021-02-13 04:03:25 +0000
992c1612af
Platform config + memory wrapper
Reece
2021-01-05 21:58:00 +0000
821d862159
Merge pull request #6624 from xkqian/tls13_disable_early_data_test
Ronald Cron
2022-11-18 14:54:22 +0100
4e83173bb7
Skip early data basic check temp
Xiaokang Qian
2022-11-18 10:57:46 +0000
ba7c006222
Merge pull request #6466 from mprse/driver-only-hash-ci
Manuel Pégourié-Gonnard
2022-11-18 09:31:13 +0100
d12922a69a
Merge pull request #6486 from xkqian/tls13_add_early_data_indication
Ronald Cron
2022-11-17 12:48:50 +0100
85c54ea361
Allow providing space sepatated tasks
Przemek Stekiel
2022-11-17 11:50:23 +0100
e9622ac4ba
Remove the fore_tls13 option case from client side
Xiaokang Qian
2022-11-17 09:23:32 +0000
542d932352
Fix handling of default value for task argument
Przemek Stekiel
2022-11-17 09:43:34 +0100
045158cac3
Merge pull request #6607 from gilles-peskine-arm/negative-zero-from-add-development
Janos Follath
2022-11-16 14:06:16 +0000
6419ab5299
Reduce number of skipped suites (after making configs more similar)
Przemek Stekiel
2022-11-16 12:57:06 +0100
52d8e96ff6
Disable PSA_WANT_ALG_STREAM_CIPHER, PSA_WANT_ALG_ECB_NO_PADDING also in reference config
Przemek Stekiel
2022-11-16 12:55:27 +0100
f3be7ccade
Keep drivers enabled also in reference build
Przemek Stekiel
2022-11-16 12:53:20 +0100
e7bab00825
Update enabled guards for early data cases
Xiaokang Qian
2022-11-16 08:51:01 +0000
0cc4320e16
Add EARLY_DATA guard to the early data extension in session ticket
Xiaokang Qian
2022-11-16 08:43:50 +0000
51c5a8b561
Update ticket flag macros
Xiaokang Qian
2022-11-16 08:32:51 +0000
f3cefb4f4c
Move early data test cases to tls13-misc.sh
Xiaokang Qian
2022-11-16 03:23:46 +0000
2dbfedae4a
Update early data test cases with latest code message
Xiaokang Qian
2022-11-15 10:52:57 +0000
23875ceb11
Fix autocucumber in documentation
Gilles Peskine
2022-11-11 15:59:51 +0100
b9b9026c53
Pacify pylint
Gilles Peskine
2022-11-10 09:15:21 +0100
35af02171d
Add negative zero as an input to automatically generated tests
Gilles Peskine
2022-11-15 20:43:33 +0100
ca6e8aac58
Support negative zero as MPI test input
Gilles Peskine
2022-11-09 21:08:44 +0100
806c9588ef
Changelog entry for the negative zero from add/sub
Gilles Peskine
2022-11-09 22:05:52 +0100
4a768dd17d
Fix negative zero created by (-A) + (+A) or (-A) - (-A)
Gilles Peskine
2022-11-09 22:02:16 +0100
4cbbfd8d4e
For binary operations, test both x op y and y op x
Gilles Peskine
2022-11-09 21:57:52 +0100
128895775d
Document invariants of MPI objects
Gilles Peskine
2022-11-09 21:55:33 +0100
72ee1e3f3c
Unify mbedtls_mpi_add_mpi and mbedtls_mpi_sub_mpi
Gilles Peskine
2022-11-09 21:34:09 +0100
aa88e0b86b
Make configurations (driver, reference) as close as possible
Przemek Stekiel
2022-11-15 13:21:14 +0100
32605b24be
Merge pull request #6559 from ihsinme/patch-1
Gilles Peskine
2022-11-15 12:38:41 +0100
2909f53740
Merge pull request #6604 from tom-cosgrove-arm/call-mbedtls_mpi_mod_modulus_init-first-cid-381893-381894
Gilles Peskine
2022-11-15 12:33:13 +0100
2cd5ce0c6b
Fix various issues cause rebase to latest code
Xiaokang Qian
2022-11-15 10:33:53 +0000
edce0b42fb
Merge pull request #6454 from valeriosetti/issue4577
Manuel Pégourié-Gonnard
2022-11-15 09:39:07 +0100
f90111b2b5
Must call mbedtls_mpi_mod_modulus_init() before anything else in tests
Tom Cosgrove
2022-11-15 06:15:15 +0000
72b9b17e11
Add comments to fix mini format issue
Xiaokang Qian
2022-11-11 06:08:51 +0000
9a0aafbe79
Enable/disable MBEDTLS_SSL_EARLY_DATA for cases in ssl-opt.sh
Xiaokang Qian
2022-11-10 10:45:43 +0000
d3068af2a8
Optimize code (tasks list initialization, task verification)
Przemek Stekiel
2022-11-14 16:15:19 +0100
48e8fc737a
Adding unit test for mbedtls_x509write_csr_set_extension()
Valerio Setti
2022-10-19 15:14:29 +0200
1b9cb62702
Merge pull request #6573 from tom-cosgrove-arm/convert-mpi_mod_int-test-cases-to-hex
Janos Follath
2022-11-14 12:04:09 +0000
4d0ea7f4cc
Merge pull request #6550 from minosgalanakis/minos/6017_add_montgomery_conversion
Janos Follath
2022-11-14 11:12:13 +0000
8b6826d309
Revert "Add fake dependency to test CI"
Przemek Stekiel
2022-11-14 08:33:47 +0100
733c76e08a
Fix style issues pointed by pylint
Przemek Stekiel
2022-11-14 08:33:21 +0100
402bb1ee90
Update documents and check
Xiaokang Qian
2022-11-10 10:38:17 +0000
de95604f6c
Update ticket_flags related macros
Xiaokang Qian
2022-11-10 03:11:54 +0000
fe3483f9a1
Update early data doument and config dependencies
Xiaokang Qian
2022-11-09 10:45:23 +0000
ae07cd995a
Change ticket_flag base on review
Xiaokang Qian
2022-11-09 08:09:47 +0000
2d87a9eeb5
Pend one alert in case wrong EXT_EARLY_DATA length
Xiaokang Qian
2022-11-09 07:55:48 +0000
29ee43c0e1
Update document base on comments
Xiaokang Qian
2022-11-09 07:39:57 +0000
50a47940b6
Update early data test case with gnutls
Xiaokang Qian
2022-11-09 03:58:41 +0000
097771672d
Update early data document and prerequisites check
Xiaokang Qian
2022-11-09 03:46:23 +0000
a042b8406d
Address some format issues
Xiaokang Qian
2022-11-09 01:59:33 +0000
f447e8a8d3
Address comments base on reviews
Xiaokang Qian
2022-11-08 07:02:27 +0000
a341225fd0
Change function name ssl_tls13_early_data_has_valid_ticket
Xiaokang Qian
2022-11-04 10:13:19 +0000
01323a46c6
Add session ticket related check when send early data
Xiaokang Qian
2022-11-03 02:27:35 +0000
b0c32d8b20
Update early data test cases
Xiaokang Qian
2022-11-02 10:51:13 +0000
ecc2948f21
Fix format issues
Xiaokang Qian
2022-11-02 07:52:47 +0000
76332816c7
Define the EARLY_DATA_STATUS
Xiaokang Qian
2022-11-02 07:22:48 +0000
338f727683
Move EARLY_DATA_OFF/ON guard to ssl_misc.h
Xiaokang Qian
2022-11-02 07:18:30 +0000
b781a2323c
Move ssl_tls13_has_configured_ticket() back to tls13 client
Xiaokang Qian
2022-11-01 07:39:46 +0000
893ad81966
Remove useless early_secrets field
Xiaokang Qian
2022-10-31 10:38:10 +0000
911c0cc4f0
Fix format issues in comments
Xiaokang Qian
2022-10-31 09:35:32 +0000
0e97d4d16d
Add early data indication to client side
Xiaokang Qian
2022-10-24 11:12:51 +0000
50de073c84
bignum_mod_raw.py: Added BignumModRawConvertfromMont
Minos Galanakis
2022-11-09 19:36:16 +0000
a252f6b24c
bignum_mod_raw.py: Added BignumModRawConvertToMont
Minos Galanakis
2022-11-09 19:23:53 +0000
aeb8bf2ab0
Merge pull request #6170 from yuhaoth/pr/tls13-cleanup-extensions-parser
Paul Elliott
2022-11-11 19:00:46 +0000
47691fb756
bignum_tests: Refactored mpi_mod_raw_to/fromt_mont_rep
Minos Galanakis
2022-11-10 09:02:51 +0000
df070d660d
bignum_tests: Added test for mbedtls_mpi_mod_raw_from_mont_rep()
Minos Galanakis
2022-11-08 16:19:04 +0000
631b491cbf
bignum_tests: Added test for mbedtls_mpi_mod_raw_to_mont_rep()
Minos Galanakis
2022-11-07 15:53:23 +0000
d9299c388e
bignum_mod_raw: Refactored Montgomery conversion functions
Minos Galanakis
2022-11-01 16:19:07 +0000
5ad4a93596
bignum_mod_raw: Added conversion methods for internal/public data representation
Hanno Becker
2022-08-09 14:45:53 +0100
9f1ecadc40
Merge pull request #6577 from minosgalanakis/minos/add_bignum_more_raw_base_classes
Janos Follath
2022-11-11 10:04:17 +0000
bd2bfa92bd
Add Changelog entry
Aditya Deshpande
2022-11-10 14:07:20 +0000
fd7aa13671
Merge pull request #6436 from yanrayw/ssl_client2-add-build-version
Gilles Peskine
2022-11-10 14:39:38 +0100
163d8952b3
Add additional (would fail) test cases for mpi_mod_int with 0 remainder
Tom Cosgrove
2022-11-10 12:17:36 +0000
9feb19f98d
Use mbedtls_mpi_sint not mbedtls_mpi_uint in mpi_mod_int test
Tom Cosgrove
2022-11-10 12:05:55 +0000
855c228b29
bignum_mod_raw.py: Moved Classes outside of slots
Minos Galanakis
2022-11-10 11:33:25 +0000
5566eff657
generate_bignum_tests: Enabled BignumModRaw automatic generation
Minos Galanakis
2022-11-07 16:02:21 +0000
a461ece810
bignum_mod_raw.py: Refactoring BignumModRawOperation
Minos Galanakis
2022-11-09 12:36:02 +0000
e9c86a100a
bignum_mod_raw.py: Added BignumModRawOperation
Minos Galanakis
2022-11-09 11:46:47 +0000
b4eb444a5c
Merge pull request #6535 from davidhorstmann-arm/change-test-templating-syntax
Gilles Peskine
2022-11-10 12:05:55 +0100
d21ecd71c0
dh_genprime: Fix issue where the error code returned by mbedtls_mpi_write_file() is incorrectly reported on failure
ihsinme
2022-11-08 14:30:45 +0300
9a571ddfd9
Merge pull request #6543 from mpg/improve-test-suites-listing
Gilles Peskine
2022-11-09 19:03:03 +0100
ed4b34aa7c
Merge pull request #6570 from gilles-peskine-arm/bignum-mbedtls_test_read_mpi_core-nonempty
Gilles Peskine
2022-11-09 19:02:24 +0100
360f8e4429
Minor improvements to test code script
David Horstmann
2022-11-09 17:27:33 +0000
97be6a913e
fix various issues
Jerry Yu
2022-11-09 22:43:31 +0800
93986645d8
Remove reference vs drivers test from outcome-analysis.sh
Przemek Stekiel
2022-11-09 15:06:44 +0100
992de3c562
Make TASK parameter positional and allow more than one task
Przemek Stekiel
2022-11-09 13:54:49 +0100
91e35e3c32
Enable mpi_mod_int test case to take full-range MPI integers
Tom Cosgrove
2022-11-09 11:45:29 +0000
be279c7bcc
Make a list from ignored tests in TASKS
Przemek Stekiel
2022-11-09 12:17:08 +0100
51f30ff6e6
Make separate components for ref and driver in TASKS
Przemek Stekiel
2022-11-09 12:07:29 +0100
b9581824f7
Merge pull request #6561 from AndrzejKurek/ecjpake-error-injection
Manuel Pégourié-Gonnard
2022-11-09 11:48:36 +0100
95b5addcd6
Don't test mbedtls_mpi_core_lt_ct with 0 limbs
Gilles Peskine
2022-11-09 11:18:38 +0100
6856f4c70d
Fix typos and comments
Przemek Stekiel
2022-11-09 10:50:29 +0100
0b7e07904e
Forbid empty mpi_core in test data
Gilles Peskine
2022-11-09 10:45:15 +0100
dae43401e1
Merge pull request #6568 from mfischer/development
Gilles Peskine
2022-11-09 10:18:50 +0100
ab45425623
include: mbedtls: Add missing private_access header
Moritz Fischer
2022-11-08 14:55:32 -0800
69ae1ee4fe
Merge pull request #6552 from gstrauss/bignum-aliasing
Gilles Peskine
2022-11-08 17:15:37 +0100
d4bd38ba5d
Merge pull request #6544 from KloolK/development
Gilles Peskine
2022-11-08 17:12:20 +0100
4a480ac5a1
Merge pull request #6265 from Kabbah/x509-info-hwmodulename-hex
Gilles Peskine
2022-11-08 17:11:07 +0100
616ba75c23
move test cases and mark tls13-kex-modes.sh
as locked
Jerry Yu
2022-11-08 21:49:47 +0800
7de2ff0310
Refactor extension list print
Jerry Yu
2022-11-08 21:43:46 +0800
79aa721ade
Rename ext print function and macro
Jerry Yu
2022-11-08 21:30:21 +0800
b95dd3683b
Add missing mask set and tls13 unrecognized extension
Jerry Yu
2022-11-08 21:19:34 +0800
c018204019
Improve error injection in EC J-PAKE tests
Andrzej Kurek
2022-11-08 08:12:56 -0500
c437ee3bac
fix wrong return value
Jerry Yu
2022-11-08 21:04:15 +0800
ea52ed91cf
fix typo and spell issues
Jerry Yu
2022-11-08 21:01:17 +0800
42d75f2daf
Merge pull request #6013 from gstrauss/asn1-type-free
Gilles Peskine
2022-11-08 12:20:20 +0100
433f1f1809
Merge pull request #6456 from gabor-mezei-arm/6237_test_update_cond_assign_swap
Gilles Peskine
2022-11-08 12:15:07 +0100
ae2635df6f
Merge pull request #6306 from tom-cosgrove-arm/issue-6305-fix
Dave Rodgman
2022-11-08 10:54:17 +0000
e5991328ff
fix tls13 psk only test fail
Jerry Yu
2022-11-07 14:03:44 +0800
0750d08601
Add comments for some forbidden aliasing in bignum
Glenn Strauss
2022-11-08 02:25:01 -0500
2a64299648
Update tests/suites/test_suite_asn1parse.function
Glenn Strauss
2022-11-07 20:09:38 -0500
aa36c2a6f6
Update tests/suites/test_suite_asn1parse.function
Glenn Strauss
2022-11-07 20:08:54 -0500
82ba274c01
Deprecate mbedtls_asn1_free_named_data()
Glenn Strauss
2022-11-04 04:01:23 -0400
faefe62013
Merge pull request #6390 from mpg/fix-ecjpake-psa-format
Gilles Peskine
2022-11-07 17:35:44 +0100
bf249accc7
Merge pull request #6498 from yuhaoth/pr/fix-session-resumption-fail-when-hostname-is-not-localhost
Gilles Peskine
2022-11-07 17:33:38 +0100
f869bfdfef
Fix outdated reference in debug message
Jan Bruckner
2022-11-07 15:28:49 +0100
34c09469f3
Merge pull request #5396 from SiliconLabs/codegen_1.1
Gilles Peskine
2022-11-07 15:27:41 +0100
a8cf998bc9
Let the allocated memory visible for the memory sanitizer
Gabor Mezei
2022-10-20 12:27:36 +0200
7ba7b3aded
Update tests to use mbedtls_test_read_mpi_core
Gabor Mezei
2022-10-19 17:22:15 +0200
38860e2f19
Improve test suite detection in run-test-suites.pl
Manuel Pégourié-Gonnard
2022-11-07 10:05:49 +0100
f467d46bbb
move get_srv_psk_list
Jerry Yu
2022-11-07 13:12:44 +0800
50e00e3ac6
Refactor server hello
Jerry Yu
2022-10-31 14:45:01 +0800
edab637b51
Refactor new session ticket
Jerry Yu
2022-10-31 14:37:31 +0800
0d5cfb7703
Refactor Certificate
Jerry Yu
2022-10-31 14:15:48 +0800
6d0e78ba22
Refactor certificate request
Jerry Yu
2022-10-31 14:13:25 +0800
9eba750916
Refactor encrypted extensions
Jerry Yu
2022-10-31 13:46:16 +0800
63a459cde5
Refactor client_hello parser and writer
Jerry Yu
2022-10-31 13:38:40 +0800
4b8f2f7266
Refactor sent extension message output
Jerry Yu
2022-10-31 13:31:22 +0800
d25cab0327
Refactor debug helpers for exts and hs message
Jerry Yu
2022-10-31 12:48:30 +0800
b85838f2f4
Change test templating syntax to be valid C
David Horstmann
2022-11-03 17:49:29 +0000
49e9fbd6bc
Merge pull request #6532 from yanesca/bignum_common_merge_slots
Janos Follath
2022-11-04 08:37:07 +0000
f8b3b72910
Add merge slots to bignum_common.py
Janos Follath
2022-11-03 14:46:18 +0000
4feb94a965
Merge pull request #6530 from yanesca/bignum_merge_scaffolding
Janos Follath
2022-11-03 11:29:32 +0000
9b656d3c80
removed stray whitespaces from change logs
Asfandyar Orakzai
2022-11-03 11:39:36 +0100
65cd8a4a23
fixed formating issues in psa_crypto_code_gen_1_1.txt
Asfandyar Orakzai
2022-11-03 11:16:40 +0100
4f63ac4358
fixed changelog formating
Asfandyar Orakzai
2022-11-03 10:18:05 +0100
d820ca5d07
Fix bignum test generator class names
Janos Follath
2022-11-03 08:42:54 +0000
ee2b637d03
Fixed change log issue
Asfandyar Orakzai
2022-11-02 21:50:27 +0100
c1a81bc998
Remove trailing new lines
Janos Follath
2022-11-02 17:33:11 +0000
9cf14cd6b0
Make pylint happy
Janos Follath
2022-11-02 16:15:25 +0000
6642cafae3
Fix merge separator position
Janos Follath
2022-11-02 16:14:08 +0000
be13652296
Use comments for merge separators in .data files
Janos Follath
2022-11-02 15:12:04 +0000
1be322a795
Add merge slots to raw and mod_raw test generation
Janos Follath
2022-11-02 14:46:23 +0000
b99b056f0a
Add script for generating mod test cases
Janos Follath
2022-11-02 14:44:08 +0000
df8239b846
Add script for generating mod_raw test cases
Janos Follath
2022-11-02 14:40:58 +0000
5933f691a2
Add merge slots to Bignum files
Janos Follath
2022-11-02 14:35:17 +0000
2a8bcf8c6f
Add bignum merge scaffolding
Janos Follath
2022-11-02 10:47:30 +0000
7b96f52b39
Merge pull request #6450 from gilles-peskine-arm/bignum-core-fill_random
Janos Follath
2022-11-02 17:23:31 +0000
9bd28dc1e1
Update changed log
Asfandyar Orakzai
2022-11-02 16:36:14 +0100
22cdd0ccd3
Update some internal comments
Gilles Peskine
2022-10-27 20:15:13 +0200
dd54324765
Increase iterations for some statistical tests
Gilles Peskine
2022-09-20 23:07:23 +0200
009d195a56
Move mbedtls_mpi_core_fill_random to the proper .c file
Gilles Peskine
2022-09-09 21:00:00 +0200
5980f2bd36
Implement mbedtls_mpi_core_fill_random
Gilles Peskine
2022-09-09 20:55:53 +0200
909e03c52f
Bignum core: fill_random: prototype
Gilles Peskine
2022-10-18 18:14:33 +0200
f1ed5815ba
Merge pull request #6512 from yanesca/extract_uint_table_lookup_core
Janos Follath
2022-11-02 13:58:19 +0000
df0ad658a3
tls13: Add allowed extesions constants.
Jerry Yu
2022-10-31 13:20:57 +0800
90c6836271
Merge pull request #6524 from daverodgman/fix-duplicate-header
Dave Rodgman
2022-11-02 13:06:08 +0000
ea63f69303
Merge pull request #6514 from daverodgman/update_pr_template
Dave Rodgman
2022-11-02 13:05:09 +0000
28f85e6683
Fix const time in mpi_core_ct_uint_table_lookup test
Janos Follath
2022-11-02 09:51:02 +0000
340846ec7e
Merge pull request #6515 from daverodgman/psalinks
Dave Rodgman
2022-11-02 10:02:19 +0000
0877dc8f55
Improve documentation for psa_crypto_cipher.h
Dave Rodgman
2022-11-02 09:29:35 +0000
1630447eed
Move declaration of mbedtls_cipher_info_from_psa into psa_crypto_cipher.h
Dave Rodgman
2022-11-02 09:25:38 +0000
5f8dfb5393
Merge pull request #6521 from daverodgman/fix_ssl_zeroize
Dave Rodgman
2022-11-01 20:50:38 +0000
b256640d72
Improve list formatting
Dave Rodgman
2022-11-01 20:40:48 +0000
f3928fb3e0
Reinstate note about all PRs receiving review
Dave Rodgman
2022-11-01 20:39:04 +0000
ba864848e7
Remove duplicate function prototype
Dave Rodgman
2022-11-01 16:40:40 +0000
5875f5f96b
Add Changelog
Dave Rodgman
2022-11-01 16:27:14 +0000
29b9b2b699
Fix zeroization at NULL pointer
Dave Rodgman
2022-11-01 16:08:14 +0000
8904a2db29
mpi_core_ct_uint_table_lookup: style and docs
Janos Follath
2022-10-31 15:32:28 +0000
119e5d7a6b
Update CONTRIBUTING.md, and refer to this from the template
Dave Rodgman
2022-10-31 15:57:31 +0000
12cee78ea7
Update PSA links in README.md
Dave Rodgman
2022-10-31 15:34:11 +0000
ef67d38bc0
Fix memory leak in mpi_core_ct_uint_table_lookup test
Janos Follath
2022-10-31 15:11:49 +0000
3d973314b2
Update PR template
Dave Rodgman
2022-10-31 14:54:24 +0000
88e3177fcc
Make pylint happy
Janos Follath
2022-10-31 14:32:46 +0000
e8734d8a55
Apply suggestions from code review
Dave Rodgman
2022-10-31 14:30:24 +0000
55fd0b9fc1
Merge pull request #6121 from daverodgman/pr277
Dave Rodgman
2022-10-31 13:27:49 +0000
7d8b3c9342
Merge pull request #6510 from gilles-peskine-arm/all.sh-simplify-20221028-development
Dave Rodgman
2022-10-31 12:00:18 +0000
133f4e427b
Test mpi_core_table_lookup for constant timeness
Janos Follath
2022-10-28 10:54:46 +0100
032924f297
Add mbedtls_mpi_core_ct_uint_table_lookup tests
Janos Follath
2022-10-26 19:10:29 +0100
e50f2f1a8e
Add mbedtls_mpi_core_ct_uint_table_lookup
Janos Follath
2022-10-26 15:14:33 +0100
2dc2757cca
Merge pull request #6457 from minosgalanakis/minos/6017_update_modulus_lifecycle
Janos Follath
2022-10-31 11:28:37 +0000
1a22bef116
Merge pull request #6190 from daverodgman/invalid-ecdsa-pubkey
Dave Rodgman
2022-10-31 09:37:26 +0000
7a485c1fdf
Add ext id and utilities
Jerry Yu
2022-10-31 13:08:18 +0800
c4bf5d658e
fix various issues
Jerry Yu
2022-10-29 09:08:47 +0800
03112ae022
change input extension_type
Jerry Yu
2022-08-30 16:27:17 +0800
0c354a211b
introduce sent/recv extensions field
Jerry Yu
2022-08-29 15:25:36 +0800
ffa1582793
move get_extension mask
Jerry Yu
2022-08-29 15:19:42 +0800
9872eb2d69
change return type for unexpected extension
Jerry Yu
2022-08-29 13:42:01 +0800
43ff252688
Remove unnecessary checks.
Jerry Yu
2022-08-29 12:58:05 +0800
d15992d3ce
fix wrong setting of unrecognized ext
Jerry Yu
2022-08-29 10:58:31 +0800
6ba9f1c959
Add extension check for NewSessionTicket
Jerry Yu
2022-08-04 17:53:25 +0800
2c5363e58b
Add extension check for ServerHello and HRR
Jerry Yu
2022-08-04 17:42:49 +0800
2eaa76044b
Add extension check for Certificate
Jerry Yu
2022-08-04 17:28:15 +0800
c55a6af9eb
Add extensions check for CertificateRequest
Jerry Yu
2022-08-04 17:01:21 +0800
cbd082f396
Add extension check for EncryptedExtensions
Jerry Yu
2022-08-04 16:55:10 +0800
e18dc7eb9a
Add forbidden extensions check for ClientHello
Jerry Yu
2022-08-04 16:29:22 +0800
471dee5a12
Add debug helpers to track extensions
Jerry Yu
2022-08-04 16:33:14 +0800
da6017cbe3
Group cpp_dummy_build test into an existing component
Gilles Peskine
2022-10-30 21:02:40 +0100
12f5c6b2bc
Add changelog entry
Jerry Yu
2022-10-30 14:24:07 +0800
def7ae4404
Add auth mode check
Jerry Yu
2022-10-30 14:13:19 +0800
2883219edb
Improve output message
Jerry Yu
2022-10-30 13:53:31 +0800
78e06a1054
Remove redundant TLS 1.3 components
Gilles Peskine
2022-10-29 17:55:11 +0200
8a4fd0e7a9
Remove redundant build-only driver interface component
Gilles Peskine
2022-10-29 17:51:19 +0200
4bb369c4eb
Always enable MBEDTLS_TEST_HOOKS in TLS 1.3-only test configurations
Gilles Peskine
2022-10-29 17:44:19 +0200
7db3124c00
Skip asn1 zeroize if freeing shallow pointers
Glenn Strauss
2022-07-01 13:22:45 -0400
a4b4041219
Shared code to free x509 structs
Glenn Strauss
2022-06-26 19:32:09 -0400
b3166f4b2f
Update Changelog
Dave Rodgman
2022-10-28 11:39:04 +0100
d7dfc0922e
Update Changelog
Dave Rodgman
2022-10-28 11:38:05 +0100
169ae4f528
Add Changelog entry
Dave Rodgman
2022-10-28 11:24:29 +0100
04e2133f45
Merge pull request #6482 from ronald-cron-arm/tls13-misc
Ronald Cron
2022-10-28 11:09:03 +0200
f00466e2e0
Build fix - remove line of dead code
Dave Rodgman
2022-10-28 09:22:28 +0100
c3a7fa386e
Update output message when certification verified fail
Jerry Yu
2022-10-28 12:38:33 +0800
ad9e99bd2e
fix session resumption fail when hostname is not localhost
Jerry Yu
2022-10-28 12:18:52 +0800
eaf46d1291
Add output of build version in ssl_server2
Yanray Wang
2022-10-28 10:38:37 +0800
84645e92c6
Simplify code of adding output in ssl_client2
Yanray Wang
2022-10-27 10:17:09 +0800
0c61a749b7
test_suite_bignum_mod_raw: Removed parameter for mbedtls_mpi_mod_modulus_setup()
Minos Galanakis
2022-10-27 18:20:33 +0100
ce48c92c6c
Credit Cryptofuzz in the changelog
Dave Rodgman
2022-10-27 20:36:47 +0100
5d13e5e568
Improve changelog for ECDSA verify fix
Dave Rodgman
2022-10-27 20:34:21 +0100
683850b416
Update tests/suites/test_suite_ecdsa.function
Dave Rodgman
2022-10-27 20:24:46 +0100
cd7fe3ee14
Merge pull request #6487 from gilles-peskine-arm/legacy_or_psa-internal
Dave Rodgman
2022-10-27 20:21:43 +0100
75c4eaf1f8
Merge pull request #5841 from aurel32/ecp_mul_mxz-timing-leak
Gilles Peskine
2022-10-27 19:46:48 +0200
4d4c98b1b9
bignum_mod: mbedtls_mpi_mod_modulus_setup()
refactoring.
Minos Galanakis
2022-10-27 15:58:02 +0100
66e05505b6
Support generating DER format certificates
Dave Rodgman
2022-10-27 16:29:38 +0100
a380b06c26
Add fake dependency to test CI
Przemek Stekiel
2022-10-27 14:15:26 +0200
771c47055f
bignum_mod: Style changes
Minos Galanakis
2022-10-27 12:22:22 +0100
dd365a526f
test_suite_bignum: Updated mpi_mod_setup()
test
Minos Galanakis
2022-10-19 01:48:32 +0100
8b33363315
bignum_mod: Updated modulus lifecycle with mm and rr.
Minos Galanakis
2022-10-11 11:28:24 +0100
760f5d6b6b
bignum_mod: Updated mbedtls_mpi_mod_modulus_setup/free with new fields
Minos Galanakis
2022-08-11 12:21:09 +0100
cd860dfe02
bignum_mod: Added Montgomery constants
Hanno Becker
2022-08-18 16:23:05 +0100
9603daddaa
Merge pull request #6230 from tom-cosgrove-arm/issue-6223-core-add
Gilles Peskine
2022-10-27 11:25:27 +0200
77e15e8a2c
Merge pull request #6460 from xkqian/tls13_add_early_data_preparatory
Ronald Cron
2022-10-27 10:40:56 +0200
120ed8f8fa
Add comments to explan the purpose of the reference component
Przemek Stekiel
2022-10-27 10:29:15 +0200
5f6f32a0ad
Remove hidden option to skip ssl-opt and compat tests
Przemek Stekiel
2022-10-27 08:24:43 +0200
88f5fd9099
Merge pull request #6479 from AndrzejKurek/depends-py-no-psa
Gilles Peskine
2022-10-26 20:02:57 +0200
3a9ebd69c3
Declare legacy_or_psa.h as private
Gilles Peskine
2022-10-26 18:03:14 +0200
49540ac529
Move copyright notice out of the Doxygen documentation
Gilles Peskine
2022-10-26 18:02:56 +0200
4d13c833da
analyze_outcomes.py: remove components and ignore parameters
Przemek Stekiel
2022-10-26 16:11:26 +0200
85b9e09525
Add change log
Ronald Cron
2022-10-24 19:08:59 +0200
c9176a03a7
Merge pull request #6410 from gilles-peskine-arm/psa-pkparse-pkwrite-3.2
Ronald Cron
2022-10-26 14:57:36 +0200
d4d080b41b
Merge pull request #6407 from minosgalanakis/minos/6017_add_montgomery_constant_squared
Gilles Peskine
2022-10-26 14:28:16 +0200
4f7feca0dc
Merge pull request #6391 from davidhorstmann-arm/fix-x509-get-name-cleanup
Ronald Cron
2022-10-26 14:27:54 +0200
29c002ebdf
Remove unused perl dependency scripts
Andrzej Kurek
2022-10-24 10:59:55 -0400
7cb0077c5d
Add all.sh components running depends.py without MBEDTLS_USE_PSA_CRYPTO
Andrzej Kurek
2022-10-24 10:49:22 -0400
3e0ea98b7c
Merge pull request #6451 from mpg/fix-can-exercise
Manuel Pégourié-Gonnard
2022-10-26 10:18:52 +0200
72dbfef6e4
Improve coding styles
Xiaokang Qian
2022-10-26 06:33:57 +0000
4ef4c89af2
Fix CI failure in build_info.h
Xiaokang Qian
2022-10-25 13:39:16 +0000
b06f0717b3
PSA service config build: disable more modules not used by PSA
Gilles Peskine
2022-10-25 21:06:11 +0200
649e04e3d1
PSA service config build: note why we aren't disabling cipher and md
Gilles Peskine
2022-10-25 21:05:57 +0200
1f10807837
Disable pk in the PSA service config build
Gilles Peskine
2022-10-25 21:02:56 +0200
78bffd1ff5
Fix spelling of a disabled option
Gilles Peskine
2022-10-25 21:02:33 +0200
93dcb1ba8d
Update TLS 1.3 support document
Ronald Cron
2022-10-03 12:02:17 +0200
eac00ad2a6
tls13: server: Note down client not being authenticated in SSL context
Ronald Cron
2022-09-13 10:16:31 +0200
744fd37d23
Merge pull request #6467 from davidhorstmann-arm/fix-unusual-macros-0
Gilles Peskine
2022-10-25 19:55:29 +0200
a709a0f2c6
tls13: Declare PSK ephemeral key exchange mode first
Ronald Cron
2022-09-27 16:46:11 +0200
93003d87a9
Split out testing of core_add and core_add_if per Janos' request
Tom Cosgrove
2022-10-25 17:01:19 +0100
37ca3a9acd
Moved tests from test_suite_bignum to test_suite_bignum_core
Minos Galanakis
2022-10-25 15:59:09 +0100
dd0c8f9c26
tls13-kex-modes.sh: Remove unnecessary GnuTLS option
Ronald Cron
2022-10-25 17:35:29 +0200
6469fdfb0a
Fix whitespace issue spotted in review
Tom Cosgrove
2022-10-25 12:46:13 +0100
82f131063a
Update documentation following review comment
Tom Cosgrove
2022-10-25 12:46:03 +0100
eee0d6ce6b
Extend the unit tests for mbedtls_mpi_core_add_if() to also test mbedtls_mpi_core_add()
Tom Cosgrove
2022-10-25 12:45:50 +0100
af7d44b4d2
Tidy up, remove MPI_CORE(), apply the naming convention, and use the new mbedtls_mpi_core_add()
Tom Cosgrove
2022-08-24 14:05:26 +0100
c98871339d
Extract MPI_CORE(add) from the prototype
Hanno Becker
2022-08-24 12:54:36 +0100
a081c51cd3
Renamed mpi_core_get_mont_R2_unsafe_neg -> mpi_core_get_mont_r2_unsafe_neg
Minos Galanakis
2022-10-24 12:16:28 +0100
51d638baf6
bignum_core: Style update
Minos Galanakis
2022-10-24 09:59:44 +0100
ae4fb671b4
mbedtls_mpi_core_get_mont_R2_unsafe: Removed NULL input checking
Minos Galanakis
2022-10-20 10:47:26 +0100
e1913a8da8
test_suite_bignum: Updated test cases for mbedtls_mpi_core_get_mont_R2_unsafe
Minos Galanakis
2022-10-20 10:44:40 +0100
b9243ef231
test_suite_bignum: Fixed whitespace issues
Minos Galanakis
2022-10-20 10:06:16 +0100
b85506e250
bignum_core.h: Comment update for mbedtls_mpi_core_get_mont_R2_unsafe
Minos Galanakis
2022-10-20 09:51:53 +0100
4f43f61c6a
Renamed mbedtls_mpi_get_montgomery_constant_unsafe to mpi_core_get_mont_R2_unsafe
Minos Galanakis
2022-10-20 09:46:59 +0100
1a1b175554
test_suite_bignum: Added tests for mpi_get_montgomery_constant_unsafe()
Minos Galanakis
2022-10-10 14:50:06 +0100
ec440f2397
bignum_mod_raw: Ported mbedtls_mpi_get_montgomery_constant_unsafe from prototype
Hanno Becker
2022-08-11 17:29:32 +0100
383b0bbea0
Merge pull request #6461 from tom-cosgrove-arm/fix-mbedtls_mpi_mod_modulus_init-calls-in-tests
Gilles Peskine
2022-10-25 13:40:17 +0200
3a334c2edc
Minor improvements to ssl_tls12_server.c
David Horstmann
2022-10-25 10:53:44 +0100
7aee0ec0ba
Minor improvements in ssl_client.c
David Horstmann
2022-10-25 10:38:25 +0100
6e11687ba5
Minor improvements to ecp.c changes
David Horstmann
2022-10-25 10:32:08 +0100
9b0eb90131
Rename ARIA_SELF_TEST_IF_FAIL
David Horstmann
2022-10-25 10:23:34 +0100
059848ff23
Minor changes to asn1write.c
David Horstmann
2022-10-25 10:16:45 +0100
65fc0de894
Improve the prerequisites for early data
Xiaokang Qian
2022-10-25 09:08:57 +0000
e5a715e8c0
Merge pull request #6449 from gilles-peskine-arm/bignum-core-shift_r
Gilles Peskine
2022-10-25 10:40:39 +0200
af8ea3f738
Merge pull request #6468 from gilles-peskine-arm/bignum-test-suite-names
Gilles Peskine
2022-10-25 10:40:29 +0200
d69d06fffa
Improve format issue
Xiaokang Qian
2022-10-25 06:51:25 +0000
95a0730f17
Change prerequisites of MBEDTLS_SSL_EARLY_DATA and add related check
Xiaokang Qian
2022-10-25 02:56:00 +0000
72de95dcf5
Move function mbedtls_ssl_tls13_conf_early_data to ssl_tls.c
Xiaokang Qian
2022-10-25 02:54:33 +0000
600804b0e7
Remove useless early data related macros for the time being
Xiaokang Qian
2022-10-20 09:22:38 +0000
54413b10c2
Add early data support preparatory work
Xiaokang Qian
2022-10-20 05:57:03 +0000
2c7993c456
depends.py: add a config option to unset MBEDTLS_USE_PSA
Andrzej Kurek
2022-10-24 10:41:20 -0400
409248a73a
mbedtls_ssl_get_handshake_transcript is unusable without hashes
Andrzej Kurek
2022-10-24 10:33:21 -0400
57d1063db9
Fix tls_prf generic dependencies
Andrzej Kurek
2022-10-24 10:32:01 -0400
468c50656e
Fix key exchange dependencies for ssl_parse_server_ecdh_params
Andrzej Kurek
2022-10-24 10:30:14 -0400
2012361ae6
Merge pull request #6448 from ronald-cron-arm/tls13-kex-build-options
Ronald Cron
2022-10-24 15:21:37 +0200
3f44e5b11a
Refactor macro-spanning if in ssl_server2.c
David Horstmann
2022-10-24 13:12:19 +0100
f160ef1dd1
Refactor macro-spanning if in ssl_client2.c
David Horstmann
2022-10-24 13:11:38 +0100
ab0451bc2c
Fix build command in test_psa_crypto_config_reference_hash_use_psa
Przemek Stekiel
2022-10-24 11:29:35 +0200
72ef7c0390
Merge pull request #6463 from AndrzejKurek/fix-crypo-typo
Manuel Pégourié-Gonnard
2022-10-24 11:06:22 +0200
4c89542086
Merge pull request #6465 from mpg/pr-template-changelog
Manuel Pégourié-Gonnard
2022-10-24 10:46:31 +0200
c86dedfdc1
Fix code style
Przemek Stekiel
2022-10-24 09:16:04 +0200
58bbc23ca3
Use coverage analyze as default task
Przemek Stekiel
2022-10-24 08:10:10 +0200
7f9ddb584a
Merge branch 'Mbed-TLS:development' into ssl_client2-add-build-version
Yanray Wang
2022-10-24 12:19:39 +0800
454eb9172d
ssl-opt.sh: Fix list of TLS 1.2 key exchanges with cert
Ronald Cron
2022-10-21 08:56:04 +0200
10bf956334
tls13: Fix documentation
Ronald Cron
2022-10-21 08:51:33 +0200
083da8eb53
tls13: client: Improve coding style
Ronald Cron
2022-10-20 15:53:51 +0200
70ed41754d
ssl-opt.sh: Simplify TLS 1.3 dependencies
Ronald Cron
2022-10-20 15:48:19 +0200
5de538c9dd
ssl-opt.sh: Remove requires_key_exchange_with_cert_in_tls12_enabled
Ronald Cron
2022-10-20 14:47:56 +0200
a2900bcd1e
tls13: keys: Simplify code guard
Ronald Cron
2022-10-20 14:37:35 +0200
9810b6d0b7
Fix kex config options documentation in tls13-support.md
Ronald Cron
2022-10-20 14:22:45 +0200
c3f43b663e
all.sh: Add components testing TLS 1.3 kex partial enablement
Ronald Cron
2022-10-17 17:35:32 +0200
571f1ff6dc
Make sure TLS 1.2 kex macros are undefined in builds without TLS 1.2
Ronald Cron
2022-10-04 09:33:27 +0200
8328113cad
ssl-opt.sh: Fix some test checks for ephemeral only kex build
Ronald Cron
2022-10-18 09:37:39 +0200
766c0cdb1f
tls13: Add missing kex guards
Ronald Cron
2022-10-18 12:17:11 +0200
82be0d4b4d
tls13: Do not use MBEDTLS_KEY_EXCHANGE_SOME_ECDHE_ENABLED
Ronald Cron
2022-10-04 17:25:34 +0200
de08cf3543
tls13: Do not use MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
Ronald Cron
2022-10-04 17:15:35 +0200
59625848e6
ssl-opt.sh: TLS 1.3 kex: Use MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_*ENABLED
Ronald Cron
2022-10-17 10:36:34 +0200
73fe8df922
Introduce and use MBEDTLS_SSL_HANDSHAKE_WITH_PSK_ENABLED
Ronald Cron
2022-10-05 14:31:43 +0200
e68ab4f55e
Introduce and use MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED
Ronald Cron
2022-10-05 12:46:29 +0200
41a443a68d
tls13: Use MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK.*ENABLED
Ronald Cron
2022-10-04 16:38:25 +0200
928cbd34e7
tls13: Use MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
Ronald Cron
2022-10-04 16:14:26 +0200
d8d2ea5674
Add TLS 1.3 key exchange mode config options
Ronald Cron
2022-10-04 15:48:06 +0200
ba970be142
Fix test dependencies for cases that are PSA-based
Andrzej Kurek
2022-10-21 13:39:00 -0400
fc4f11b5d0
Improve test component name
Gilles Peskine
2022-10-21 19:34:54 +0200
a020d535ad
Avoid having both test_suite_XXX.data and test_suite_XXX.*.data
Gilles Peskine
2022-10-21 19:00:38 +0200
42832bd406
Don't use test_suite_mpi as an example
Gilles Peskine
2022-10-21 18:56:47 +0200
ce22066211
Rename test_suite_bignum for consistency with bignum.{h,c}
Gilles Peskine
2022-10-21 18:54:43 +0200
abc6fbb8d7
Fix brief description
Gilles Peskine
2022-10-21 18:36:08 +0200
ed05279e4f
Comment fix
Andrzej Kurek
2022-10-21 05:37:54 -0400
d066c79d7e
Add missing ECB requirements for PSA cipher aes tests
Andrzej Kurek
2022-10-21 05:29:08 -0400
8f26c8a0cf
Fix a typo in test_suite_cipher
Andrzej Kurek
2022-10-20 05:19:47 -0400
89ca977128
ssl-opt.sh: Improve dependencies of some TLS 1.3 test cases
Ronald Cron
2022-10-17 14:56:45 +0200
bc5adf4ef8
ssl-opt.sh: Add dependencies on handshake with cert
Ronald Cron
2022-10-04 11:06:14 +0200
2ea36af693
ssl-opt.sh: TLS 1.3 kex: Do not use sig_algs if no cert
Ronald Cron
2022-10-17 09:37:16 +0200
81cd7ab492
tests: ssl: Add missing dependency on MBEDTLS_X509_CRT_PARSE_C
Ronald Cron
2022-10-18 12:15:27 +0200
f64cc03b09
tests: ssl: Add missing dependencies on certificate based handshake
Ronald Cron
2022-10-04 09:32:19 +0200
457fb7a523
tests: ssl: Fix ciphersuite identifier
Ronald Cron
2022-10-04 09:02:06 +0200
81378b72e8
programs: ssl: Remove dependency on TLS 1.3 for "sig_algs" option
Ronald Cron
2022-10-05 09:18:01 +0200
20a8e63b23
programs: ssl: Fix some mbedtls_ssl_conf_sig_algs() guards
Ronald Cron
2022-10-03 17:36:44 +0200
d29e13eb1b
tls: Use the same function in TLS 1.2 and 1.3 to check PSK conf
Ronald Cron
2022-10-19 10:33:48 +0200
2a87e9bf83
tls: Align set and usage check for PSK
Ronald Cron
2022-10-19 10:55:26 +0200
fa1e04a7c4
tls13: keys: Fix PSK build only case
Ronald Cron
2022-10-17 09:04:59 +0200
9a6a49c7cb
tls13: keys: Fail if the group type is not ECDHE or DHE
Ronald Cron
2022-10-17 08:52:30 +0200
b15d4d8966
tls13: keys: Fix error code
Ronald Cron
2022-10-17 08:47:32 +0200
3b056202d3
tls13: keys: Do not use handshake->premaster
Ronald Cron
2022-10-05 17:20:21 +0200
4c7edb2b9b
tls13: keys: Fix indentation
Ronald Cron
2022-10-05 15:37:11 +0200
831fee68c3
tls13: keys: Avoid input buffer copy
Ronald Cron
2022-10-05 16:22:59 +0200
4e95590ae7
analyze_outcomes.py: Add test coverage regresion analyze for driver only builds
Przemek Stekiel
2022-10-21 13:42:08 +0200
01df9ddda7
Add test component: component_test_psa_crypto_config_reference_hash_use_psa
Przemek Stekiel
2022-10-20 14:21:21 +0200
02e2fa0f64
Make ChangeLog more visible in PR template
Manuel Pégourié-Gonnard
2022-10-21 11:01:22 +0200
0e7e47147c
Merge pull request #6447 from mprse/driver-only-hash-gap
Manuel Pégourié-Gonnard
2022-10-21 10:32:43 +0200
45c6792faf
Merge pull request #6385 from AndrzejKurek/depends-py-reloaded
Manuel Pégourié-Gonnard
2022-10-21 10:17:58 +0200
076b2d062f
Improve the method of printing string build version
Yanray Wang
2022-10-21 11:09:45 +0800
c6952491c1
Merge pull request #6446 from yanesca/add_split_arch_tests_to_bignum_core
Janos Follath
2022-10-20 18:29:33 +0100
be17655b57
mbedtls_mpi_mod_modulus_init() must be called before any 'goto exit' in tests
Tom Cosgrove
2022-10-20 16:57:10 +0100
78e3c9b574
Fix style in bignum_core.py
Janos Follath
2022-10-20 12:09:30 +0100
560805d665
Fix mbedtls_mpi_core_add_if test aliasing
Janos Follath
2022-10-20 12:04:40 +0100
2c95a56e13
Remove KNOWN_MBEDTLS_SUPPORTED_HASH_ALG as it is now not used anywhere
Przemek Stekiel
2022-10-20 12:38:44 +0200
b0ee577287
Bignum core: test shift_r
Gilles Peskine
2022-09-21 23:13:33 +0200
ba516f7524
mpi_core_add_if test: Remove dependency on old API
Janos Follath
2022-10-17 13:47:13 +0100
5ff03d49c0
Bignum Core test: move bound to constructor
Janos Follath
2022-10-17 11:21:22 +0100
c279b2fa4a
Move mbedtls_mpi_core_shift_r to the proper source file
Gilles Peskine
2022-09-21 15:38:38 +0200
6641420951
Bignum core: Break shift_r function out of the classic shift_r
Gilles Peskine
2022-09-21 15:36:16 +0200
e153a715f0
mpi_core_add_if: simplify tests
Janos Follath
2022-10-17 10:25:29 +0100
dd2e4683d0
Bignum Core: add limb size specific test generation
Janos Follath
2022-10-17 10:16:56 +0100
2bb9c8a884
Change brace initialization to memset
David Horstmann
2022-10-20 10:18:37 +0100
2b751cfa46
Merge pull request #6399 from wernerlewis/bignum_gen_6274
Janos Follath
2022-10-20 09:29:56 +0100
01dd548025
Minor fixes to x509_get_name() test function
David Horstmann
2022-10-19 17:13:57 +0100
f1c24f0fbc
Add missing include
Werner Lewis
2022-10-19 16:43:22 +0100
bd3ddafee2
Move tests added in #6289
Werner Lewis
2022-10-19 15:15:29 +0100
f86c82e8f3
Pass bits_in_limb parameter to duplicated methods
Werner Lewis
2022-10-19 13:50:10 +0100
63653b9b0a
Remove unnecessary check
Werner Lewis
2022-10-19 13:37:12 +0100
6baf12b18d
Move legacy mod functions back to test_suite_mpi
Werner Lewis
2022-10-19 12:46:35 +0100
2295eecb12
Add missing space in string
Werner Lewis
2022-10-18 15:42:51 +0100
ffe4478936
Move mpi_core_bitlen tests to bignum_core files
Werner Lewis
2022-10-12 17:15:26 +0100
1b20e7e645
Redefine result() method to return List
Werner Lewis
2022-10-12 14:53:17 +0100
7a2731463b
Add function to generate random montmul cases
Werner Lewis
2022-10-04 14:57:39 +0100
a850312e9d
Add test generation for mpi_core_montmul
Werner Lewis
2022-10-04 10:10:40 +0100
0a9c48b68e
Add test generation for mpi_core_mla
Werner Lewis
2022-10-04 10:08:26 +0100
bbf0a32d67
Add flag for unique combinations in operations
Werner Lewis
2022-10-04 10:07:13 +0100
6351c7f5f3
Add test generation for mpi_core_sub
Werner Lewis
2022-09-30 16:33:11 +0100
ce769d1fc9
Add test generation for mpi_core_add_if
Werner Lewis
2022-09-30 16:32:19 +0100
99e8178fa7
Add module for bignum_core test generation
Werner Lewis
2022-09-30 16:28:43 +0100
0c6ea12145
Move bignum_mod tests into separate files
Werner Lewis
2022-09-30 13:02:16 +0100
c9b6a0aef9
Move bignum_mod_raw tests into separate files
Werner Lewis
2022-09-30 12:56:54 +0100
c6004a2ab3
Move bignum_core tests into separate files
Werner Lewis
2022-10-04 16:16:16 +0100
149c1516e7
Merge pull request #6435 from mpg/improve-outcome-analysis
Gilles Peskine
2022-10-19 15:54:17 +0200
4281ae0bd2
Merge pull request #6373 from gilles-peskine-arm/bignum-core-conventions
Gilles Peskine
2022-10-19 15:53:33 +0200
db2996357c
Merge pull request #6289 from gabor-mezei-arm/6237_Add_conditional_assign_and_swap_for_bignum
Gilles Peskine
2022-10-19 15:51:19 +0200
f4b8a4f971
pylint: ignore duplicated imports
Andrzej Kurek
2022-10-19 09:13:11 -0400
b8a97e7520
depends.py: rename domains argument to tasks
Andrzej Kurek
2022-10-17 08:39:09 -0400
629c412e81
depends.py documentation fixes
Andrzej Kurek
2022-10-17 08:34:40 -0400
9387b7b34e
Add a temporary solution to create a seedfile
Andrzej Kurek
2022-10-04 08:06:59 -0400
b489f958b8
depends.py: remove config options that are unset anyway
Andrzej Kurek
2022-10-17 06:51:10 -0400
a44c5bcdb7
depends.py: rename config_pl usage to config_py
Andrzej Kurek
2022-10-16 12:52:20 -0400
22b959d9a5
depends.py - add SHA256 dependency of LMS
Andrzej Kurek
2022-10-16 12:51:41 -0400
c610e7402e
Formatting & unnecessary (void) fixes
Andrzej Kurek
2022-10-14 10:02:24 -0400
65b2ac1f1d
Change the way exclusive groups are defined in depends.py
Andrzej Kurek
2022-10-14 08:09:16 -0400
f4b18672ff
depends.py: fix TLS 1.3 requirements
Andrzej Kurek
2022-10-14 07:57:00 -0400
a0cb4fa302
Improve depends.py readability
Andrzej Kurek
2022-10-14 07:06:43 -0400
b50754ae86
Switch from x509_CRT_PARSE to KEY_EXCHANGE_WITH_CERT_ENABLED
Andrzej Kurek
2022-10-13 14:19:01 -0400
e5535e3123
Add MBEDTLS_DES_C exclusive group dependencies
Andrzej Kurek
2022-10-13 09:07:47 -0400
d0786f5f26
Revert one of the changes to ssl_server2 dependencies
Andrzej Kurek
2022-10-13 09:06:48 -0400
ecb630925f
Fix constant name in ssl_tls13_keys
Andrzej Kurek
2022-10-13 09:05:12 -0400
a2a9688501
Fix the memory allocation in test_suite_ssl
Andrzej Kurek
2022-10-13 08:22:08 -0400
6454a90c6d
Remove pre-1_2 TLS dependencies from depends.py
Andrzej Kurek
2022-10-12 11:57:04 -0400
658442fe78
Remove unnecessary ECP_C dependencies
Andrzej Kurek
2022-10-12 11:28:41 -0400
e5a5cc1944
Remove the dependency of tls1_3 key evolution tests on curve25519
Andrzej Kurek
2022-10-12 11:14:28 -0400
daf43fbe21
Move the location of MBEDTLS_ECP_C dependencies
Andrzej Kurek
2022-10-12 10:46:42 -0400
6ee1e20d7f
Replace x509_CRT_PARSE_C with KEY_EXCHANGE_WITH_CERT_ENABLED
Andrzej Kurek
2022-10-12 10:17:25 -0400
2d637c4cbb
Fix unchecked allocation in test_suite_ssl
Andrzej Kurek
2022-10-12 09:27:44 -0400
01af84a0ca
depends.py: Add script documentation
Andrzej Kurek
2022-10-09 05:29:44 -0400
2f8ac287b6
Disable MBEDTLS_TEST_HOOKS in depends.py
Andrzej Kurek
2022-10-07 16:07:58 -0400
eabeb30c65
Fix SHA512 vs SHA384 dependencies
Andrzej Kurek
2022-10-17 07:52:51 -0400
228b12ce54
Rework depends.py to run more tests with hashes
Andrzej Kurek
2022-10-06 18:52:44 -0400
fe46949686
depends.py: disable part of the test jobs
Andrzej Kurek
2022-10-06 16:57:38 -0400
fcbd2acbc2
Split depends.py all.sh job into seven
Andrzej Kurek
2022-10-05 09:14:07 -0400
202932f521
Use upper case for constants in depends.py
Andrzej Kurek
2022-10-04 16:22:22 -0400
3322c22087
Improve depends.py structrue
Andrzej Kurek
2022-10-04 15:02:41 -0400
0e8b2d74f0
Fix python formatting and indentation
Andrzej Kurek
2022-10-04 11:14:59 -0400
3cca0c8e68
Add an all.sh component running depends.pl
Andrzej Kurek
2022-10-04 10:38:28 -0400
e05b17fb85
Update depends.py
Andrzej Kurek
2022-09-28 03:17:56 -0400
c19fb08dd3
Add missing ECDH dependency in tls 1.3 client
Andrzej Kurek
2022-10-03 10:52:24 -0400
e64bd43495
Add missing ECP and ECDH dependencies in ssl test suites
Andrzej Kurek
2022-10-03 10:51:10 -0400
8e44139ca0
Add missing CURVE25519 requirements to TLS 1.3 tests
Andrzej Kurek
2022-10-03 09:24:51 -0400
84f30f2eb0
Add missing SHA256 dependency
Andrzej Kurek
2022-10-03 09:24:23 -0400
e38b788b79
Add missing key exchange dependencies
Andrzej Kurek
2022-10-17 07:46:51 -0400
68327748d3
Add missing dependencies
Andrzej Kurek
2022-10-03 06:18:18 -0400
90e8204476
Add missing SHA256 and ECDSA_C dependencies in test_suite_ssl
Andrzej Kurek
2022-10-17 07:45:53 -0400
0abebebe6d
Refactor ssl test suite to use pointers more
Andrzej Kurek
2022-09-30 12:54:41 -0400
46a987367c
Formatting fix
Andrzej Kurek
2022-10-17 08:11:11 -0400
084334c8f2
Compile constant time masking and hmac if there are suites using MAC
Andrzej Kurek
2022-09-27 14:19:50 -0400
2d59dbc032
Use TLS prf only if TLS 1.2 is compiled in
Andrzej Kurek
2022-10-13 08:34:38 -0400
894edde991
Add tls prf handling when there's no SHA256 or SHA384
Andrzej Kurek
2022-09-29 06:31:14 -0400
f502bcb13e
Fix missing AES dependencies
Andrzej Kurek
2022-09-27 09:27:56 -0400
34a1557df6
Add domains for symmetric ciphers
Gilles Peskine
2019-01-29 23:12:28 +0100
c3b4deeb6c
When exercising key exchanges, don't build the test suites
Gilles Peskine
2019-01-29 19:33:05 +0100
584c24ace4
Declare more reverse dependencies
Gilles Peskine
2019-01-29 19:30:40 +0100
b1284cf6bc
Don't test builds with only deprecated hashes
Gilles Peskine
2019-01-29 18:56:03 +0100
bf7537d0a9
Use the full config as the baseline for all jobs
Gilles Peskine
2019-01-29 18:52:16 +0100
e85163bb5c
Simplify final passed/failed reporting
Gilles Peskine
2019-01-29 18:50:03 +0100
0fa7cbeeb9
Add basic support for colored output
Gilles Peskine
2019-01-29 18:48:48 +0100
54aa5c6957
Factor running config.pl into its own function
Gilles Peskine
2019-01-29 18:46:34 +0100
46c8256547
Flush log output after each line
Gilles Peskine
2019-01-29 18:42:55 +0100
b39e3ecee6
New script to exercise compilation options
Gilles Peskine
2019-01-29 08:50:20 +0100
e40b92178d
Fix missing padding dependencies
Andrzej Kurek
2022-09-27 09:21:39 -0400
252283f2aa
Fix missing cipher mode dependencies
Andrzej Kurek
2022-09-27 07:54:16 -0400
8258ea7b7d
test_suite_psa_crypto: adapt dependenies and guards so the test can run in the driver-only build
Przemek Stekiel
2022-10-19 12:17:19 +0200
0dc40773d6
Improve comments & messages
Manuel Pégourié-Gonnard
2022-10-19 12:12:21 +0200
deef905a1c
Update is_builtin_calling_md() for PKCS#1 v2.1
Manuel Pégourié-Gonnard
2022-10-19 11:02:15 +0200
98b91d40d6
RSA PKCS#1 v1.5 no longer depends on MD
Manuel Pégourié-Gonnard
2022-10-19 10:59:30 +0200
078250eb56
Fix incorrect return style
David Horstmann
2022-10-18 18:11:13 +0100
178ec96c89
Remove unnecessary NULL assignments
David Horstmann
2022-10-18 17:42:22 +0100
4dceede71b
Fix overly replacement in the documentation
Gabor Mezei
2022-10-18 16:44:17 +0200
98b1af4e34
test_suite_debug: adapt dependenies so the test can run in the driver-only build
Przemek Stekiel
2022-10-18 13:16:04 +0200
7cd1ebe0bb
Merge pull request #6296 from gilles-peskine-arm/test_data_generation-pr_6093_followup
Janos Follath
2022-10-18 13:38:28 +0100
ff4181e246
Fix build error in cmake while printing digital build version
Yanray Wang
2022-10-18 18:16:08 +0800
d92fb01419
Skip bits not needed in outcome-analysis.sh
Manuel Pégourié-Gonnard
2022-10-18 10:14:31 +0200
b51051f1c7
Cosmetic improvement
Manuel Pégourié-Gonnard
2022-10-18 09:42:30 +0200
f6e6df9dbf
Add option for before-after or just ref-drivers
Manuel Pégourié-Gonnard
2022-10-17 12:24:37 +0200
2bb2f15772
Improve driver-only outcome-analysis script
Manuel Pégourié-Gonnard
2022-10-12 10:57:31 +0200
d976673dd6
Add build version to the output of ssl_client2
Yanray Wang
2022-10-17 15:13:30 +0800
11307a1933
Clarify wording on allocation
David Horstmann
2022-10-17 18:10:23 +0100
3cd67584bc
Improve X509 DN test naming
David Horstmann
2022-10-17 17:59:10 +0100
d0e3d45e96
Add explanatory comments to raw DER test data
David Horstmann
2022-10-17 17:42:19 +0100
47da7bfac8
Merge pull request #6434 from gilles-peskine-arm/lmots_import_export_test-memory_leak
Gilles Peskine
2022-10-17 17:57:59 +0200
0c74e084d5
Fix condition
Gabor Mezei
2022-10-17 16:09:58 +0200
503d09b52d
Fix memory leak if unit test fails
Gilles Peskine
2022-10-17 12:27:43 +0200
6c6f04b651
Merge pull request #6419 from mpg/fix-assert-alloc-usage
Manuel Pégourié-Gonnard
2022-10-17 12:10:48 +0200
f33da19dfb
Merge pull request #6413 from daverodgman/update_docs_links
Dave Rodgman
2022-10-14 17:42:48 +0100
8874cd570e
Merge pull request #4826 from RcColes/development
Gilles Peskine
2022-10-14 18:33:01 +0200
dcd1717f5f
Forbid aliasing outputs
Gilles Peskine
2022-10-14 17:14:20 +0200
ffb4aa0ddc
Rename variables to have unambiguous names
Gabor Mezei
2022-10-14 16:39:04 +0200
4086de667d
Fix documentation
Gabor Mezei
2022-10-14 16:29:42 +0200
8bcd7cca94
Use count instead of bytes in ASSERT_ALLOC argument
Gabor Mezei
2022-10-14 16:18:10 +0200
f1ebf128e7
Fix capitalisation
Dave Rodgman
2022-10-14 10:48:52 +0100
ce164b7016
Update SUPPORT.md
Dave Rodgman
2022-10-14 10:47:04 +0100
032b594ec9
Update SUPPORT.md
Dave Rodgman
2022-10-14 10:40:56 +0100
b3c30907d6
Merge pull request #6383 from mprse/aead_driver_test
Manuel Pégourié-Gonnard
2022-10-14 11:11:01 +0200
47b8de834d
Fix usage of ASSERT_ALLOC()
Manuel Pégourié-Gonnard
2022-10-14 09:35:55 +0200
fa65237fd4
Fix which config header MBEDTLS_LMS_xxx is unset from
Gilles Peskine
2022-10-13 22:05:38 +0200
31c2dcb611
Fix file names in reproduction instructions in test data
Gilles Peskine
2022-10-13 20:48:15 +0200
2875aa7b01
Fix instructions and test data for pyhsslms interop tests
Gilles Peskine
2022-10-13 20:45:05 +0200
8bccc999d9
Don't mention error type in LMS test comments
Raef Coles
2022-10-13 17:57:31 +0100
6d7d94a821
Use correct export length in LMS export tests
Raef Coles
2022-10-13 17:55:46 +0100
aa9d52bcdc
Rename LMS private key files to match library name
Raef Coles
2022-10-13 17:53:40 +0100
f8bfe2783b
Remove bad character from LMS test case
Raef Coles
2022-10-13 17:35:28 +0100
d543697092
Fix minor type in LMS test description
Raef Coles
2022-10-13 17:06:42 +0100
a2514f622f
Update pyhsslms test instructions with script
Raef Coles
2022-10-13 17:04:21 +0100
1951259a10
Update how lms.c imports platform.h
Raef Coles
2022-10-13 16:47:13 +0100
ce18e528ff
Rename LMS private key files
Raef Coles
2022-10-13 16:40:48 +0100
e4d96b804c
Update LMS and LMOTS test comments
Raef Coles
2022-10-13 16:29:22 +0100
493724e3c2
Check correct output size in LMOTS export test
Raef Coles
2022-10-13 15:43:07 +0100
ed0e4591dc
Add output length test for LMS export too-big test
Raef Coles
2022-10-13 15:05:47 +0100
49e4184812
Merge pull request #6299 from xkqian/tls13_add_servername_check
Ronald Cron
2022-10-13 16:00:59 +0200
33f7d66304
Add output check to export too-big buffer tests
Raef Coles
2022-10-13 14:24:08 +0100
1d88ea870f
Remove unneeded NULL pointer checks in LMS tests
Raef Coles
2022-10-13 14:18:16 +0100
29c490db97
Update LMS calculate_public_key docs
Raef Coles
2022-10-13 14:16:35 +0100
cbd02adc6e
Simplify LMS context freeing
Raef Coles
2022-10-13 14:11:49 +0100
d1c1f7f7be
Disable LMS in all.sh tests that lack _WANT_SHA256
Raef Coles
2022-10-13 13:00:08 +0100
07b70d9196
Correct typo in LMS config check
Raef Coles
2022-10-13 10:46:16 +0100
a21671123a
Remove sudo pip3
in LM(OT)S tests instructions
Raef Coles
2022-10-13 10:05:33 +0100
1b43a7448d
Clean up LMS and LMOTS feature dependencies
Raef Coles
2022-10-13 09:44:27 +0100
6b2c573b3d
And export buffer too large test to LMS and LMOTS
Raef Coles
2022-10-13 09:41:39 +0100
534f66f3f0
Fix assert arguments in LMS and LMOTS export tests
Raef Coles
2022-10-13 09:39:01 +0100
d1c2a80319
Remove duplicated assert from LMOTS tests
Raef Coles
2022-10-13 09:32:53 +0100
20d2e06ca4
Add cleanup frees in LMS and LMOTS tests
Raef Coles
2022-10-13 09:28:18 +0100
781f7bedb0
Properly mark LMOTS leak test as failed
Raef Coles
2022-10-13 09:23:11 +0100
d137c86125
Don't skip LMS tests due to out of memory error
Raef Coles
2022-10-12 15:55:25 +0100
76563399fd
Fix LMS and LMOTS test dependencies
Raef Coles
2022-10-12 15:50:57 +0100
45c4ff93c9
Fix windows requiring explicit cast in LMS calloc
Raef Coles
2022-10-12 15:22:48 +0100
59eb0d0f2b
Fix LMOTS signature leak test dependencies
Raef Coles
2022-10-12 15:19:17 +0100
d0c701237a
Replace TEST_ASSERT with TEST_EQUAL in LMS tests
Raef Coles
2022-10-12 14:19:52 +0100
f9b8502865
Add LMS import/export negative tests
Raef Coles
2022-10-12 12:42:28 +0100
4511055511
Exclude binary LMS keys from file checking
Raef Coles
2022-10-12 12:28:52 +0100
142e577c34
Add extra zeroization to LMS and LMOTS
Raef Coles
2022-10-12 10:47:27 +0100
9fc303a99a
Add extra LMOTS import negative tests
Raef Coles
2022-10-12 10:32:15 +0100
71f554b48f
Use real data for negative LMOTS tests
Raef Coles
2022-10-12 10:02:09 +0100
66edf6a833
Use hsslms data for LMOTS import/export test
Raef Coles
2022-10-12 09:36:58 +0100
8b55ba623e
Source LMOTS data from hsslms
Raef Coles
2022-10-12 09:28:26 +0100
a6b47c0aac
Add LMS hsslms interop tests
Raef Coles
2022-10-11 16:54:15 +0100
d6adcb6146
Add negative LMS import/export tests
Raef Coles
2022-10-11 15:34:56 +0100
810612e14e
Update LMS and LMOTS to use TEST_EQUAL
Raef Coles
2022-10-11 13:16:53 +0100
90e13fc3c6
Add repro instructions for LMS test data
Raef Coles
2022-10-11 12:48:18 +0100
0dc604ed2b
Change how LMS and LMOTS negative tests work
Raef Coles
2022-10-10 17:35:26 +0100
4829459c90
Validate LMOTS sig length before parsing type
Raef Coles
2022-10-10 16:40:00 +0100
7726678b23
Remove debugging code left in LMOTS tests
Raef Coles
2022-10-10 16:11:50 +0100
3c4ae77fec
Improve LMS private context documentation
Raef Coles
2022-10-10 15:48:24 +0100
285d44b180
Capitalize "Merkle" in LMS and LMOTS code
Raef Coles
2022-10-10 15:44:17 +0100
faf59babe8
Make LMS verification return VERIFY_FAILED more
Raef Coles
2022-10-10 15:40:56 +0100
fbd60ec775
Change LMS and LMOTS init functions to use memset
Raef Coles
2022-10-10 15:09:33 +0100
9b0daf60fb
Improve LMS private function warning
Raef Coles
2022-10-10 14:25:39 +0100
f6cb5a4826
Fix LMS return statements having incorrect style
Raef Coles
2022-10-10 14:15:53 +0100
75b4c7790e
Fix LMS internal function documentation
Raef Coles
2022-10-10 13:58:28 +0100
d48f7e90bb
Allocate LMS C_RANDOM_VALUE as hash size
Raef Coles
2022-10-10 13:10:07 +0100
1fb2f32ef5
Check LMS offsets are sane at runtime
Raef Coles
2022-10-10 11:23:07 +0100
e34e3c0e59
Remove unneeded cast in LMS calloc
Raef Coles
2022-10-10 11:11:30 +0100
370cc43630
Make LMS public key export part of public key api
Raef Coles
2022-10-07 16:07:33 +0100
e89488debf
Fix bug in LMS public key loading
Raef Coles
2022-10-07 16:06:35 +0100
3f6cdd7aab
Fix LMS not checking RNG function return value
Raef Coles
2022-10-07 14:07:59 +0100
02cf8234b4
Fix ots sig length check in LMS validate function
Raef Coles
2022-10-07 13:52:47 +0100
f36874a535
Fix error type of lms_import_public_key
Raef Coles
2022-10-07 13:39:22 +0100
dc8fb79e09
Simplify LMS private key generation error handling
Raef Coles
2022-10-07 13:27:54 +0100
be3bdd8240
Rename LMS and LMOTS init/free functions
Raef Coles
2022-10-07 12:04:24 +0100
29117d2e4e
Update LMS PSA error conversion
Raef Coles
2022-10-07 11:46:06 +0100
be0c2f9183
Update LMS local variable allocation
Raef Coles
2022-10-07 11:27:35 +0100
2ac352a322
Make LMS functions args const where required
Raef Coles
2022-10-07 11:12:27 +0100
f6ddd51bfd
Sanitize LMS and LMOTS macros
Raef Coles
2022-10-07 10:49:34 +0100
5127e859d7
Update LMS and LMOTS dependency macros
Raef Coles
2022-10-07 10:35:56 +0100
56fe20a473
Move MBEDTLS_PRIVATE required defines into lms.h
Raef Coles
2022-09-28 17:56:39 +0100
ab300f15e8
Move public header content from lmots.h to lms.h
Raef Coles
2022-09-28 17:12:41 +0100
b4568c5423
Disable LMS in PSA crypto client test
Raef Coles
2022-09-28 17:11:42 +0100
47bccb7e47
Disable LMS_PRIVATE in all.sh when LMS is disabled
Raef Coles
2022-09-28 12:00:20 +0100
a7e03adef5
Disable LMS in all.sh when PSA isn't enabled
Raef Coles
2022-09-28 09:32:48 +0100
0b7da1b787
Fix overflow in LMS context init
Raef Coles
2022-09-27 13:45:30 +0100
98c504373c
Update LMS test description
Raef Coles
2022-09-27 12:56:34 +0100
57d5328ad5
Remove MBEDTLS_LM(OT)S prefix from internal macros
Raef Coles
2022-09-27 11:30:51 +0100
ad05425ab7
Update naming of internal LMS functions
Raef Coles
2022-09-27 10:59:16 +0100
40158e11fc
Add LMOTS test hook to header
Raef Coles
2022-09-27 10:23:53 +0100
403558c1c9
Fix LMS function documentation
Raef Coles
2022-09-23 17:03:53 +0100
3982040232
Fix LMS zeroization using wrong sizeof type
Raef Coles
2022-09-23 09:12:54 +0100
98d6e22050
Remove doxygen markup from internal LMS functions
Raef Coles
2022-09-23 09:04:04 +0100
40f184c83e
Cast LMS allocation sizes to size_t
Raef Coles
2022-09-22 18:30:33 +0100
1310ecb389
Update LMOTS function documentation
Raef Coles
2022-09-22 15:41:49 +0100
9c9027b1a4
Add extra LMS and LMOTS tests
Raef Coles
2022-09-02 18:26:31 +0100
fa24f9d6ea
Minor fixes to LMS and LMOTS macros
Raef Coles
2022-09-02 17:46:52 +0100
0a967ccf9a
Document LMS and LMOTS internal functions
Raef Coles
2022-09-02 17:46:15 +0100
8738a49d0c
Fix iterator types in LMOTS
Raef Coles
2022-09-02 17:13:01 +0100
f5919e2997
Update LMS/LMOTS tests
Raef Coles
2022-09-02 16:05:10 +0100
e0a17610d1
Fix LMS/LMOTS if-statement style
Raef Coles
2022-09-02 16:04:47 +0100
9b88ee5d5d
Fix LMS and LMOTS coding style violations
Raef Coles
2022-09-02 12:04:21 +0100
366d67d9af
Shorted LMS and LMOTS line-lengths
Raef Coles
2022-09-01 17:23:12 +0100
e9479a0264
Update LMS API to support multiple parameter sets
Raef Coles
2022-09-01 16:06:35 +0100
ab4f87413a
Add MBEDTLS_LMS_PRIVATE define
Raef Coles
2022-09-01 12:24:31 +0100
ebd35b5b80
Rename LMS internal tree-manipulation functions
Raef Coles
2022-09-01 11:52:17 +0100
891c613f31
Update LMOTS signature use of temporary variables
Raef Coles
2022-09-01 11:05:48 +0100
0c88d4e447
Remove superfluous casts in LMS and LMOTS
Raef Coles
2022-09-01 10:48:32 +0100
f5632d3efc
Remove MBEDTLS_PRIVATE usage from LMS and LMOTS
Raef Coles
2022-09-01 09:56:52 +0100
01c71a17b3
Update LMS and LMOTS api
Raef Coles
2022-08-31 15:55:00 +0100
c8f9604d7b
Use PSA hashing for LMS and LMOTS
Raef Coles
2022-08-25 13:49:54 +0100
7dce69a27a
Make LMOTS a private api
Raef Coles
2022-08-24 14:07:06 +0100
2ad6e611f0
Update LMS/LMOTS documentation
Raef Coles
2022-08-24 13:33:35 +0100
0aa18e041f
Note that LMS sign function is for testing only
Raef Coles
2022-06-15 13:05:56 +0100
c464746d45
Document LMS and LMOTS contexts
Raef Coles
2022-06-15 12:17:51 +0100
8ff6df538c
Add LMS implementation
Raef Coles
2021-07-21 12:42:15 +0100
02f82bbfa9
Fix MSVC warning
Manuel Pégourié-Gonnard
2022-10-13 13:32:02 +0200
f155ab9a91
Abort on errors when we should
Manuel Pégourié-Gonnard
2022-10-13 13:11:52 +0200
b63a9ef09f
Fix buffer sizes in ecjpake_setup test function
Manuel Pégourié-Gonnard
2022-10-06 10:55:19 +0200
0fe6631486
Merge pull request #6291 from gilles-peskine-arm/platform.h-unconditional-3.2
Gilles Peskine
2022-10-13 10:19:22 +0200
28af501cae
Fix the ticket_lifetime equal to 0 issue
Xiaokang Qian
2022-10-13 08:18:19 +0000
072fad12d9
Disable MBEDTLS_SSL_TICKET_C in aead driver test.
Przemek Stekiel
2022-10-13 09:59:52 +0200
2aa5af9bec
Merge pull request #6403 from mpg/print-failed-suites
Manuel Pégourié-Gonnard
2022-10-13 09:59:45 +0200
126bf8e4d7
Address some comments
Xiaokang Qian
2022-10-13 02:22:40 +0000
7dbfed3b44
Improve wording re: PSA Crypto
Dave Rodgman
2022-10-12 17:27:32 +0100
b319684bca
Additional updates to docs links
Dave Rodgman
2022-10-12 16:47:08 +0100
7c195160df
Update documentation links
Dave Rodgman
2022-10-12 16:27:14 +0100
997669aeeb
Fix heap use-after-free corruption issue
Xiaokang Qian
2022-10-12 14:30:27 +0000
307a7303fd
Rebase and replace session_negotiate
Xiaokang Qian
2022-10-12 11:14:32 +0000
baa4764d77
Fix typo issues
Xiaokang Qian
2022-10-12 10:21:27 +0000
8730644da1
Move ticket and hostname set code just after shallow-copy
Xiaokang Qian
2022-10-12 09:47:38 +0000
ed3afcd6c3
Fix various typo and macro guards issues
Xiaokang Qian
2022-10-12 08:31:11 +0000
ed0620cb13
Refine code base on comments
Xiaokang Qian
2022-10-12 06:58:13 +0000
03409290d2
Add MBEDTLS_SSL_SESSION_TICKETS guard to server name check
Xiaokang Qian
2022-10-12 02:49:52 +0000
d7adc374d3
Refine the server name compare logic
Xiaokang Qian
2022-10-11 09:05:11 +0000
a3b451f950
Adress kinds of comments base on review
Xiaokang Qian
2022-10-11 06:20:56 +0000
2f9efd3038
Address comments base on review
Xiaokang Qian
2022-10-10 11:24:08 +0000
bc663a0461
Refine code based on commnets
Xiaokang Qian
2022-10-09 11:14:39 +0000
adf84a4a8c
Remove public api mbedtls_ssl_reset_hostname()
Xiaokang Qian
2022-10-09 09:21:22 +0000
fb8ac46add
Change the name of servername when re-connect
Xiaokang Qian
2022-10-08 11:09:54 +0000
be98f96de2
Remove useless hostname check in server side
Xiaokang Qian
2022-10-08 11:09:20 +0000
6af2a6da74
Fix session save-load overflow issue
Xiaokang Qian
2022-10-08 10:50:19 +0000
ecd7528c7f
Address some comments
Xiaokang Qian
2022-09-28 07:11:02 +0000
281fd1bdd8
Add server name check when proposeing pre-share key
Xiaokang Qian
2022-09-20 11:35:41 +0000
8fd3254cfc
Merge pull request #6374 from mprse/enc_types
Gilles Peskine
2022-10-12 12:45:50 +0200
78317c832b
Merge pull request #6327 from yuhaoth/pr/tls13-psk-after-session-tickets
Ronald Cron
2022-10-12 12:39:51 +0200
ea37bb2403
Add changelog entry
Przemek Stekiel
2022-10-12 10:11:25 +0200
ee1bb4145f
Make sure that disabled features are not included in image and fix test config
Przemek Stekiel
2022-10-11 11:52:25 +0200
fcee740b83
Automatically enable PK_PARSE for RSA in PSA
Gilles Peskine
2022-10-11 21:15:24 +0200
aef1ba679d
Add build with a typical configuration for a PSA crypto service
Gilles Peskine
2022-10-11 21:05:06 +0200
fd94304f9d
PSA RSA needs pk_write
Gilles Peskine
2022-10-11 20:59:29 +0200
58e5d804ee
test_suite_pk: Add missing dependencies on MBEDTLS_PEM_PARSE_C
Gilles Peskine
2022-10-11 20:57:38 +0200
d23d8dee24
test_suite_dhm: Add missing dependencies on MBEDTLS_PEM_PARSE_C
Gilles Peskine
2022-10-11 20:53:20 +0200
9624a5932e
Add mbedtls_dhm_parse_dhmfile test case with DER input
Gilles Peskine
2022-10-11 20:52:34 +0200
301e866f55
Merge pull request #6398 from gilles-peskine-arm/bignum-mbedtls_test_read_mpi_core-char
Janos Follath
2022-10-11 15:08:06 +0100
c79742303d
Remove unnecessary empty line and fix format issue
Jerry Yu
2022-10-11 21:22:33 +0800
74b748dafe
Merge pull request #6401 from gilles-peskine-arm/config.py-python-version-development
Manuel Pégourié-Gonnard
2022-10-11 12:57:19 +0200
22c18c1432
Add NULL check in prepare hello
Jerry Yu
2022-10-11 15:58:51 +0800
c2bfaf00d9
fix wrong typo
Jerry Yu
2022-10-11 15:55:52 +0800
ac6c67053d
Print the list of failed suites in verbose mode
Manuel Pégourié-Gonnard
2022-10-11 10:48:32 +0200
d61a4d3d1a
Fix missing guard and double-space
Przemek Stekiel
2022-10-11 09:40:40 +0200
b50e433b66
Test mbedtls_mpi_core_bitlen
Gilles Peskine
2022-10-09 21:17:26 +0200
e943283f2f
More mbedtls_mpi_bitlen test cases
Gilles Peskine
2022-10-09 21:16:51 +0200
24baa81043
Improve mbedtls_mpi_bitlen test descriptions
Gilles Peskine
2022-10-09 21:16:28 +0200
c5772a194e
mbedtls_test_read_mpi_core: allow odd number of hex digits
Gilles Peskine
2022-10-09 21:14:09 +0200
cf42536d4e
Add a note that config.py must remain compatible with Python 3.4
Gilles Peskine
2022-10-10 22:52:30 +0200
6eaa75a79d
fixed docstring sentence
Asfandyar Orakzai
2022-10-10 19:55:40 +0200
1b5c85c75b
Merge pull request #6386 from gilles-peskine-arm/bignum-mbedtls_test_read_mpi_core
Janos Follath
2022-10-10 15:14:46 +0100
4f77ecf409
disable session resumption when ticket expired
Jerry Yu
2022-10-10 22:10:08 +0800
03aa174d7c
Improve test message and title
Jerry Yu
2022-10-10 21:48:37 +0800
6916e70521
fix various issues
Jerry Yu
2022-10-10 21:33:51 +0800
44ba2f6db9
Add more test cases
Gabor Mezei
2022-10-10 15:32:12 +0200
a67a1a3ebc
Remove the 'is_fail' parameter from the test functions
Gabor Mezei
2022-10-10 15:25:59 +0200
21092062f3
Restrict cipher suite validation to TLS1.3
Jerry Yu
2022-10-10 21:21:31 +0800
d7edb1d225
Initialize variable
Gabor Mezei
2022-10-10 14:32:09 +0200
e9c013c222
Handle if parameters are alised
Gabor Mezei
2022-10-10 14:26:57 +0200
1f02c6c25e
Reword change log entry
Przemek Stekiel
2022-10-10 11:41:30 +0200
68a01a6720
Fix session tickets related build flags in fuzz_server and ssl_server2
Przemek Stekiel
2022-10-10 11:31:58 +0200
d71eb0c3ac
Use better test macro
Gabor Mezei
2022-10-10 13:09:04 +0200
d6441da4c5
Remove redundant memory initialization
Gabor Mezei
2022-10-10 13:05:16 +0200
251cb632f1
Remove unused macro definition
Gabor Mezei
2022-10-10 13:02:21 +0200
52a428b824
Fix MBEDTLS_SSL_TICKET_C, MBEDTLS_SSL_SESSION_TICKETS dependencies
Przemek Stekiel
2022-10-10 08:47:13 +0200
42bb3ff40b
Adapt expected results in ChaCha20-Poly1305 ( invalid tag length)
Przemek Stekiel
2022-10-10 07:28:40 +0200
88ade84735
psa_aead_setup: remove redundant tag length check
Przemek Stekiel
2022-10-08 17:56:18 +0200
6ab50762e0
psa_aead_setup: validate tag length before calling driver setup
Przemek Stekiel
2022-10-08 17:54:30 +0200
63b06ea06e
Update test cases
Jerry Yu
2022-10-08 14:24:46 +0800
03b8f9d299
Adjust guards for dummy_tickets
Jerry Yu
2022-10-08 12:40:33 +0800
a99cbfa2d3
fix various issues
Jerry Yu
2022-10-08 11:17:14 +0800
40afab61a8
Add ciphersuite check in set_session
Jerry Yu
2022-10-08 10:42:13 +0800
21f9095fa8
Revert "move ciphersuite validation to set_session"
Jerry Yu
2022-10-08 10:30:53 +0800
379b91a393
add ticket age check
Jerry Yu
2022-10-08 10:21:15 +0800
91e20a0580
Refactor macro-spanning ifs in ecdh.c
David Horstmann
2022-10-06 19:11:28 +0100
fc735dffd6
Refactor macro-spanning ifs in ecp.c
David Horstmann
2022-10-06 19:11:04 +0100
8a7629fd0f
Refactor macro-spanning if in asn1write.c
David Horstmann
2022-10-06 18:57:57 +0100
2788f6b668
Refactor macro-spanning if in sha512.c
David Horstmann
2022-10-06 18:45:09 +0100
687262ca7d
Refactor macro-spanning if in sha256.c
David Horstmann
2022-10-06 17:54:57 +0100
21b89761f8
Refactor macro-spanning if in ssl_tls13_server.c
David Horstmann
2022-10-06 18:34:28 +0100
10be134d8e
Refactor macro-spanning if in ssl_msg.c
David Horstmann
2022-10-06 18:31:25 +0100
4a28563e84
Refactor macro-spanning ifs in ssl_client.c
David Horstmann
2022-10-06 18:30:10 +0100
e0af39a2ef
Refactor macro-spanning ifs in ssl_tls12_server.c
David Horstmann
2022-10-06 18:19:18 +0100
96d4770bde
Merge pull request #6393 from KloolK/development
Janos Follath
2022-10-07 08:43:43 +0100
86679c7bd8
psa_validate_tag_length(): use PSA_WANT_ALG_xxx instead MBEDTLS_PSA_BUILTIN_ALG_xxx guards
Przemek Stekiel
2022-10-06 17:06:56 +0200
4a698341c9
Re-org selected_identity parser
Jerry Yu
2022-09-30 12:22:01 +0800
6183cc7470
Re-org binders writer
Jerry Yu
2022-09-30 11:08:57 +0800
f75364bee1
Re-organize identities writer
Jerry Yu
2022-09-30 10:30:31 +0800
8b41e893a2
fix various issues
Jerry Yu
2022-09-30 10:00:20 +0800
19ae6f62c7
move ciphersuite validation to set_session
Jerry Yu
2022-09-30 09:22:21 +0800
25ab654781
Add dummy ticket support
Jerry Yu
2022-09-15 18:32:34 +0800
b300e3c5be
add selected_identity parser
Jerry Yu
2022-09-28 22:12:07 +0800
1a0a0f4416
Add binders writer
Jerry Yu
2022-09-28 22:11:02 +0800
f7c125917c
Add identites writer
Jerry Yu
2022-09-28 22:09:38 +0800
0c6105bc9e
empty pre_shared_key functions
Jerry Yu
2022-08-12 17:26:40 +0800
8897c07075
Add server only guards for psk callback
Jerry Yu
2022-08-12 13:56:53 +0800
b21bbef061
Refactor macro-spanning if in ssl_tls12_client.c
David Horstmann
2022-10-06 17:49:31 +0100
3b2276a439
Refactor macro-spanning ifs in ssl_tls.c
David Horstmann
2022-10-06 14:49:08 +0100
8a05a646f4
Remove psa_driver_get_tag_len() and use PSA_ALG_AEAD_GET_TAG_LENGTH macro instead
Przemek Stekiel
2022-10-06 17:01:58 +0200
c1ceae4848
crypto_config_test_driver_extension.h: add support for ChaCha20 - Poly1305
Przemek Stekiel
2022-10-05 08:18:55 +0200
ff1efc9a84
psa_aead_check_nonce_length: Fix unused variable warining
Przemek Stekiel
2022-10-02 21:12:17 +0200
0763ccf04f
Refactor ARIA_SELF_TEST_IF_FAIL macro
David Horstmann
2022-10-06 14:32:30 +0100
b33f6e5ee2
Fix typo
Jan Bruckner
2022-10-06 11:23:49 +0200
0771d41584
Fix missing length check
Manuel Pégourié-Gonnard
2022-10-06 09:30:34 +0200
db73d3b149
Add mbedtls_x509_get_name memory leak unit test
David Horstmann
2022-10-04 16:49:16 +0100
05bb2c5d0e
Add ChangeLog entry for memory leak fix
David Horstmann
2022-10-05 12:06:23 +0100
79617d99ae
Fix namespacing issue
Manuel Pégourié-Gonnard
2022-10-05 12:55:50 +0200
ec7012dbc7
Fix I/O format of PSA EC J-PAKE for compliance
Manuel Pégourié-Gonnard
2022-10-05 12:17:34 +0200
ed79483aca
Free structs in mbedtls_x509_get_name() on error
David Horstmann
2022-10-04 18:12:06 +0100
99a82dce74
Readability improvement
Gilles Peskine
2022-10-05 11:20:56 +0200
80ca44f33c
Merge pull request #6325 from gabor-mezei-arm/6308_missing_initialization_in_test
Gilles Peskine
2022-10-05 11:09:35 +0200
e32cd44490
Add changelog entry: tls 1.2 builds with single encryption type
Przemek Stekiel
2022-10-05 09:46:35 +0200
01af3ddc82
Fixed confusion between number size and limb size; define limb
Gilles Peskine
2022-10-04 16:23:29 +0200
c217f48251
Replace the output file atomically
Gilles Peskine
2022-09-21 22:00:06 +0200
22514eb99b
Fix typo in documentation
Gilles Peskine
2022-09-21 23:13:04 +0200
2926484de1
Describe generic conventions for the bignum core module
Gilles Peskine
2022-09-27 13:19:50 +0200
7aab2fbe41
Add a short description of what each module does
Gilles Peskine
2022-09-27 13:19:13 +0200
7f887bdc05
Move license out of Doxygen comment
Gilles Peskine
2022-09-27 13:12:30 +0200
8fcde5bb8e
Remove duplicate test case
Gabor Mezei
2022-10-04 13:53:33 +0200
dba2677597
Update documentation
Gabor Mezei
2022-10-03 17:01:02 +0200
02e5d439db
Add more tests for cond_assign/swap functions
Gabor Mezei
2022-10-03 16:45:11 +0200
6546a6cc03
Rewrite tests for cond_assign/swap
Gabor Mezei
2022-09-30 14:55:16 +0200
0957e7bfc5
Rmove MBEDTLS_NIST_KW_C dependency from MBEDTLS_SSL_TICKET_C
Przemek Stekiel
2022-10-03 11:39:02 +0200
6a5cc74cc4
Fix typos and comments
Przemek Stekiel
2022-10-03 09:04:16 +0200
460192ee19
Fix and sync configuration file and configuration verifiation
Przemek Stekiel
2022-10-03 08:55:29 +0200
bd99a0221b
test_driver_aead.c: add support for LIBTESTDRIVER1 tests
Przemek Stekiel
2022-10-02 21:01:23 +0200
e290f2ea14
all.sh: add testing of AEAD drivers with libtestdriver1
Przemek Stekiel
2022-10-02 20:58:39 +0200
5bbdfce44c
Streamline mbedtls_mpi_core_lt_ct unit test
Gilles Peskine
2022-09-20 21:39:25 +0200
3aae4e815e
New function mbedtls_test_read_mpi_core
Gilles Peskine
2022-09-20 21:38:33 +0200
571576fc5c
Move the definition of data_t to a header file
Gilles Peskine
2022-09-20 21:37:56 +0200
bdc7b8bb6a
Allow test assertions on constant-flow scalar data
Gilles Peskine
2022-09-20 18:31:30 +0200
97483b0fd4
Remove incorrect comment
Gilles Peskine
2022-09-20 20:38:42 +0200
ec5685f1ee
Use exact-size buffers for inputs and outputs to library functions in tests
Gabor Mezei
2022-09-30 14:41:13 +0200
f5ca726ce1
Rename variables to match bettr to its purpose
Gabor Mezei
2022-09-30 14:28:26 +0200
86dfe384c2
Fix documentation tags to be lower case
Gabor Mezei
2022-09-30 14:03:04 +0200
e5b8585f1e
Follow parameter naming convention
Gabor Mezei
2022-09-30 13:54:02 +0200
8b05e3b148
Add memory freeing
Gabor Mezei
2022-09-28 12:37:02 +0200
a7584888da
Use exact-size buffers for inputs and outputs to library functions in tests
Gabor Mezei
2022-09-27 13:18:02 +0200
821d15107b
Check true and false condition in the same test case
Gabor Mezei
2022-09-27 12:41:28 +0200
1c628d5700
Follow parameter naming comvention
Gabor Mezei
2022-09-27 12:13:51 +0200
3eff425b1a
Use only one limb parameter for assign
Gabor Mezei
2022-09-26 17:26:42 +0200
81e57021c6
Change the input parameters to be const
Gabor Mezei
2022-09-26 17:13:33 +0200
2b5bf4cec7
Fix doumentation
Gabor Mezei
2022-09-26 17:09:58 +0200
027d696434
Remove unused code
Gabor Mezei
2022-09-16 17:16:27 +0200
b2763ef507
Do not read uninitialized memory
Gabor Mezei
2022-09-16 17:14:22 +0200
f4dd3b6a6d
Fix documentation
Gabor Mezei
2022-09-16 09:38:53 +0200
cfc0eb8d22
Remove unused parameter
Gabor Mezei
2022-09-15 20:15:34 +0200
53e455db7b
Remove return value checking from test functions of assign and swap
Gabor Mezei
2022-09-15 20:13:53 +0200
87638a9ead
Add missing include
Gabor Mezei
2022-09-15 20:02:36 +0200
63c3282ec4
Remove retrun code from mod_raw_cond_assign/swap
Gabor Mezei
2022-09-15 20:01:31 +0200
24d183aa00
Use the new swap and assign function in the old interface
Gabor Mezei
2022-09-15 19:15:38 +0200
9f6615f146
Remove argument checking from constant time functions
Gabor Mezei
2022-09-15 19:12:06 +0200
b27b1c5db0
Add tests for conditional assign and swap functions
Gabor Mezei
2022-09-12 16:36:48 +0200
12071d4403
Add conditional assign and swap function for MPI modulus
Gabor Mezei
2022-09-12 16:35:58 +0200
e1d31c4aad
Add conditional swap and assign function for MPI core
Gabor Mezei
2022-09-12 16:25:24 +0200
845de0898e
Merge pull request #6083 from tom-cosgrove-arm/issue-6015-montgomery-multiplication
Gilles Peskine
2022-09-30 10:35:21 +0200
00a02b1468
Add Changelog entry
Victor Barpp Gomes
2022-09-29 11:40:39 -0300
d0225afcb6
Add a new test with a binary hwSerialNum
Victor Barpp Gomes
2022-09-29 11:40:20 -0300
31a8815f25
Documentation typo
Gilles Peskine
2022-09-29 18:48:41 +0200
6da3a3b15f
Fix doc regarding aliasing of modulus input to mbedtls_mpi_core_montmul()
Tom Cosgrove
2022-09-29 17:20:18 +0100
47c7a732d2
Print RFC 4108 hwSerialNum in hex format
Victor Barpp Gomes
2022-09-29 11:34:23 -0300
4386ead662
Correct the aliasing requirements in doc for mbedtls_mpi_core_montmul(), and test them
Tom Cosgrove
2022-09-29 14:40:21 +0100
48a6a666a0
Add ssl-opt tls 1.2 tests for single cipher builds
Przemek Stekiel
2022-09-29 15:22:01 +0200
ce5b68c7a3
Revert "Fix guards for mbedtls_ssl_ticket_write() and mbedtls_ssl_ticket_parse() functions"
Przemek Stekiel
2022-09-29 10:21:59 +0200
8d4b241028
Remove redundant indirect dependencies after optimizing setup for one cipher components
Przemek Stekiel
2022-09-29 10:13:40 +0200
a891a091a3
test_suite_cmac.data: fix bug: use cipher type instead cipher id
Przemek Stekiel
2022-09-29 09:53:20 +0200
68db0d2f67
Optimize one cipher only components and adapt nemes
Przemek Stekiel
2022-09-29 08:32:25 +0200
77c691f099
Merge pull request #6194 from xkqian/tls13_add_psk_client_cases
Ronald Cron
2022-09-28 17:08:06 +0200
0cc3466c9e
Change testing strategy to default + one cypher only (psa/no psa)
Przemek Stekiel
2022-09-28 12:06:57 +0200
b0de1c040b
Add components to build and test default/full config with legacy-ccm cipher only
Przemek Stekiel
2022-09-28 10:23:22 +0200
9550c05757
Add component to build and test full config with stream cipher only
Przemek Stekiel
2022-09-28 09:51:55 +0200
a70bd9108a
Fix the description of psk client cases
Xiaokang Qian
2022-09-28 07:50:13 +0000
e3358e14b2
Merge pull request #6051 from mprse/permissions_2b_v2
Manuel Pégourié-Gonnard
2022-09-28 09:50:04 +0200
f3f9e450b6
Merge pull request #6115 from AndrzejKurek/ecjpake-kdf-tls-1-2
Manuel Pégourié-Gonnard
2022-09-28 09:47:32 +0200
e31ba83675
Use basic symbols instead MBEDTLS_CIPHER_MODE_AEAD in check config
Przemek Stekiel
2022-09-28 09:44:58 +0200
d582a01073
Make MBEDTLS_SSL_CONTEXT_SERIALIZATION dependent on AEAD
Przemek Stekiel
2022-09-28 07:59:01 +0200
ca343ae280
Improve message logs and test cases description in psk
Xiaokang Qian
2022-09-28 02:07:54 +0000
cba39a386f
Add change log
Ronald Cron
2022-09-27 19:10:39 +0200
0bb138241b
Add initialization for structures
Gabor Mezei
2022-09-27 18:48:44 +0200
4c49927bad
Fix unused variables warnings in default + stream cipher only build
Przemek Stekiel
2022-09-27 13:55:37 +0200
6f29a6c4b4
test_suite_cipher.function: always include aes.h
Przemek Stekiel
2022-09-27 13:49:21 +0200
a82290b727
Fix guards for mbedtls_ssl_ticket_write() and mbedtls_ssl_ticket_parse() functions
Przemek Stekiel
2022-09-27 13:41:12 +0200
89ad62352d
Fix guards for mbedtls_ct_size_mask() and mbedtls_ct_memcpy_if_eq()
Przemek Stekiel
2022-09-27 13:36:12 +0200
11c362a050
Add component to build and test default config with stream cipher only
Przemek Stekiel
2022-09-27 13:34:31 +0200
9c172042b6
Change cases description base on comments
Xiaokang Qian
2022-09-27 11:41:50 +0000
e12d30d751
Move psk related cases into tls13-kex-modes.sh
Xiaokang Qian
2022-09-27 11:34:14 +0000
f13925c022
Add a changelog entry for ECJPAKE to PMS KDF
Andrzej Kurek
2022-09-27 05:16:10 -0400
c27a9074c4
tls13: server: Add comment when trying another sig alg
Ronald Cron
2022-09-27 10:02:42 +0200
cb6e96305f
Change kex mode string name
Xiaokang Qian
2022-09-26 11:59:32 +0000
b72dac4ed7
Fix PSA identifier of RSA_PKCS1V15 signing algorithms
Ronald Cron
2022-09-27 08:56:47 +0200
e09aff8f5a
Add information about ECJPAKE_TO_PMS output size expectations
Andrzej Kurek
2022-09-26 10:59:31 -0400
3539f2c90b
Improve readability in ecjpake tests
Andrzej Kurek
2022-09-26 10:56:02 -0400
b510cd2c50
Fix a copy-paste error - wrong macro used
Andrzej Kurek
2022-09-26 10:50:22 -0400
5603efd525
Improve readability and formatting
Andrzej Kurek
2022-09-26 10:49:16 -0400
96b9f23853
Adjust ECJPAKE_TO_PMS macro value
Andrzej Kurek
2022-09-26 10:30:46 -0400
954d5769ef
PSK: change descriptions base on comments
Xiaokang Qian
2022-09-26 08:40:10 +0000
5beec4b339
Refine ssl_get_kex_mode_str() for easy automatic generation
Xiaokang Qian
2022-09-26 08:23:45 +0000
ac8195f4f7
Fix wrongly kex mode fallback issue in psk cases
Xiaokang Qian
2022-09-26 04:01:06 +0000
5596c74a98
Merge pull request #6140 from Zaya-dyno/validation_remove_change_auth_enc
Gilles Peskine
2022-09-23 17:04:31 +0200
12a1e85caa
Merge pull request #6138 from Zaya-dyno/validation_remove_change_key_agree
Gilles Peskine
2022-09-23 17:04:20 +0200
f70f4ead7f
Merge pull request #6248 from gilles-peskine-arm/all-sh-force-3.2
Gilles Peskine
2022-09-23 17:04:00 +0200
8c2d236117
Merge pull request #6188 from N3xed/fix/windows-different-drives-build-error
Gilles Peskine
2022-09-23 17:03:50 +0200
87953f228f
Merge pull request #6091 from Zaya-dyno/validation_remove_change_pk
Gilles Peskine
2022-09-23 17:03:30 +0200
2c282c9bd0
Merge pull request #6180 from yuhaoth/pr/add-tls13-multiple-session-tickets
Paul Elliott
2022-09-23 15:48:33 +0100
f29c2a5313
Add initialization for structures
Gabor Mezei
2022-09-23 15:25:27 +0200
210727f3b1
Skip some psk cases cause wrong fallback to ephemeral
Xiaokang Qian
2022-09-23 07:25:40 +0000
ba627bfd0d
improve document about session tickets
Jerry Yu
2022-09-23 09:58:22 +0800
dea2cbe199
Fix various test issues in psk m->m cases
Xiaokang Qian
2022-09-22 11:07:28 +0000
658204c71e
Remove negative test cases for m->O and m->G
Xiaokang Qian
2022-09-22 09:51:19 +0000
8939930b82
Rebase and fix some test failures
Xiaokang Qian
2022-09-21 07:16:22 +0000
cffb18cee7
Fix various issues
Xiaokang Qian
2022-09-13 01:58:07 +0000
8f7d7c7aaf
Address comments about description of psk cases
Xiaokang Qian
2022-09-07 10:10:16 +0000
5001bfc619
Add key exchange mode log in client side
Xiaokang Qian
2022-09-07 09:30:03 +0000
edc35e7ffd
Refine the psk test cases for m->G
Xiaokang Qian
2022-09-01 03:22:51 +0000
2efece22a0
Refine the psk test cases for m->O
Xiaokang Qian
2022-09-01 03:00:25 +0000
3cbbbbcb08
Shorten the description in psk m->m test cases
Xiaokang Qian
2022-08-31 07:38:37 +0000
d7dcc4274b
Unified the test title of psk cases
Xiaokang Qian
2022-08-31 03:38:25 +0000
2aaf1c1d74
Re-work psk test cases against openssl and gnutls
Xiaokang Qian
2022-08-30 09:18:59 +0000
8e76e1de21
Add m->m cases with client be set to psk_all or all mode
Xiaokang Qian
2022-08-29 10:11:14 +0000
ca48dddf62
Add m->m with client be set to ephemeral or ephemeral_all mode
Xiaokang Qian
2022-08-29 08:25:17 +0000
198cefd1fa
Add force_version tls13 to the psk test cases
Xiaokang Qian
2022-08-25 10:42:56 +0000
f9b694ba8f
Add m->m cases with client be set to psk and psk_ephemeral mode
Xiaokang Qian
2022-08-25 08:48:51 +0000
e0cc584f70
Change result strings based on actula psk test result
Xiaokang Qian
2022-08-25 06:17:36 +0000
df6a3891e8
Add client psk test cases for all mode
Xiaokang Qian
2022-08-24 06:55:18 +0000
a39d0d5e2b
Add client test cases for ephemeral_all mode
Xiaokang Qian
2022-08-24 06:48:07 +0000
01173c21b1
Add client test cases for ephemeral mode
Xiaokang Qian
2022-08-24 06:29:05 +0000
ff5705bdd7
Add client test cases for psk_ephemeral mode
Xiaokang Qian
2022-08-24 03:18:31 +0000
73894232e8
Add client test cases for psk_all mode
Xiaokang Qian
2022-08-23 08:06:34 +0000
cf6442e2e4
Add client test cases for psk mode
Xiaokang Qian
2022-08-23 06:47:40 +0000
335cfaadf9
Finalize client side code for psk
XiaokangQian
2022-08-11 03:18:07 +0000
40b4a01388
Improve documents
Jerry Yu
2022-09-22 23:48:38 +0800
359e65f784
limit session ticket number when resumption
Jerry Yu
2022-09-22 23:47:43 +0800
f3bdf9dd51
fix various issues
Jerry Yu
2022-09-22 23:30:49 +0800
87d9c6c4d8
Ensure client mbedtls_ssl_handshake_step() returns success for HELLO_REQUEST
Tom Cosgrove
2022-09-22 09:27:56 +0100
07ba2be20b
Merge pull request #6304 from yuhaoth/pr/exclude-pre_shared_key-from-hrr-msg
Gilles Peskine
2022-09-22 10:21:06 +0200
1475ac49a4
Merge pull request #6107 from Zaya-dyno/validation_remove_change_hash
Manuel Pégourié-Gonnard
2022-09-22 09:24:44 +0200
d5c82fb821
Merge pull request #6085 from Zaya-dyno/validation_remove_change_cipher
Manuel Pégourié-Gonnard
2022-09-22 09:10:13 +0200
b7e3fa7fbd
move count decrement after success sent
Jerry Yu
2022-09-22 11:07:18 +0800
d0766eca58
fix various issues
Jerry Yu
2022-09-22 10:46:57 +0800
b3ea98c606
Replace the output file atomically
Gilles Peskine
2022-09-21 22:00:06 +0200
9370612312
remove certificate setting from psk_ephemeral HRR test
Jerry Yu
2022-09-21 22:44:24 +0800
2fdc7b3599
Return an error from mbedtls_ssl_handshake_step() if neither client nor server
Tom Cosgrove
2022-09-21 12:33:17 +0100
119eae2e51
Update names of test cases in generate_bignum_tests.py
Tom Cosgrove
2022-09-21 12:19:18 +0100
c573882674
Merge remote-tracking branch 'upstream/development' into issue-6015-montgomery-multiplication
Tom Cosgrove
2022-09-21 12:08:43 +0100
e5833c182c
Merge pull request #6300 from davidhorstmann-arm/syntax-highlighting-function-files
Manuel Pégourié-Gonnard
2022-09-21 10:52:14 +0200
d433cd7d07
Merge pull request #6283 from mpg/driver-only-hashes-wrap-up
Manuel Pégourié-Gonnard
2022-09-21 08:29:46 +0200
2db49df44b
Add psk_ephemeral HRR tests
Jerry Yu
2022-09-21 11:03:28 +0800
36e1d9ef1d
Merge pull request #6203 from wernerlewis/ecp_group_test
Dave Rodgman
2022-09-20 17:35:53 +0100
50969e3af5
ssl-opt.sh: TLS 1.3 opaque key: Add test with unsuitable sig alg
Ronald Cron
2022-09-16 15:54:33 +0200
4782823ec3
Ensure we explicitly document the modulus for fixed-width arithmetic
Tom Cosgrove
2022-09-20 13:51:50 +0100
b0b77e1b13
Document and test aliasing of the bignums given to mbedtls_mpi_core_mla()
Tom Cosgrove
2022-09-20 13:33:40 +0100
b5d884815c
Use GitHub C syntax highlighting on test files
David Horstmann
2022-09-20 13:22:07 +0100
277cdcbcde
ssl-opt.sh: tls13 opaque key: Enable client authentication
Ronald Cron
2022-09-16 16:57:20 +0200
e3196d270c
ssl-opt.sh: tls13 opaque key: Do not force version on client side
Ronald Cron
2022-09-16 16:43:35 +0200
6ec2123bf3
ssl-opt.sh: Align prefix of TLS 1.3 opaque key tests
Ronald Cron
2022-09-16 16:41:53 +0200
067a1e735e
tls13: Try reasonable sig alg for CertificateVerify signature
Ronald Cron
2022-09-16 13:44:49 +0200
38391bf9b6
tls13: Do not impose minimum hash size for RSA PSS signatures
Ronald Cron
2022-09-16 11:19:27 +0200
67ea2543ed
tls13: server: Add sig alg checks when selecting best certificate
Ronald Cron
2022-09-15 17:34:42 +0200
ea45c1d2d4
Document and test aliasing of output for mbedtls_mpi_core_montmul()
Tom Cosgrove
2022-09-20 13:17:51 +0100
05feee1841
Restore vbuf value after modification
Werner Lewis
2022-09-20 12:05:00 +0100
ccae25b4bf
Add explicit mbedtls_ecp_tls_read_group_id call
Werner Lewis
2022-09-20 10:00:07 +0100
7403d93f8a
Add leading zeros to group metadata
Werner Lewis
2022-09-20 09:16:50 +0100
57807308d5
Fix typo in MBEDTLS_ECP_DP_BP512R1
Werner Lewis
2022-09-20 09:16:11 +0100
f2b3818a69
Test when all three inputs to mbedtls_mpi_core_sub() are aliased
Tom Cosgrove
2022-09-20 09:08:31 +0100
c155415f04
Merge branch 'Mbed-TLS:development' into codegen_1.1
Asfandyar Orakzai
2022-09-19 12:34:40 +0200
b4e28aa2f7
Fix two typos
Manuel Pégourié-Gonnard
2022-09-19 11:55:00 +0200
1367f40d38
Fix memory corruption in an SSL test function
Manuel Pégourié-Gonnard
2022-09-19 11:00:23 +0200
3c16abebd4
Fix dependencies of KEY_EXCHANGE_ECJPAKE
Manuel Pégourié-Gonnard
2022-09-19 10:44:42 +0200
73f9233a73
Use full config for testing driver-only hashes
Manuel Pégourié-Gonnard
2022-09-19 10:38:46 +0200
ac6f650a9f
fixed formating
Asfandyar Orakzai
2022-09-19 10:03:05 +0200
79e1467799
Fix include path for programs
Manuel Pégourié-Gonnard
2022-09-19 09:27:53 +0200
7a51305478
Add multi-session tickets test
Jerry Yu
2022-08-09 13:34:21 +0800
d4e7500a07
Enable multi session tickets on Server
Jerry Yu
2022-08-09 13:33:50 +0800
1ad7ace6b7
Add conf new session tickets
Jerry Yu
2022-08-09 13:28:39 +0800
cca6ce8829
Fix directory mixup with generated data files
Gilles Peskine
2022-09-18 23:08:38 +0200
e188734f51
Don't use parallel jobs for pylint
Gilles Peskine
2022-09-18 21:27:37 +0200
be0224aef3
Merge pull request #6167 from yuhaoth/pr/finalize-tls13-session-tickets
Ronald Cron
2022-09-18 21:18:13 +0200
d9071e7d96
Unify check_repo_path
Gilles Peskine
2022-09-18 21:17:09 +0200
ef843f2b0c
MBEDTLS_PLATFORM_VSNPRINTF_ALT requires MBEDTLS_PLATFORM_C
Gilles Peskine
2022-09-18 14:05:23 +0200
4ca4a930a9
fixed opaque schemas paths
Asfandyar Orakzai
2022-09-18 12:37:53 +0200
9e6170d95e
added some doc strings and fixed formating
Asfandyar Orakzai
2022-09-17 23:37:16 +0200
5c9569a2bc
fixed formating
Asfandyar Orakzai
2022-09-17 23:13:52 +0200
4c93bb52ef
removed changed made to the test/bionic/Dockerfile
Asfandyar Orakzai
2022-09-17 22:20:33 +0200
de08803170
refactored and addressed reviewer observations in generate_driver_wrappers.py
Asfandyar Orakzai
2022-09-17 22:07:58 +0200
b549776a23
Merge branch 'Mbed-TLS:development' into codegen_1.1
asfand-silabs
2022-09-17 19:54:01 +0200
15997bd389
Use relative imports when importing other modules in the same directory
Gilles Peskine
2022-09-16 22:35:18 +0200
4537d6d838
Move implementation detail from docstring to comment
Gilles Peskine
2022-09-16 22:26:38 +0200
7b3fa657af
generate_*_tests.py --directory: fix handling of relative path
Gilles Peskine
2022-09-16 22:22:53 +0200
049042586e
Clarify the descriptions of test-case-data-related modules
Gilles Peskine
2022-09-16 22:02:37 +0200
64f2efdc40
More precise name for test data generation
Gilles Peskine
2022-09-16 21:41:47 +0200
1716f06ee3
Merge pull request #6093 from wernerlewis/bignum_test_script
Gilles Peskine
2022-09-17 10:37:26 +0200
7763829c5c
Add missing ifdef when calculating operation capacity
Andrzej Kurek
2022-09-16 12:24:52 -0400
c2fb540c67
Use a script specific description in CLI help
Werner Lewis
2022-09-16 17:03:54 +0100
3c4c514302
Remove PSA_ALG_IS_TLS12_ECJPAKE_TO_PMS
Andrzej Kurek
2022-09-16 07:24:14 -0400
1fafb1f778
Documentation clarifications for ECJPAKE-to-PMS
Andrzej Kurek
2022-09-16 07:19:49 -0400
1be45825ab
Remove useless guard around include
Manuel Pégourié-Gonnard
2022-09-16 13:18:36 +0200
2be1689504
Add capacity testing to EC J-PAKE to PMS tests
Andrzej Kurek
2022-09-16 07:14:04 -0400
b093650033
Add proper capacity calculation for EC J-PAKE to PMS KDF
Andrzej Kurek
2022-09-16 07:13:00 -0400
39452a8ca4
fixed formating of driver generator script
Asfandyar Orakzai
2022-09-16 13:02:06 +0200
d37850404a
Add derivation step testing to EC J-PAKE to PMS tests
Andrzej Kurek
2022-09-16 06:45:44 -0400
702776f7cc
Restrict the EC J-PAKE to PMS input type to secret
Andrzej Kurek
2022-09-16 06:22:44 -0400
ad4d2bb3e1
Exclude pre_shared_key for HRR
Jerry Yu
2022-09-14 22:40:35 +0800
138387fc8c
Fix some typos, improve wording & formatting
Manuel Pégourié-Gonnard
2022-09-16 09:45:43 +0200
d18c24b166
EC J-PAKE is now implemented in PSA
Manuel Pégourié-Gonnard
2022-09-15 12:29:28 +0200
c998e43eb4
Add ChangeLog entry about driver-only hashes.
Manuel Pégourié-Gonnard
2022-09-15 12:26:32 +0200
72687b76ca
Clarify dependencies in mbedtls_config.h
Manuel Pégourié-Gonnard
2022-09-15 12:23:58 +0200
f17f85ef0c
Simplify definition of TLS 1.3 MD max size.
Manuel Pégourié-Gonnard
2022-09-15 11:49:04 +0200
e896705c1a
Take advantage of legacy_or_psa.h being public
Manuel Pégourié-Gonnard
2022-09-15 11:41:16 +0200
07018f97d2
Make legacy_or_psa.h public.
Manuel Pégourié-Gonnard
2022-09-15 11:29:35 +0200
08f397a676
refactored generate_driver_wrappers.py
Asfandyar Orakzai
2022-09-15 14:25:37 +0200
a2cac3224d
Update and document mbedtls extensions
Archana
2022-04-14 09:31:28 +0530
1776dd9022
Doc improvements -Cosmetic
Archana
2022-04-12 13:12:18 +0530
22c7827876
Schema and script improvements
Archana
2022-04-11 10:12:08 +0530
01aa39e3ff
Arg parse improvements
Archana
2022-03-14 15:29:00 +0530
46886247ad
Driver Wrappers code gen migration guide updated.
Archana
2022-03-13 19:49:11 +0530
a78dc70a50
Fix JsonObject type for MyPy
Archana
2022-03-13 17:57:45 +0530
fdbbcba3eb
JSONschema and python improvements
Archana
2022-02-27 05:38:55 +0530
e17071a5ee
Update Dockerfile with missing packages
Archana
2022-01-11 02:40:46 +0530
634e0d25cb
Update check_names.py to exclude autogen file
Archana
2022-01-10 17:37:42 +0530
25876b8abb
Adding JSONSchema to CI scripts
Archana
2022-01-10 01:55:26 +0530
314380564c
PyLint errors fixed
Archana
2022-01-09 15:01:20 +0530
04cfe34639
JSON Validation added
Archana
2022-01-09 13:28:28 +0530
05efa17549
JSON upgrade to give function names
Archana
2022-01-09 09:30:32 +0530
e829cd6953
Driver Wrapper CodeGen Rev 1.1
Archana
2021-12-24 12:50:36 +0530
6ee726e1ab
Replace md translation function
Jerry Yu
2022-09-16 16:32:27 +0800
1c341c8bc9
Merge pull request #6284 from daverodgman/contributing
Manuel Pégourié-Gonnard
2022-09-16 09:01:56 +0200
a5df584d87
fix build fail for test_psa_crypto_config_accel_hash_use_psa
Jerry Yu
2022-09-16 11:27:57 +0800
a844b4b370
No need to use MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED in tests
Gilles Peskine
2022-09-15 21:05:04 +0200
d6355caa8f
Include platform.h unconditionally: fixes undefined mbedtls_setbuf
Gilles Peskine
2022-09-15 20:26:49 +0200
04e4c19ee3
Document the base state of platform abstraction
Gilles Peskine
2022-09-15 20:19:01 +0200
ed1c7f4cd7
Include platform.h unconditionally: gcm
Gilles Peskine
2022-09-15 20:14:22 +0200
e9b55929dc
Remove useless platform macro redefinitions: automatic part
Gilles Peskine
2022-09-15 20:09:07 +0200
a7aa80c058
Include platform.h unconditionally: second automatic part
Gilles Peskine
2022-09-15 20:22:04 +0200
945b23c46f
Include platform.h unconditionally: automatic part
Gilles Peskine
2022-09-15 19:29:40 +0200
3bd7bc3add
Use X rather than A for accumulator-style input (and output!) params, and rename others accordingly
Tom Cosgrove
2022-09-15 15:55:07 +0100
5c0e8104bc
Prefer 'fixed-size' to 'known-size' in doc comments
Tom Cosgrove
2022-09-15 15:46:10 +0100
c71ca0cb3c
Remove some unnecessary whitespace (two spaces after commas)
Tom Cosgrove
2022-09-15 15:38:17 +0100
dbc156172c
Don't bother to test b + a after testing a + b if a == b
Tom Cosgrove
2022-09-15 15:36:23 +0100
17f1fdca0f
Update comments in mpi_core_add_if() test
Tom Cosgrove
2022-09-15 15:23:56 +0100
b7438d1f62
Update name of mbedtls_mpi_montg_init()
Tom Cosgrove
2022-09-15 15:05:59 +0100
2701deaa4b
Use mbedtls_ct_mpi_uint_mask() rather than rolling our own
Tom Cosgrove
2022-09-15 15:00:07 +0100
818d992cc7
Note that T must not overlap other parameters of mbedtls_mpi_core_montmul()
Tom Cosgrove
2022-09-15 14:58:10 +0100
359feb0d2f
Better wording for the reason why we use an input MPI for a scalar value
Tom Cosgrove
2022-09-15 14:52:34 +0100
e2159f2083
Use the MAX() macro
Tom Cosgrove
2022-09-15 14:40:10 +0100
be7209db1f
Remove unnecessary casts
Tom Cosgrove
2022-09-15 14:32:38 +0100
50c477bd6b
Use S and sum (rather than X/expected) in mpi_core_add_if()
Tom Cosgrove
2022-09-15 14:28:30 +0100
1feb5ac1b7
Switch to using TEST_LE_S() and TEST_LE_U() in tests
Tom Cosgrove
2022-09-15 14:22:35 +0100
2b177926ad
Use ASSERT_ALLOC() in tests
Tom Cosgrove
2022-09-15 14:07:18 +0100
c454aba203
ssl-opt.sh: add tests for key_opaque_algs option
Przemek Stekiel
2022-07-07 09:56:13 +0200
632939df4b
ssl_client2: print pk key name when provided using key_opaque_algs
Przemek Stekiel
2022-07-07 09:27:20 +0200
dca224628b
ssl_tls13_select_sig_alg_to_psa_alg: optimize code
Przemek Stekiel
2022-07-06 22:34:25 +0200
f937e669bd
Guard new code with MBEDTLS_USE_PSA_CRYPTO
Przemek Stekiel
2022-07-05 22:42:44 +0200
3c326f9697
Add function to convert sig_alg to psa alg and use it
Przemek Stekiel
2022-07-05 22:14:34 +0200
b40f2e81ec
TLS 1.3: Take into account key policy while picking a signature algorithm
Przemek Stekiel
2022-07-04 16:16:15 +0200
f184625223
Clarify legal requirements for contributions
Dave Rodgman
2022-09-15 11:52:44 +0100
c42c7e660e
Update documentation in legacy_or_psa.h
Manuel Pégourié-Gonnard
2022-09-15 11:11:00 +0200
1dc37258de
Style: wrap a long line
Manuel Pégourié-Gonnard
2022-09-15 11:10:26 +0200
409a620dea
Merge pull request #6255 from mprse/md_tls13
Manuel Pégourié-Gonnard
2022-09-15 10:37:46 +0200
0a55cc647c
Remove unnecessary var and improve comment
Jerry Yu
2022-09-15 16:15:06 +0800
07c830c164
Fix setting for default test suite directory
Werner Lewis
2022-09-15 09:02:07 +0100
18dff1f226
Merge pull request #5871 from superna9999/4153-psa-expose-ec-j-pake
Manuel Pégourié-Gonnard
2022-09-15 09:25:55 +0200
62e24ba186
Merge pull request #6260 from yuhaoth/pr/add-multiple-pre-config-psks
Ronald Cron
2022-09-15 08:58:40 +0200
4ba0e45f8e
all.sh: don't build with ECJPAKE_TO_PMS if SHA256 is not available
Andrzej Kurek
2022-09-14 12:47:26 -0400
d60907b85d
Define ECJPAKE_TO_PMS in config_psa only if SHA_256 is available
Andrzej Kurek
2022-09-14 10:02:30 -0400
52ae326ebb
Update references to file targets in docstrings
Werner Lewis
2022-09-14 16:26:54 +0100
ac446c8a04
Add combination_pairs helper function
Werner Lewis
2022-09-14 15:12:46 +0100
b6e809133d
Use typing.cast instead of unqualified cast
Werner Lewis
2022-09-14 15:00:22 +0100
00d02423a5
Remove argparser default for directory
Werner Lewis
2022-09-14 13:39:20 +0100
858cffde1e
Add toggle for test case count in descriptions
Werner Lewis
2022-09-14 13:02:40 +0100
34d6d3e4e5
Update comments/docstrings in TestGenerator
Werner Lewis
2022-09-14 12:59:32 +0100
f7dad3cfbe
fix various issues
Jerry Yu
2022-09-14 22:31:39 +0800
67ffab5600
ssl.h: use PSA hash buffer size when PSA is used
Przemyslaw Stekiel
2022-09-14 14:07:01 +0200
18f8e8d62c
Document the input size restriction for EC J-PAKE to PMS
Andrzej Kurek
2022-09-14 08:44:34 -0400
d8705bc7b7
Add tests for the newly created ad-hoc EC J-PAKE KDF
Andrzej Kurek
2022-07-29 10:02:05 -0400
08d34b8693
Add an EC J-PAKE KDF to transform K -> SHA256(K.X) for TLS 1.2
Andrzej Kurek
2022-07-29 10:00:16 -0400
208257b39f
Merge pull request #6259 from yuhaoth/pr/add-psk_ephemeral-possible-group-tests
Ronald Cron
2022-09-14 14:21:46 +0200
ab9b9d4669
ssl_tls13_keys.h: use PSA max hash size
Przemyslaw Stekiel
2022-09-14 13:51:07 +0200
da6452578f
ssl_tls13_generic.c: fix hash buffer sizes (use PSA_HASH_MAX_SIZE)
Przemyslaw Stekiel
2022-09-14 12:50:51 +0200
6a12a7704d
Fix typo in comment
Neil Armstrong
2022-09-14 12:17:42 +0200
673b0f9ad3
Randomize order of psks
Jerry Yu
2022-09-14 15:02:21 +0800
034492bd56
ssl.h: Fix hash guards
Przemyslaw Stekiel
2022-09-14 11:09:20 +0200
004c2181f0
ssl_misc.h: hash guards adaptations
Przemyslaw Stekiel
2022-09-14 09:09:16 +0200
b2407f2b91
Merge pull request #6261 from mprse/hash_size_macro
Manuel Pégourié-Gonnard
2022-09-14 10:00:06 +0200
acff823846
Add negative tolerance window
Jerry Yu
2022-09-14 14:35:11 +0800
95db17ed5f
fix various issues
Jerry Yu
2022-09-14 10:30:53 +0800
ce0aa58fd9
check_config.h: make TLS1.3 requirements verification more readable
Przemek Stekiel
2022-09-12 13:24:25 +0200
0852ef8b96
mbedtls_ssl_reset_transcript_for_hrr: remove redundant 'else' statement
Przemek Stekiel
2022-09-07 10:56:30 +0200
8a2f2b0bd6
check_config.h: fix TLS 1.3 requirements (add HKDF_EXTRACT/EXPAND) and comments
Przemek Stekiel
2022-09-06 08:07:43 +0200
dcec7ac3e8
test_psa_crypto_config_accel_hash_use_psa: enable tls.1.3 at the end and adapt comment
Przemek Stekiel
2022-09-06 07:54:33 +0200
9408b70513
check_config.h: revert HKDF requirements
Przemek Stekiel
2022-09-06 07:44:12 +0200
9dfbf3a006
ssl_tls13_generic.c: optimize code to save memory
Przemek Stekiel
2022-09-06 07:40:46 +0200
153b442cc3
mbedtls_ssl_tls13_sig_alg_is_supported: adapt guards
Przemek Stekiel
2022-09-05 12:36:25 +0200
a06787a629
build_info.h: include config_psa.h also when MBEDTLS_PSA_CRYPTO_C
Przemek Stekiel
2022-09-02 14:41:44 +0200
a4af13a46c
test_psa_crypto_config_accel_hash_use_psa: enable TLS 1.3
Przemek Stekiel
2022-09-02 13:35:15 +0200
cf9d972a9a
Fix config for MBEDTLS_SSL_PROTO_TLS1_3
Przemek Stekiel
2022-09-02 13:29:25 +0200
a9a8816107
ssl.h: adapt guards for MBEDTLS_SSL_TLS1_3_TICKET_RESUMPTION_KEY_LEN
Przemek Stekiel
2022-09-02 13:18:55 +0200
47e3cb1875
ssl_tls13_generic.c: adapt guards for MBEDTLS_SHAxxx_C
Przemek Stekiel
2022-09-02 13:17:03 +0200
fa84962296
Add comment explaining PSA PAKE vs Mbedtls J-PAKE API matching strategy
Neil Armstrong
2022-09-13 15:10:46 +0200
3d4966a5cb
Move possible input/output steps check inside PSA_ALG_JPAKE handling
Neil Armstrong
2022-09-13 14:54:15 +0200
017db4cdda
Drop calls to mbedtls_ecjpake_check()
Neil Armstrong
2022-09-13 14:49:53 +0200
1d0294f6ed
Clarify sequence length calculation comment
Neil Armstrong
2022-09-13 14:49:24 +0200
cb679f23bc
Replace 0s with proper defines when possible
Neil Armstrong
2022-09-13 14:43:07 +0200
5166954d14
Make more use of MBEDTLS_MAX_HASH_SIZE macro
Przemek Stekiel
2022-09-13 12:57:05 +0200
8cc46aa22c
Merge pull request #6275 from daverodgman/fixcopyright
Dave Rodgman
2022-09-13 11:23:52 +0100
f498910383
Merge pull request #6256 from AndrzejKurek/tls-tests-no-md-ssl-opt
Manuel Pégourié-Gonnard
2022-09-13 10:37:48 +0200
4746b10c2e
fix various issues
Jerry Yu
2022-09-13 11:11:48 +0800
8d4bbbae4f
fix ticket age check issues
Jerry Yu
2022-09-13 14:15:48 +0800
46bffe0e82
Refine rsumption master secret compute function
Jerry Yu
2022-09-13 11:25:28 +0800
466dda8553
Rename resumption master secret compute function
Jerry Yu
2022-09-13 11:20:20 +0800
6cf85a4bb0
update document abourt maximum ticket_age_tolerance
Jerry Yu
2022-09-13 11:14:42 +0800
a02841bb8a
revert changes on PSK tests
Jerry Yu
2022-09-13 10:59:21 +0800
53a18f23ac
Correct copyright and license in crypto_spe.h
Dave Rodgman
2022-09-12 17:57:32 +0100
3dc45198e6
Replace L/R inputs with A/B
Werner Lewis
2022-09-12 17:35:27 +0100
1fade8adb6
Move symbol definition out of __init__
Werner Lewis
2022-09-12 17:34:15 +0100
0bc834b27f
Enable signature algorithms in ssl programs with PSA based hashes
Andrzej Kurek
2022-09-06 17:30:43 -0400
d681746a51
Split some ssl-opt.sh test cases into two
Andrzej Kurek
2022-09-06 14:32:00 -0400
07e3570f8c
Add an ssl-opt.sh run to all.sh for the accel_hash_use_psa config
Andrzej Kurek
2022-09-05 15:39:23 -0400
934e9cd47f
Switch to the new version of hash algorithm checking in ssl-opt.sh
Andrzej Kurek
2022-09-05 14:44:46 -0400
9c061a2d19
Add a posibility to check for the availability of hash algs to ssl-opt
Andrzej Kurek
2022-09-05 10:51:19 -0400
f6a6a2d815
Merge pull request #6216 from AndrzejKurek/tls-tests-no-md-compat
Manuel Pégourié-Gonnard
2022-09-12 10:23:49 +0200
1577c548d1
Use NULL instead of 0
Dave Rodgman
2022-09-09 10:22:15 +0100
fb3093a9cb
Use PSA_PAKE_ROLE_NONE in PSA_PAKE_OPERATION_INIT macro instead of 0
Neil Armstrong
2022-09-08 14:59:32 +0200
7cd4eacbd4
Fix typo in mbedtls_ecjpake_write_shared_key() comment
Neil Armstrong
2022-09-08 14:57:55 +0200
ecb221b1ff
Move operation buffer in operation struct and remove dynamic allocation
Neil Armstrong
2022-09-08 11:21:07 +0200
40afdd2791
Make use of MBEDTLS_MAX_HASH_SIZE macro
Przemek Stekiel
2022-09-06 13:08:28 +0200
c3f2767c25
hash_info.h: add MBEDTLS_MAX_HASH_SIZE macro
Przemek Stekiel
2022-09-06 13:06:28 +0200
9720b881f5
Remove doxygen markup outside doxygen block in psa_pake_sequence comment
Neil Armstrong
2022-09-06 11:39:21 +0200
b39833cff2
Fix typo in psa_pake_sequence comment
Neil Armstrong
2022-09-06 11:36:02 +0200
2a73f21878
Fixup expected status handling in ecjpake_setup() and add more coverage for psa_pake_set_password_key()
Neil Armstrong
2022-09-06 11:34:54 +0200
58af2335d9
Add possible group tests for psk with ECDHE
Jerry Yu
2022-09-06 11:19:31 +0800
079472b4c9
Add multiple pre-configured psk test for server
Jerry Yu
2022-09-06 11:44:18 +0800
fd310ebf2d
fix coding style issues
Jerry Yu
2022-09-06 09:16:35 +0800
bcd5bd933e
Add a comment expliciting usage of internal PAKE step/state/sequence enums
Neil Armstrong
2022-09-05 18:33:23 +0200
78c4e8e9cb
Make ecjpake_do_round() return void and use TEST_ASSERT with a descriptive text instead of returning a value
Neil Armstrong
2022-09-05 18:08:13 +0200
51009d7297
Add comment in ecjpake_do_round() explaining input errors can be detected any time in the input sequence
Neil Armstrong
2022-09-05 17:59:54 +0200
5bbdb70131
Fix style in psa_pake_input()
Neil Armstrong
2022-09-05 17:54:15 +0200
52f83dc471
Merge pull request #6244 from AndrzejKurek/pkcs5-no-md
Manuel Pégourié-Gonnard
2022-09-05 11:01:31 +0200
5e0654a324
Add a compat.sh run to psa_crypto_config_accel_hash_use_psa
Andrzej Kurek
2022-09-03 06:50:09 -0400
c502210291
Adjust pkparse test dependencies
Andrzej Kurek
2022-08-30 06:12:13 -0400
855e45c817
Use simpler int to hex string conversion
Werner Lewis
2022-09-02 17:26:19 +0100
67c9247ed9
Move the T++ in mbedtls_mpi_core_montmul() to within the loop body
Tom Cosgrove
2022-09-02 13:28:59 +0100
56013081c7
Remove unused imports
Werner Lewis
2022-09-02 12:57:37 +0100
a4668a6b6c
Rework TestGenerator to add file targets
Werner Lewis
2022-09-02 11:56:34 +0100
1135b20064
Add mbedtls_mpi_core_add_if() tests for when inputs are aliased
Tom Cosgrove
2022-09-02 11:46:18 +0100
42dfac6ae8
Rename variables and update comments in mpi_core_mla test
Tom Cosgrove
2022-09-02 11:16:39 +0100
a043aeb95c
Rename variables and update comments in mpi_core_sub test
Tom Cosgrove
2022-09-02 10:59:59 +0100
eceb4ccfc3
Rename variables and update comments in mpi_core_add_if test
Tom Cosgrove
2022-09-02 10:46:09 +0100
1b2947a614
Remove mbedtls_ prefix from bignum test cases
Tom Cosgrove
2022-09-02 10:24:55 +0100
216baca131
pkcs5: improve error handling
Andrzej Kurek
2022-09-01 12:59:05 -0400
e3d544c58f
Minor PKCS5 improvements
Andrzej Kurek
2022-09-01 12:33:22 -0400
7a32072038
Setup / deinitialize PSA in pk tests only if no MD is used
Andrzej Kurek
2022-09-01 09:23:09 -0400
3d0dfb99c9
Change the pkcs5_pbkdf2_hmac deprecation approach
Andrzej Kurek
2022-09-01 05:16:48 -0400
f000471c66
Add missing MD dependency for pkcs5_pbkdf2_hmac
Andrzej Kurek
2022-08-31 19:10:42 -0400
11265d78bb
Remove PKCS5 from the ref config in the migration script
Andrzej Kurek
2022-08-31 15:19:20 -0400
26909f348f
Add PSA initialization and teardown to tests using pkcs5
Andrzej Kurek
2022-08-31 15:10:50 -0400
a57267c758
Add a possibility to call PSA_INIT without MBEDTLS_PSA_CRYPTO_C
Andrzej Kurek
2022-08-31 15:09:19 -0400
37a17e890c
Enable PKCS5 in no-md builds in all.sh
Andrzej Kurek
2022-08-31 15:00:55 -0400
345a92b321
Adjust PKCS5 dependencies in check_config
Andrzej Kurek
2022-08-31 15:00:31 -0400
65bf73ed6a
Enable HMAC in config_psa.h regardless of MD availability
Andrzej Kurek
2022-08-31 14:59:31 -0400
ed98e95c81
Adjust pkcs5 test dependencies
Andrzej Kurek
2022-08-31 14:57:11 -0400
890e78ae66
Deprecate mbedtls_pkcs5_pbkdf2_hmac
Andrzej Kurek
2022-08-31 14:43:53 -0400
dd36c76f09
Provide a version of pkcs5_pbkdf2_hmac without MD usage
Andrzej Kurek
2022-08-31 13:29:38 -0400
97fc247d6a
Merge pull request #6232 from AndrzejKurek/pkcs12-no-md
Manuel Pégourié-Gonnard
2022-09-02 09:43:13 +0200
7714368667
Remove unused variable
Tuvshinzaya Erdenekhuu
2022-09-01 17:11:14 +0100
08b223443f
Add new tests
Tuvshinzaya Erdenekhuu
2022-09-01 16:18:00 +0100
fe7524de03
Make minor style change
Tuvshinzaya Erdenekhuu
2022-09-01 16:07:18 +0100
b0fb17a829
Use ASSERT_COMPARE() instead of memcmp() in new tests
Tom Cosgrove
2022-09-01 15:04:43 +0100
e16e6edfce
Remove the dependency on MD_MAX_SIZE from PKCS12
Andrzej Kurek
2022-08-24 15:20:14 -0400
7bd12c5d5e
Remove MD dependency from pkcs12 module
Andrzej Kurek
2022-08-24 10:47:10 -0400
9339f05a81
Swap arguments of TEST_EQUAL() where it improves readability
Tom Cosgrove
2022-09-01 13:02:53 +0100
0777ec1625
Merge pull request #6109 from superna9999/6100-crash-in-test-suite-x509write
Manuel Pégourié-Gonnard
2022-09-01 11:18:30 +0200
f0b2231fcd
Update comments at the end of montmul following Gilles' feedback
Tom Cosgrove
2022-08-31 17:57:34 +0100
5eefc3db3f
Move macros to come before function declarations
Tom Cosgrove
2022-08-31 17:16:50 +0100
aaf3b79bbb
Use Python 3.5 style typing for dependencies
Werner Lewis
2022-08-31 17:16:44 +0100
630110ab23
Fix documentation where ciL should be biL
Tom Cosgrove
2022-08-31 17:09:29 +0100
ed43c6caeb
In add_if(), B MAY be aliased to A. Also update another comment for consistency.
Tom Cosgrove
2022-08-31 11:35:00 +0100
9354990a54
Don't use multiplication by condition in even a semi-constant time function
Tom Cosgrove
2022-08-30 17:41:23 +0100
466f036326
Add dependencies attribute to BaseTarget
Werner Lewis
2022-08-31 17:01:38 +0100
a4b7720cb5
Use combinations_with_replacement
for inputs
Werner Lewis
2022-08-31 16:55:44 +0100
8253486c4f
Add session ticket support for server
Jerry Yu
2022-08-30 10:42:33 +0800
95699e72f3
Add session ticket identity check
Jerry Yu
2022-08-21 19:22:23 +0800
89eb95a221
Add ticket age tolerance config option
Jerry Yu
2022-08-21 19:21:45 +0800
661dd943b6
Add dummy server name extension paser
Jerry Yu
2022-08-03 14:50:01 +0800
e976492a11
Add session ticket tests for client
Jerry Yu
2022-08-03 14:34:24 +0800
0203534c64
Add session save after got new session ticket
Jerry Yu
2022-08-03 12:43:06 +0800
e6527512d2
Add obfuscated_ticket_age write
Jerry Yu
2022-08-03 13:39:05 +0800
49d63f8c36
Implement generate resumption master secret
Jerry Yu
2022-08-03 12:28:08 +0800
db8c5faed7
Add getting session ticket for client
Jerry Yu
2022-08-03 12:10:13 +0800
e00d6d6b55
Merge pull request #6135 from yuhaoth/pr/tls13-finalize-external-psk-negotiation
Ronald Cron
2022-08-31 17:21:57 +0200
9077dbfd94
Remove NULL pointer validation in poly1305.c
Tuvshinzaya Erdenekhuu
2022-08-05 16:07:47 +0100
913819e73f
Remove NULL pointer validation in chachapoly.c
Tuvshinzaya Erdenekhuu
2022-08-05 16:07:47 +0100
7e2e2a9762
Add new checks in rsa_invalid_param test
Tuvshinzaya Erdenekhuu
2022-07-26 10:09:24 +0100
6a473b2f17
Remove NULL pointer validation in rsa.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:49:56 +0100
1c5609df09
Remove NULL pointer validation in dhm.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:49:56 +0100
61f1372b8c
Remove unused variables from shax.function
Tuvshinzaya Erdenekhuu
2022-07-29 16:15:03 +0100
ca6fde2e1f
Enable invalid param test in sha512
Tuvshinzaya Erdenekhuu
2022-07-29 15:43:04 +0100
5893ab02b6
Re-introduce ENUM validation in sha512.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:59:19 +0100
3446c2603a
Remove NULL pointer validation in sha512.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:59:19 +0100
1db192bc5a
Enable invalid param test in sha256
Tuvshinzaya Erdenekhuu
2022-07-29 15:44:38 +0100
696dfb6b1e
Re-introduce ENUM validation in sha256.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:59:19 +0100
df2f560316
Remove NULL pointer validation in sha256.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:59:19 +0100
6b150ad8fa
Remove NULL pointer validation in sha1.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:59:19 +0100
d5ebedffd0
Removed unused variable in cipher test
Tuvshinzaya Erdenekhuu
2022-08-02 10:12:37 +0100
104eb7f4a8
Enabled invalid param test for gcm
Tuvshinzaya Erdenekhuu
2022-07-29 14:48:21 +0100
c6b8a6704e
Re-introduce ENUM validation in gcm.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
505ce0b37e
Remove NULL pointer validation in gcm.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
6c68927948
Enabled invalid param test for cipher
Tuvshinzaya Erdenekhuu
2022-07-29 14:45:55 +0100
80a6af6ab5
Re-introduce ENUM validation in cipher.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
5ce8e52907
Remove NULL pointer validation in cipher.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
ce8908ed0a
Remove NULL pointer validation in chacha20.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
c7d7220814
Enabled invalid param test in camellia
Tuvshinzaya Erdenekhuu
2022-07-29 14:45:04 +0100
1fd7f98546
Re-introduce ENUM validation in camellia.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
6291b131ca
Remove NULL pointer validation in camellia.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
c855bf5285
Enabled invalid param test for aes
Tuvshinzaya Erdenekhuu
2022-07-29 14:43:51 +0100
a8ef1565bb
Re-introduce ENUM validation in aes.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
cac11d7797
Remove NULL pointer validation in aes.c
Tuvshinzaya Erdenekhuu
2022-08-05 15:31:57 +0100
0050b918f0
Added new tests in pk_invalid_param
Tuvshinzaya Erdenekhuu
2022-08-30 13:15:55 +0100
ed99ed34f3
Add spaces to comply with coding style
Tuvshinzaya Erdenekhuu
2022-08-02 14:02:28 +0100
c388af63e4
Remove extra spacings
Tuvshinzaya Erdenekhuu
2022-08-02 11:54:54 +0100
dcf9c96274
Remove NULL pointer validation in pkparse.c
Tuvshinzaya Erdenekhuu
2022-07-29 14:51:51 +0100
088e936839
Remove NULL pointer validation in pkwrite.c
Tuvshinzaya Erdenekhuu
2022-07-29 14:51:50 +0100
79bf51a109
Add new test for invalid param in pk.c
Tuvshinzaya Erdenekhuu
2022-07-29 15:06:52 +0100
78c1d8c299
Re-introduce ENUM validation in pk.c
Tuvshinzaya Erdenekhuu
2022-07-29 14:51:50 +0100
26b39c6c6f
Remove NULL pointer validation in pk.c
Tuvshinzaya Erdenekhuu
2022-07-29 14:51:50 +0100
6688669124
replace psk&dhe with psk_or_ephemeral
Jerry Yu
2022-08-31 17:08:34 +0800
b764fb60aa
Remove MBEDTLS_MD_C dep in config_psa.h when ECJPAJE is wanted
Neil Armstrong
2022-08-30 14:38:57 +0200
e5fdf20a79
Make ecjpake_rounds test depends on PSA_WANT_ALG_TLS12_PSK_TO_MS
Neil Armstrong
2022-08-30 10:24:39 +0200
eae1dfcc46
Change to more efficient error injection in ecjpake_do_round()
Neil Armstrong
2022-06-21 13:37:06 +0200
db5b960a7e
Permit any psa_pake_input() step to fail when error injected in input
Neil Armstrong
2022-06-20 14:56:50 +0200
f19a3cb613
Use the mbedtls_ecjpake_write_shared_key() to input raw shared key material as derivation secret
Neil Armstrong
2022-06-15 16:00:29 +0200
12663092bc
Introduce mbedtls_ecjpake_write_shared_key() to export the EC J-PAKE shared key material before the KDF()
Neil Armstrong
2022-06-15 16:00:00 +0200
75673abef5
Only build ecjpake_do_round() is PSA_WANT_ALG_JPAKE is defined
Neil Armstrong
2022-06-15 17:39:01 +0200
8c2e8a6cda
Add ecjpake_rounds_inject tests to exercise error injection
Neil Armstrong
2022-06-15 15:28:32 +0200
f983caf6c4
Move JPAKE rounds into a common function, add reordering and error injection
Neil Armstrong
2022-06-15 15:27:48 +0200
db05cbfb86
Introduce and use mbedtls_ecjpake_to_psa_error() to translate various ECP/MPI errors to expected PSA errors
Neil Armstrong
2022-06-15 15:25:45 +0200
1e855601ca
Fix psa_pake_get_implicit_key() state & add corresponding tests in ecjpake_rounds()
Neil Armstrong
2022-06-15 11:32:11 +0200
ed40782628
Fix SECP256R1 enable when PSA_WANT_ALG_JPAKE is defined
Neil Armstrong
2022-06-15 11:21:33 +0200
19bb9913c2
Update changelog entry for new PSA PAKE feature
Neil Armstrong
2022-06-13 18:43:32 +0200
bb28c56796
Add changelog entry for new PSA PAKE feature
Neil Armstrong
2022-06-10 09:29:06 +0200
e92311176a
Add missing parentheses on return statements
Neil Armstrong
2022-06-10 09:03:41 +0200
5fb07c6a96
No need to check for state in psa_pake_setup()
Neil Armstrong
2022-06-10 09:00:00 +0200
a557cb8c8b
Fixing XXX_ALG_ECJPAKE to XXX_ALG_JPAKE to match specification
Neil Armstrong
2022-06-10 08:58:32 +0200
fbc4b4aa8e
Fix psa_pake_abort() order to correctly free memory when alg is PSA_ALG_JPAKE
Neil Armstrong
2022-06-10 08:54:53 +0200
a24278a74a
Add invalid hash ecjpake_setup() test case
Neil Armstrong
2022-06-08 18:10:26 +0200
9c8b492052
Add advanced psa_pake_input/psa_pake_output test in ecjpake_setup() test
Neil Armstrong
2022-06-08 17:59:07 +0200
50de0ae0c4
Add check calling psa_pake_setup() on an already initialized operation in ecjpake_setup() test
Neil Armstrong
2022-06-08 17:46:24 +0200
98506ab677
Add checks for INVALID_ARGUMENT for psa_pake_output/psa_pake_input in ecjpake_setup() test
Neil Armstrong
2022-06-08 17:43:20 +0200
0d001ef3da
Check more parameters of psa_pake_output/psa_pake_input
Neil Armstrong
2022-06-08 17:42:52 +0200
645cccd6a8
Add checks for BAD_STATE before calling psa_pake_setup() in ecjpake_setup() test
Neil Armstrong
2022-06-08 17:36:23 +0200
707d9574f8
Add checks for psa_pake_set_user/psa_pake_set_peer in test_suite_psa_crypto
Neil Armstrong
2022-06-08 17:31:49 +0200
ebd9a03743
Cleanup PSA pake test dependency
Neil Armstrong
2022-06-08 17:24:56 +0200
4efd7a463d
Check for PSA_ALG_ECJPAKE alg for the ECJPAKE builtin implementation
Neil Armstrong
2022-06-08 17:18:31 +0200
df598abbd3
Fix key usage test in psa_pake_set_password_key()
Neil Armstrong
2022-06-08 17:17:08 +0200
7616ad28e3
Fix guard of ecjpake.h include in crypto_extra.h
Neil Armstrong
2022-06-08 14:07:58 +0200
63212ddf2f
Fix formatting of PSA_PAKE_OPERATION_INIT macro
Neil Armstrong
2022-06-08 14:06:22 +0200
7aaa34a1ba
Fix formatting of PSA_PAKE_OUTPUT_SIZE & PSA_PAKE_INPUT_SIZE macros
Neil Armstrong
2022-06-08 14:05:02 +0200
6b1f99f5f1
Use proper buffer size macro for allocation in psa_pake_ecjpake_setup()
Neil Armstrong
2022-06-08 13:37:37 +0200
5282393091
Remove useless braces in psa_crypto_pake.c
Neil Armstrong
2022-06-08 13:36:12 +0200
c29f8477e2
Fix comments in psa_crypto_pake.c
Neil Armstrong
2022-06-08 13:34:49 +0200
d597bc705f
Add PSA PAKE tests
Neil Armstrong
2022-05-25 11:28:39 +0200
637d0a0290
Enable buildin PSA PAKE implementation when ECJPAKE_C is selected
Neil Armstrong
2022-05-25 11:28:22 +0200
a4cc7d6d6b
Add PSA PAKE buildin implementation
Neil Armstrong
2022-05-25 11:30:48 +0200
4b5710f8a0
Allow KEY_TYPE_PASSWORD/KEY_TYPE_PASSWORD_HASH to be imported
Neil Armstrong
2022-05-25 11:30:27 +0200
35269d93da
Fill psa_pake_operation and INPUT/OUTPUT min/max sizes for PSA PAKE builtin implementation
Neil Armstrong
2022-05-25 11:26:31 +0200
6d1fc45f08
Merge pull request #6249 from AndrzejKurek/fix-ssl-programs-no-md
Gilles Peskine
2022-08-31 09:56:40 +0200
7101b87040
fix wrong description
Jerry Yu
2022-08-31 14:15:23 +0800
1e05b6dd6d
fix coding style and unnecessary assignment
Jerry Yu
2022-08-31 10:35:52 +0800
dcce505a08
Add a missing guard in an example program
Andrzej Kurek
2022-08-30 17:56:08 -0400
076f7257e9
Don't remove programs/fuzz/Makefile
Gilles Peskine
2022-08-30 21:02:44 +0200
dd06efbb8d
Don't try restoring a file if no backup is available
Gilles Peskine
2022-08-30 21:02:00 +0200
f0c8a8cf44
One statement per line
Tom Cosgrove
2022-08-30 15:15:02 +0100
5dd97e60d5
Update comments following code review
Tom Cosgrove
2022-08-30 14:31:49 +0100
b496486cdc
Reorder functions in bignum_core.[ch]
Tom Cosgrove
2022-08-30 11:57:22 +0100
bf22a2500b
Merge pull request #6208 from AndrzejKurek/tls-tests-no-md-structured
Manuel Pégourié-Gonnard
2022-08-30 12:34:37 +0200
a84ce3fa81
Merge pull request #6111 from superna9999/6101-programs-dont-build-with-libtestdriver-and-use-psa
Manuel Pégourié-Gonnard
2022-08-30 12:29:01 +0200
c5e0a8a890
Add missing error message
Dave Rodgman
2022-08-15 14:24:22 +0100
64937856e0
Correct order of extended key usage attributes
Dave Rodgman
2022-08-15 14:12:25 +0100
18b02d35d6
Remove redundant sig_alg argument
Dave Rodgman
2022-08-15 11:01:54 +0100
2ee7bbd10a
Replace some constant values with sizeof
Dave Rodgman
2022-08-11 16:23:17 +0100
e2b772d1b6
Fix whitespace, missing const
Dave Rodgman
2022-08-11 16:04:13 +0100
5f3f0d06e6
Address minor review comments
Dave Rodgman
2022-08-11 14:38:26 +0100
ec9f6b4de1
Fix minor compile errors
Dave Rodgman
2022-07-27 14:34:58 +0100
abdb0df91d
Fix test fails due to changes in cert generation
Dave Rodgman
2022-07-22 15:45:30 +0100
ca841d32db
Add test for mbedtls_x509write_crt_set_ext_key_usage, and fix reversed order
Nicholas Wilson
2015-11-13 14:22:36 +0000
99a96b1c22
Improve programs/cert_write with a way to set the signature digest
Nicholas Wilson
2015-09-10 18:28:01 +0100
8e5bdfbbcf
Improve programs/cert_write with a way to set extended key usages
Nicholas Wilson
2015-09-09 19:03:34 +0100
0edfa9dd26
Merge pull request #6207 from daverodgman/ticket_time
Dave Rodgman
2022-08-30 10:03:06 +0100
81f24443b7
Modify wording in docstrings
Werner Lewis
2022-08-25 16:27:05 +0100
63d40e6b46
shorten the description
Jerry Yu
2022-08-29 20:38:39 +0800
e5834fd0d7
remove unnecessary test
Jerry Yu
2022-08-29 20:16:09 +0800
d932de8857
Remove incorrect constant-time claim from doc for mbedtls_mpi_core_add_if()
Tom Cosgrove
2022-08-25 16:43:43 +0100
3366ebcb66
Add test_generation.py dependency in builds
Werner Lewis
2022-08-25 16:18:22 +0100
e7b4b58403
Add psk kex mode tests
Jerry Yu
2022-08-25 17:53:13 +0800
76f45625e6
Fix trailing whitespace
Werner Lewis
2022-08-25 13:21:45 +0100
9df9faac5c
Use argparser default for targets
Werner Lewis
2022-08-25 12:49:41 +0100
6ef5436f3c
Clarify documentation
Werner Lewis
2022-08-25 12:29:46 +0100
f156c43702
Use argparser default for directory
Werner Lewis
2022-08-25 11:30:17 +0100
a16b617fe9
Disable abstract check in pylint
Werner Lewis
2022-08-25 11:17:35 +0100
3e06fce260
Remove old tests.
Jerry Yu
2022-08-25 17:51:57 +0800
c4afef7f46
Use spec values as-is for test data
Werner Lewis
2022-08-25 10:29:19 +0100
ecbb124292
Fix incorrect parameter name in mbedtls_mpi_core_add_if() doc comment
Tom Cosgrove
2022-08-25 10:13:44 +0100
e3ad22ecf2
Fix TARGET types and code style
Werner Lewis
2022-08-25 10:02:06 +0100
6d654c6491
Raise NotImplementedError in abstract methods
Werner Lewis
2022-08-25 09:56:51 +0100
3c01d47ef7
Update test cases
Jerry Yu
2022-08-25 11:34:36 +0800
0baf907e11
remove select_ciphersuite
Jerry Yu
2022-08-25 11:21:04 +0800
c5a23a0f12
fix various issues
Jerry Yu
2022-08-25 10:51:44 +0800
a195ce73f5
Disable pylint unused arg in __new__
Werner Lewis
2022-08-24 18:09:10 +0100
9990b30568
Use typing casts for fixed-width tuples
Werner Lewis
2022-08-24 18:03:30 +0100
6300b4f7e0
Add missing typing
Werner Lewis
2022-08-24 17:46:22 +0100
d03d2a3a91
Remove trailing whitespace in description
Werner Lewis
2022-08-24 17:20:29 +0100
cfd4768df2
Use __new__() for case counting
Werner Lewis
2022-08-24 17:04:07 +0100
2b527a394d
Split generate_tests to reduce code complexity
Werner Lewis
2022-08-24 12:42:00 +0100
b2c06f4acf
Remove stale comment, and fix whitespace issue
Tom Cosgrove
2022-08-24 17:45:58 +0100
699e126942
Use ABCMeta for abstract classes
Werner Lewis
2022-08-24 12:18:25 +0100
169034ae63
Add details to docstrings
Werner Lewis
2022-08-23 16:07:37 +0100
6c70d745d1
Convert bools to int before arithmetic
Werner Lewis
2022-08-24 16:37:44 +0100