Move ssl_ticket to the PSA API #9874
Labels
api-break
This issue/PR breaks the API and must wait for a new major version
component-tls
size-s
Estimated task size: small (~2d)
The
ssl_ticket
module referencescipher.h
in its API. This API will disappear in TF-PSA-Crypto 1.0, which Mbed TLS 4.0 will consume. The goal of this issue is to adaptssl_ticket.h
to not indirectly exposecipher.h
APIs.It's ok if the
ssl_ticket
module still referencescipher.h
interfaces in private places: insidessl_ticket.c
, or in private fields of structures defined inssl_ticket.h
.The goal of this issue is therefore to adapt the one place where
ssl_ticket.h
publicly exposes acipher.h
interface: the functionmbedtls_ssl_ticket_setup
, which takes an argument of typembedtls_cipher_type_t
. Change this function to take two arguments instead: a PSA key type and a PSA algorithm. Adapt the implementation and all the code in our code base that calls this function.The text was updated successfully, but these errors were encountered: