You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We confirmed that we now could not pass a salt length through the rust-mbedtls APIs. However it was found that the function rsa_rsassa_pss_sign_ext does allow us to supply a salt length (note this is in the mbedtls-sys-auto).
Also may need to call psa_crypto_init before any call to above functions.
Acceptance Criteria
Update the rust-mbedtls to have a function that allows us to pass a salt_length to the sign function or makes use of the current logic (where salt_length == hash_length)
Ensure there isn’t a performance degradation
The text was updated successfully, but these errors were encountered:
Background
We confirmed that we now could not pass a salt length through the
rust-mbedtls
APIs. However it was found that the functionrsa_rsassa_pss_sign_ext
does allow us to supply a salt length (note this is in thembedtls-sys-auto
).Note
When turning on
tls13
feature, need to be careful to following PSA specific limitationsFrom mbedtls-sys/vendor/docs/architecture/psa-migration/psa-limitations.md :
Also may need to call
psa_crypto_init
before any call to above functions.Acceptance Criteria
rust-mbedtls
to have a function that allows us to pass asalt_length
to the sign function or makes use of the current logic (where salt_length == hash_length)The text was updated successfully, but these errors were encountered: