Lines Matching refs:object
147 …ey pair or public key (`mbedtls_pk_context`) and needs to create a PSA key object (`psa_key_id_t`).
149 Reasons for first creating a legacy key object, where it's impossible or impractical to directly cr…
151 * A very common case where the input is a legacy key object is parsing. PSA does not (yet) have an …
153 * The pk object may be created by a part of the application (or a third-party library) that hasn't …
155 Reasons for needing a PSA key object:
160 Gap: a way to create a PSA key object from an `mbedtls_pk_context`. This partially exists in the fo…
164 … needs to use it through an interface that wants an `mbedtls_pk_context` object. Typically, there …
169 …object to the PSA key, which is error-prone: if the PSA key is destroyed but the PK object isn't, …
174 …ks for any PSA key but is limited by the key's lifetime and creates a PK object with limited funct…
175 …ction. This requires an exportable key but creates a fully independent, fully functional PK object.
256 …object. Just choosing one algorithm is problematic because it doesn't allow implementation-specifi…
257 …s completely orthogonal to the information from the `mbedtls_pk_context` object. It is convenient,…
283 …_attributes` sets the algorithm usage policy based on information in the key object and on `usage`.
290 …he attributes is consistent with the content of the `mbedtls_pk_context` object (RSA/ECC, and avai…
309 * The resulting pk object has a transparent type, not `MBEDTLS_PK_OPAQUE`. That's `MBEDTLS_PK_RSA` …
310 * Once this function returns, the pk object is completely independent of the PSA key.
316 #### API to create a PK object that wraps a PSA key