aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_ssl_debug_helpers.py
AgeCommit message (Collapse)AuthorFilesLines
2024-05-30Merge pull request #9155 from ttytm/fix-typoGilles Peskine1-1/+1
fix typo
2024-05-18fix typoTuriiya1-1/+1
Signed-off-by: Turiiya <34311583+ttytm@users.noreply.github.com>
2024-05-13Rename framework_path to framework_scripts_pathDavid Horstmann1-1/+1
This name is more descriptive of its purpose, since it actually adds framework/scripts to the path rather than just framework/ Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-05-13Add framework_path moduleDavid Horstmann1-0/+2
This allows scripts in the scripts/ directory to get the path to the mbedtls_framework module in framework/scripts/ Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-05-13Update references to mbedtls_devDavid Horstmann1-1/+1
Change these to point to the new mbedtls_framework module in the framework submodule. Signed-off-by: David Horstmann <david.horstmann@arm.com>
2023-11-02update headersDave Rodgman1-25/+2
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
2023-06-23Fix extra character in debug stringGilles Peskine1-1/+1
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-06-20Fix very high stack usage in SSL debug codeGilles Peskine1-11/+5
Use a switch instead of an array. The array was very hollow for some enum types such as mbedtls_ssl_protocol_version (which formerly used small values, but switched to using the protocol encoding as enum values in Mbed TLS 3.2.0). Optimizing compilers know how to compile a switch into a lookup table when the range warrants it. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-07-08Fix formatting of generate_ssl_debug_helpers.pyPaul Elliott1-3/+2
Satisfy pylint formatting errors Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2022-07-08Fix generation of ssl_debug_helpersPaul Elliott1-2/+2
File was being generated with tabs rather than spaces which breaks release builds Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2022-05-11Fix additional misspellings found by codespellAndrzej Kurek1-1/+1
Remaining hits seem to be hex data, certificates, and other miscellaneous exceptions. List generated by running codespell -w -L keypair,Keypair,KeyPair,keyPair,ciph,nd Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
2022-05-11Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell.Shaun Case1-1/+1
Signed-off-by: Shaun Case <warmsocks@gmail.com> Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
2022-05-09fix comment and name issues in debug helperJerry Yu1-6/+6
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2022-05-09add named group debug helperJerry Yu1-3/+66
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2022-04-22Fix spelling error in generated helper codeDave Rodgman1-2/+2
Also a minor comment fix in the generator script. Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
2022-04-22Fix Doxygen syntax error in generated codeDave Rodgman1-2/+2
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
2022-03-29remove unnecessary conditionJerry Yu1-2/+1
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2022-03-22add signature algorithm debug helperJerry Yu1-2/+62
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2021-12-16Fix typo in python script method nameDavid Horstmann1-2/+2
Change 'tranlation' -> 'translation' in the name of a method in `scripts/generate_ssl_debug_headers.py`. Signed-off-by: David Horstmann <david.horstmann@arm.com>
2021-12-16Add copyright notice to ssl_debug_helpers*Gilles Peskine1-0/+22
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-12-15Rename ssl_debug_helpers.hGilles Peskine1-1/+1
It's no longer generated, so rename it accordingly. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-12-15Remove generation of ssl_debug_helpers_generated.hGilles Peskine1-37/+2
It's now under version control and meant to be updated manually. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-12-10fix build failJerry Yu1-1/+2
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2021-12-10fix generate check failJerry Yu1-1/+1
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2021-12-10fix test_cmake_as_package failJerry Yu1-14/+38
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2021-12-10fix typos errorJerry Yu1-4/+4
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2021-12-10fix wrong typoJerry Yu1-2/+2
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2021-12-10add enum value to string helpersJerry Yu1-0/+310
Only add helpers for enum in `ssl.h`. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>