Age | Commit message (Collapse) | Author |
|
Unify consistency tests for mbedtls_pk_import_into_psa and mbedtls_pk_copy_from_psa
|
|
ronald-cron-arm/improve-version-selection-tests-titles
ssl-opt.sh: Improve version selection test titles
|
|
Fix fake cases listed of compat.sh
|
|
Update BRANCHES for 3.6
|
|
mbedtls_pk_setup_opaque always uses PKCS#1v1.5 for RSA keys
|
|
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
|
If the public key is exported with mbedtls_pk_write_pubkey_der()
it should be re-imported with mbedtls_pk_parse_public_key().
Alternative options (when PK_WRITE is not defined), i.e.
mbedtls_ecp_point_write_binary() and mbedtls_rsa_write_pubkey(),
export the key in a different format which cannot be parsed by
pk_parse module so mbedtls_ecp_point_read_binary() and
mbedtls_rsa_parse_pubkey() should be used respectively in this
case.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
This is also used in pk_psa_sign() to properly size buffers holding
the public key.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Use mbedtls_test_key_consistency_psa_pk() to verify that the
generated PK contexts match with the original PSA keys instead
of doing sign/verify and encrypt/decrypt.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Previously only only PKCS1 v1.5 was tested.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
defined
This bug was not found until now because:
- !PK_[WRITE|PARSE]_C is only tested in component_full_no_pkparse_pkwrite()
- the test only case concerning RSA key had MBEDTLS_PK_WRITE_C as dependency
so it was not executed in that component.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
The behavior of the functions is kept intact. Changes concern:
- generate the initial PK context using PSA parameters only; this
allows to remove 1 input parameter for the test function.
- add/fix comments.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
[Bugfix] Fix null dereference in `mbedtls_pk_verify_ext()`
|
|
Enable TLS 1.3 by default
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Add issues fixed to threading MVP changelog entry
|
|
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
|
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Try to perform verify_ext() using the opaque context when the
key type is MBEDTLS_PK_RSASSA_PSS. This currently leads to a
crash while running the test suite and this will be fixed by
the next commit.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
|
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
|
Codestyle autogen fix
|
|
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
|
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
|
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
|
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
|
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
|
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
|
Update psa-thread-safety.md to reflect version 3.6 changes
|
|
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
|
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
|
Add changelog entry for threading MVP
|
|
Co-authored-by: Paul Elliott <62069445+paul-elliott-arm@users.noreply.github.com>
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
|
|
gilles-peskine-arm/pk_import_into_psa-test-lifetime
pk_import_into_psa: test persistent keys
|
|
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
|
Make PSA global_data thread safe
|
|
A few typo fixes, extrapolations and extra details.
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
|
|
Adds missing transition and italicises internal functions
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
|
|
TLS 1.3: Documentation update for 3.6 release
|
|
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
|
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|