Lines Matching refs:object

80 …by the calling code. For example, multipart operations store state in a multipart operation object.
92 1. First create a key object with a key creation function. The two most common ones are [`psa_impor…
94 3. Finally destroy the key object with [`psa_destroy_key`](https://mbed-tls.readthedocs.io/projects…
98 …feeef74ac6f75bf). If you need the public key corresponding to a key pair object, call [`psa_export…
341object contains the necessary key material. In the PSA API, an operation object contains a referen…
345 Here is an overview of the lifecycle of a key object.
352 ….io/projects/api/en/development/api/file/crypto__types_8h/#_CPPv412psa_key_id_t) to the key object.
356 …in the following sections to perform operations on the key. The same key object can be used in mul…
357 4. To free the resources used by the key object, call [`psa_destroy_key`](https://mbed-tls.readthed…
367 5. Finally free the resources associated with the operation object by calling `mbedtls_cipher_free`.
376 1. Create an operation object of type [`psa_cipher_operation_t`](https://mbed-tls.readthedocs.io/pr…
394 7. Finally free the resources associated with the operation object by calling `mbedtls_cipher_free`.
405 1. Create an operation object of type [`psa_aead_operation_t`](https://mbed-tls.readthedocs.io/proj…
418 …p function: the PSA API does not have a special way to reuse an operation object with the same key.
512 5. Finally free the resources associated with the operation object by calling `mbedtls_md_free`.
516 1. Create an operation object of type [`psa_hash_operation_t`](https://mbed-tls.readthedocs.io/proj…
529object contains the necessary key material. In the PSA API, an operation object contains a referen…
533 Here is an overview of the lifecycle of a key object.
540 ….io/projects/api/en/development/api/file/crypto__types_8h/#_CPPv412psa_key_id_t) to the key object.
544 …in the following sections to perform operations on the key. The same key object can be used in mul…
545 4. To free the resources used by the key object, call [`psa_destroy_key`](https://mbed-tls.readthed…
555 5. Finally free the resources associated with the operation object by calling `mbedtls_md_free`.
563 5. Finally free the resources associated with the operation object by calling `mbedtls_cipher_free`.
567 1. Create an operation object of type [`psa_mac_operation_t`](https://mbed-tls.readthedocs.io/proje…
574 1. Create an operation object of type [`psa_mac_operation_t`](https://mbed-tls.readthedocs.io/proje…
598 …group__key__derivation/). This is a generic interface using an operation object with one function …
600 1. Create an operation object of type [`psa_key_derivation_operation_t`](https://mbed-tls.readthedo…
602 …b2d7ce8705dd8e4a093f4b8a21a0c15a) instead for an input that is a PSA key object.) The input step v…
607 …a90fdd2716124d0bd258826184824675f) to free the resources associated with the key derivation object.
611 …erivation API for PBKDF2. This is a generic interface using an operation object with one function …
613 1. Create an operation object of type [`psa_key_derivation_operation_t`](https://mbed-tls.readthedo…
616 …b2d7ce8705dd8e4a093f4b8a21a0c15a) instead for an input that is a PSA key object.) The input step v…
622 …a90fdd2716124d0bd258826184824675f) to free the resources associated with the key derivation object.
647 …LS_ENTROPY_xxx` symbols). Its set of sources is equivalent to an entropy object configured with `m…
665 Here is an overview of the lifecycle of a PSA key object.
672 ….io/projects/api/en/development/api/file/crypto__types_8h/#_CPPv412psa_key_id_t) to the key object.
676 …in the following sections to perform operations on the key. The same key object can be used in mul…
677 4. To free the resources used by the key object, call [`psa_destroy_key`](https://mbed-tls.readthed…
706 … RSA key types in the PSA API. In the PSA API, key pairs and public keys are separate object types.
709 …eplaces the use of `mbedtls_rsa_set_padding` on an `mbedtls_rsa_context` object. See the list of a…
725 …s in the PSA API. In the PSA API, key pairs and public keys are separate object types. The PSA API…
780object is by randomly generating it with [`psa_generate_key`](https://mbed-tls.readthedocs.io/proj…
784 To create a key object from existing material, use [`psa_import_key`](https://mbed-tls.readthedocs.…
798 …ion for how to use the PK module for key parsing and construct a PSA key object from the PK object.
811 1. First create a PK object with the desired key material.
822 5. You can now free the PK object with `mbedtls_pk_free`.
845 …w to import a private key which is initially in an `mbedtls_ecp_keypair` object. (This includes `m…
864 …w to import a private key which is initially in an `mbedtls_ecp_keypair` object. Error checks are …
895 …256d3e8d4323a45aafa7d2b6c59a36f6) checks the compatibility between a key object and a mechanism. I…
901 To export a PSA public key or to export the public key of a PSA key pair object, call [`psa_export_…
909 This section discusses how to use a PSA key in a context that requires a PK object, such as PK form…
911 …ee344ffe630c40447bd08) copies a PSA key into a PK object. The PSA key must be exportable. The PK o…
912 …c12ea0ddddb8b15a4e) copies the public part of a PSA key into a PK object. The PK object remains va…
913object that wraps the PSA key. This functionality is only available when `MBEDTLS_USE_PSA_CRYPTO` …
981 1. Create an operation object of type [`psa_sign_hash_interruptible_operation_t`](https://mbed-tls.…
982 …ruptible__hash_1ga441988da830205182b3e791352537fac) with the private key object and the hash to ve…
987 1. Create an operation object of type [`psa_verify_hash_interruptible_operation_t`](https://mbed-tl…
988 …ruptible__hash_1ga912eb51fb94056858f451f276ee289cb) with the private key object and the hash and s…
1052 * Prepare a key object containing the private key, for example with [`psa_import_key`](https://mbed…
1053 * Prepare a key object containing the public key, for example with [`psa_import_key`](https://mbed-…
1084 …operation context. Thus, to use Diffie-Hellman, you need to create a key object, then perform the …
1086 Here is an overview of the lifecycle of a key object.
1099 ….io/projects/api/en/development/api/file/crypto__types_8h/#_CPPv412psa_key_id_t) to the key object.
1103 …in the following sections to perform operations on the key. The same key object can be used in mul…
1104 4. To free the resources used by the key object, call [`psa_destroy_key`](https://mbed-tls.readthed…
1118 A typical workflow for ECDH using the legacy API without a context object is:
1300 …or with `psa_export_public_key` to export the public key from a key pair object. See also “[Export…
1302 A PSA key object is immutable, so there is no need for an equivalent of `mbedtls_rsa_copy`. (There …