Lines Matching refs:operation
77 * the operation as if the library had been initialized or to return
249 * - 0 does not allow any cryptographic operation with the key. The key
527 * If a key is currently in use in a multipart operation, then destroying the
528 * key will cause the multipart operation to fail.
903 * Before calling any function on a hash operation object, the application must
907 * psa_hash_operation_t operation;
908 * memset(&operation, 0, sizeof(operation));
912 * psa_hash_operation_t operation = {0};
917 * psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT;
922 * psa_hash_operation_t operation;
923 * operation = psa_hash_operation_init();
933 * This macro returns a suitable initializer for a hash operation object
937 /** Return an initial value for a hash operation object.
941 /** Set up a multipart hash operation.
945 * -# Allocate an operation object which will be passed to all the functions
947 * -# Initialize the operation object with one of the methods described in the
957 * operation will need to be reset by a call to psa_hash_abort(). The
958 * application may call psa_hash_abort() at any time after the operation
962 * eventually terminate the operation. The following events terminate an
963 * operation:
967 * \param[in,out] operation The operation object to set up. It must have
984 * The operation state is not valid (it must be inactive), or
989 psa_status_t psa_hash_setup(psa_hash_operation_t *operation,
992 /** Add a message fragment to a multipart hash operation.
996 * If this function returns an error status, the operation enters an error
999 * \param[in,out] operation Active hash operation.
1010 * The operation state is not valid (it must be active), or
1015 psa_status_t psa_hash_update(psa_hash_operation_t *operation,
1025 * When this function returns successfully, the operation becomes inactive.
1026 * If this function returns an error status, the operation enters an error
1037 * \param[in,out] operation Active hash operation.
1056 * The operation state is not valid (it must be active), or
1061 psa_status_t psa_hash_finish(psa_hash_operation_t *operation,
1075 * When this function returns successfully, the operation becomes inactive.
1076 * If this function returns an error status, the operation enters an error
1083 * \param[in,out] operation Active hash operation.
1097 * The operation state is not valid (it must be active), or
1102 psa_status_t psa_hash_verify(psa_hash_operation_t *operation,
1106 /** Abort a hash operation.
1108 * Aborting an operation frees all associated resources except for the
1109 * \p operation structure itself. Once aborted, the operation object
1110 * can be reused for another operation by calling
1113 * You may call this function any time after the operation object has
1116 * In particular, calling psa_hash_abort() after the operation has been
1120 * \param[in,out] operation Initialized hash operation.
1131 psa_status_t psa_hash_abort(psa_hash_operation_t *operation);
1133 /** Clone a hash operation.
1135 * This function copies the state of an ongoing hash operation to
1136 * a new operation object. In other words, this function is equivalent
1144 * \param[in] source_operation The active hash operation to clone.
1145 * \param[in,out] target_operation The operation object to set up.
1179 * \param key Identifier of the key to use for the operation. It
1221 * \param key Identifier of the key to use for the operation. It
1261 * Before calling any function on a MAC operation object, the application must
1265 * psa_mac_operation_t operation;
1266 * memset(&operation, 0, sizeof(operation));
1270 * psa_mac_operation_t operation = {0};
1275 * psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT;
1280 * psa_mac_operation_t operation;
1281 * operation = psa_mac_operation_init();
1292 * This macro returns a suitable initializer for a MAC operation object of type
1296 /** Return an initial value for a MAC operation object.
1300 /** Set up a multipart MAC calculation operation.
1308 * -# Allocate an operation object which will be passed to all the functions
1310 * -# Initialize the operation object with one of the methods described in the
1320 * operation will need to be reset by a call to psa_mac_abort(). The
1321 * application may call psa_mac_abort() at any time after the operation
1325 * eventually terminate the operation through one of the following methods:
1329 * \param[in,out] operation The operation object to set up. It must have
1332 * \param key Identifier of the key to use for the operation. It
1333 * must remain valid until the operation terminates.
1353 * The operation state is not valid (it must be inactive), or
1358 psa_status_t psa_mac_sign_setup(psa_mac_operation_t *operation,
1362 /** Set up a multipart MAC verification operation.
1368 * -# Allocate an operation object which will be passed to all the functions
1370 * -# Initialize the operation object with one of the methods described in the
1381 * operation will need to be reset by a call to psa_mac_abort(). The
1382 * application may call psa_mac_abort() at any time after the operation
1386 * eventually terminate the operation through one of the following methods:
1390 * \param[in,out] operation The operation object to set up. It must have
1393 * \param key Identifier of the key to use for the operation. It
1394 * must remain valid until the operation terminates.
1415 * The operation state is not valid (it must be inactive), or
1420 psa_status_t psa_mac_verify_setup(psa_mac_operation_t *operation,
1424 /** Add a message fragment to a multipart MAC operation.
1429 * If this function returns an error status, the operation enters an error
1432 * \param[in,out] operation Active MAC operation.
1445 * The operation state is not valid (it must be active), or
1450 psa_status_t psa_mac_update(psa_mac_operation_t *operation,
1460 * When this function returns successfully, the operation becomes inactive.
1461 * If this function returns an error status, the operation enters an error
1472 * \param[in,out] operation Active MAC operation.
1493 * The operation state is not valid (it must be an active mac sign
1494 * operation), or the library has not been previously initialized
1499 psa_status_t psa_mac_sign_finish(psa_mac_operation_t *operation,
1513 * When this function returns successfully, the operation becomes inactive.
1514 * If this function returns an error status, the operation enters an error
1521 * \param[in,out] operation Active MAC operation.
1536 * The operation state is not valid (it must be an active mac verify
1537 * operation), or the library has not been previously initialized
1542 psa_status_t psa_mac_verify_finish(psa_mac_operation_t *operation,
1546 /** Abort a MAC operation.
1548 * Aborting an operation frees all associated resources except for the
1549 * \p operation structure itself. Once aborted, the operation object
1550 * can be reused for another operation by calling
1553 * You may call this function any time after the operation object has
1556 * In particular, calling psa_mac_abort() after the operation has been
1560 * \param[in,out] operation Initialized MAC operation.
1571 psa_status_t psa_mac_abort(psa_mac_operation_t *operation);
1582 * vector). Use the multipart operation interface with a
1585 * \param key Identifier of the key to use for the operation.
1630 * \param key Identifier of the key to use for the operation.
1631 * It must remain valid until the operation
1675 * Before calling any function on a cipher operation object, the application
1679 * psa_cipher_operation_t operation;
1680 * memset(&operation, 0, sizeof(operation));
1684 * psa_cipher_operation_t operation = {0};
1689 * psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT;
1694 * psa_cipher_operation_t operation;
1695 * operation = psa_cipher_operation_init();
1705 * This macro returns a suitable initializer for a cipher operation object of
1709 /** Return an initial value for a cipher operation object.
1713 /** Set the key for a multipart symmetric encryption operation.
1717 * -# Allocate an operation object which will be passed to all the functions
1719 * -# Initialize the operation object with one of the methods described in the
1732 * the operation will need to be reset by a call to psa_cipher_abort(). The
1733 * application may call psa_cipher_abort() at any time after the operation
1737 * eventually terminate the operation. The following events terminate an
1738 * operation:
1742 * \param[in,out] operation The operation object to set up. It must have
1745 * \param key Identifier of the key to use for the operation.
1746 * It must remain valid until the operation
1767 * The operation state is not valid (it must be inactive), or
1772 psa_status_t psa_cipher_encrypt_setup(psa_cipher_operation_t *operation,
1776 /** Set the key for a multipart symmetric decryption operation.
1780 * -# Allocate an operation object which will be passed to all the functions
1782 * -# Initialize the operation object with one of the methods described in the
1795 * the operation will need to be reset by a call to psa_cipher_abort(). The
1796 * application may call psa_cipher_abort() at any time after the operation
1800 * eventually terminate the operation. The following events terminate an
1801 * operation:
1805 * \param[in,out] operation The operation object to set up. It must have
1808 * \param key Identifier of the key to use for the operation.
1809 * It must remain valid until the operation
1830 * The operation state is not valid (it must be inactive), or
1835 psa_status_t psa_cipher_decrypt_setup(psa_cipher_operation_t *operation,
1839 /** Generate an IV for a symmetric encryption operation.
1842 * or initial counter value for the encryption operation as appropriate
1848 * If this function returns an error status, the operation enters an error
1851 * \param[in,out] operation Active cipher operation.
1867 * The operation state is not valid (it must be active, with no IV set),
1873 psa_status_t psa_cipher_generate_iv(psa_cipher_operation_t *operation,
1878 /** Set the IV for a symmetric encryption or decryption operation.
1881 * or initial counter value for the encryption or decryption operation.
1886 * If this function returns an error status, the operation enters an error
1893 * \param[in,out] operation Active cipher operation.
1908 * The operation state is not valid (it must be an active cipher
1909 * encrypt operation, with no IV set), or the library has not been
1914 psa_status_t psa_cipher_set_iv(psa_cipher_operation_t *operation,
1918 /** Encrypt or decrypt a message fragment in an active cipher operation.
1927 * If this function returns an error status, the operation enters an error
1930 * \param[in,out] operation Active cipher operation.
1949 * The operation state is not valid (it must be active, with an IV set
1955 psa_status_t psa_cipher_update(psa_cipher_operation_t *operation,
1962 /** Finish encrypting or decrypting a message in a cipher operation.
1973 * When this function returns successfully, the operation becomes inactive.
1974 * If this function returns an error status, the operation enters an error
1977 * \param[in,out] operation Active cipher operation.
1986 * The total input size passed to this operation is not valid for
1991 * This is a decryption operation for an algorithm that includes
2001 * The operation state is not valid (it must be active, with an IV set
2007 psa_status_t psa_cipher_finish(psa_cipher_operation_t *operation,
2012 /** Abort a cipher operation.
2014 * Aborting an operation frees all associated resources except for the
2015 * \p operation structure itself. Once aborted, the operation object
2016 * can be reused for another operation by calling
2019 * You may call this function any time after the operation object has
2022 * In particular, calling psa_cipher_abort() after the operation has been
2026 * \param[in,out] operation Initialized cipher operation.
2037 psa_status_t psa_cipher_abort(psa_cipher_operation_t *operation);
2045 /** Process an authenticated encryption operation.
2048 * operation. It must allow the usage
2118 /** Process an authenticated decryption operation.
2121 * operation. It must allow the usage
2193 * Before calling any function on an AEAD operation object, the application
2197 * psa_aead_operation_t operation;
2198 * memset(&operation, 0, sizeof(operation));
2202 * psa_aead_operation_t operation = {0};
2207 * psa_aead_operation_t operation = PSA_AEAD_OPERATION_INIT;
2212 * psa_aead_operation_t operation;
2213 * operation = psa_aead_operation_init();
2223 * This macro returns a suitable initializer for an AEAD operation object of
2227 /** Return an initial value for an AEAD operation object.
2231 /** Set the key for a multipart authenticated encryption operation.
2235 * -# Allocate an operation object which will be passed to all the functions
2237 * -# Initialize the operation object with one of the methods described in the
2256 * the operation will need to be reset by a call to psa_aead_abort(). The
2257 * application may call psa_aead_abort() at any time after the operation
2261 * eventually terminate the operation. The following events terminate an
2262 * operation:
2266 * \param[in,out] operation The operation object to set up. It must have
2269 * \param key Identifier of the key to use for the operation.
2270 * It must remain valid until the operation
2280 * The operation state is not valid (it must be inactive), or
2297 psa_status_t psa_aead_encrypt_setup(psa_aead_operation_t *operation,
2301 /** Set the key for a multipart authenticated decryption operation.
2305 * -# Allocate an operation object which will be passed to all the functions
2307 * -# Initialize the operation object with one of the methods described in the
2323 * the operation will need to be reset by a call to psa_aead_abort(). The
2324 * application may call psa_aead_abort() at any time after the operation
2328 * eventually terminate the operation. The following events terminate an
2329 * operation:
2333 * \param[in,out] operation The operation object to set up. It must have
2336 * \param key Identifier of the key to use for the operation.
2337 * It must remain valid until the operation
2358 * The operation state is not valid (it must be inactive), or the
2363 psa_status_t psa_aead_decrypt_setup(psa_aead_operation_t *operation,
2367 /** Generate a random nonce for an authenticated encryption operation.
2370 * operation with an appropriate size for the chosen algorithm, key type
2376 * If this function returns an error status, the operation enters an error
2379 * \param[in,out] operation Active AEAD operation.
2396 * The operation state is not valid (it must be an active aead encrypt
2397 * operation, with no nonce set), or the library has not been
2402 psa_status_t psa_aead_generate_nonce(psa_aead_operation_t *operation,
2407 /** Set the nonce for an authenticated encryption or decryption operation.
2410 * encryption or decryption operation.
2415 * If this function returns an error status, the operation enters an error
2422 * \param[in,out] operation Active AEAD operation.
2436 * The operation state is not valid (it must be active, with no nonce
2442 psa_status_t psa_aead_set_nonce(psa_aead_operation_t *operation,
2450 * the operation requires it. If the algorithm does not require it,
2462 * If this function returns an error status, the operation enters an error
2465 * \param[in,out] operation Active AEAD operation.
2480 * The operation state is not valid (it must be active, and
2487 psa_status_t psa_aead_set_lengths(psa_aead_operation_t *operation,
2491 /** Pass additional data to an active AEAD operation.
2503 * If this function returns an error status, the operation enters an error
2512 * \param[in,out] operation Active AEAD operation.
2528 * The operation state is not valid (it must be active, have a nonce
2535 psa_status_t psa_aead_update_ad(psa_aead_operation_t *operation,
2539 /** Encrypt or decrypt a message fragment in an active AEAD operation.
2548 * If this function returns an error status, the operation enters an error
2573 * \param[in,out] operation Active AEAD operation.
2586 * operation.
2613 * The operation state is not valid (it must be active, have a nonce
2619 psa_status_t psa_aead_update(psa_aead_operation_t *operation,
2626 /** Finish encrypting a message in an AEAD operation.
2628 * The operation must have been set up with psa_aead_encrypt_setup().
2640 * When this function returns successfully, the operation becomes inactive.
2641 * If this function returns an error status, the operation enters an error
2644 * \param[in,out] operation Active AEAD operation.
2654 * set up the operation.
2699 * The operation state is not valid (it must be an active encryption
2700 * operation with a nonce set), or the library has not been previously
2705 psa_status_t psa_aead_finish(psa_aead_operation_t *operation,
2713 /** Finish authenticating and decrypting a message in an AEAD operation.
2715 * The operation must have been set up with psa_aead_decrypt_setup().
2730 * When this function returns successfully, the operation becomes inactive.
2731 * If this function returns an error status, the operation enters an error
2738 * \param[in,out] operation Active AEAD operation.
2750 * set up the operation.
2782 * The operation state is not valid (it must be an active decryption
2783 * operation with a nonce set), or the library has not been previously
2788 psa_status_t psa_aead_verify(psa_aead_operation_t *operation,
2795 /** Abort an AEAD operation.
2797 * Aborting an operation frees all associated resources except for the
2798 * \p operation structure itself. Once aborted, the operation object
2799 * can be reused for another operation by calling
2802 * You may call this function any time after the operation object has
2805 * In particular, calling psa_aead_abort() after the operation has been
2809 * \param[in,out] operation Initialized AEAD operation.
2820 psa_status_t psa_aead_abort(psa_aead_operation_t *operation);
2833 * a multi-part hash operation and then pass the resulting hash to
2837 * \param[in] key Identifier of the key to use for the operation.
2898 * algorithm, first use a multi-part hash operation to hash the message
2903 * \param[in] key Identifier of the key to use for the operation.
2955 * \param key Identifier of the key to use for the operation.
3009 * \param key Identifier of the key to use for the operation. It
3052 * \param key Identifier of the key to use for the operation.
3113 * \param key Identifier of the key to use for the operation.
3179 * Before calling any function on a key derivation operation object, the
3183 * psa_key_derivation_operation_t operation;
3184 * memset(&operation, 0, sizeof(operation));
3188 * psa_key_derivation_operation_t operation = {0};
3193 * psa_key_derivation_operation_t operation = PSA_KEY_DERIVATION_OPERATION_INIT;
3198 * psa_key_derivation_operation_t operation;
3199 * operation = psa_key_derivation_operation_init();
3210 * This macro returns a suitable initializer for a key derivation operation
3214 /** Return an initial value for a key derivation operation object.
3218 /** Set up a key derivation operation.
3232 * -# Optionally set the operation's maximum capacity with
3242 * -# Clean up the key derivation operation object with
3245 * If this function returns an error, the key derivation operation object is
3249 * the operation will need to be reset by a call to psa_key_derivation_abort().
3253 * \param[in,out] operation The key derivation operation object
3272 * The operation state is not valid (it must be inactive), or
3278 psa_key_derivation_operation_t *operation,
3281 /** Retrieve the current capacity of a key derivation operation.
3284 * return. When you get *N* bytes of output from a key derivation operation,
3287 * \param[in] operation The operation to query.
3288 * \param[out] capacity On success, the capacity of the operation.
3295 * The operation state is not valid (it must be active), or
3301 const psa_key_derivation_operation_t *operation,
3304 /** Set the maximum capacity of a key derivation operation.
3306 * The capacity of a key derivation operation is the maximum number of bytes
3307 * that the key derivation operation can return from this point onwards.
3309 * \param[in,out] operation The key derivation operation object to modify.
3310 * \param capacity The new capacity of the operation.
3311 * It must be less or equal to the operation's
3316 * \p capacity is larger than the operation's current capacity.
3317 * In this case, the operation object remains valid and its capacity
3323 * The operation state is not valid (it must be active), or the
3329 psa_key_derivation_operation_t *operation,
3332 /** Use the maximum possible capacity for a key derivation operation.
3335 * to indicate that the operation should have the maximum possible capacity.
3354 * If this function returns an error status, the operation enters an error
3357 * \param[in,out] operation The key derivation operation object to use.
3368 * \c step is not compatible with the operation's algorithm, or
3376 * The operation state is not valid for this input \p step, or
3382 psa_key_derivation_operation_t *operation,
3398 * If this function returns an error status, the operation enters an error
3401 * \param[in,out] operation The key derivation operation object to use.
3411 * \c step is not compatible with the operation's algorithm, or
3419 * The operation state is not valid for this input \p step, or
3425 psa_key_derivation_operation_t *operation,
3443 * If this function returns an error status, the operation enters an error
3446 * \param[in,out] operation The key derivation operation object to use.
3455 * and the algorithm used by the operation.
3478 * \c step is not compatible with the operation's algorithm, or
3487 * The operation state is not valid for this input \p step, or
3493 psa_key_derivation_operation_t *operation,
3504 * resulting operation to produce keys and other cryptographic material.
3506 * If this function returns an error status, the operation enters an error
3509 * \param[in,out] operation The key derivation operation object to use.
3517 * The operation must be ready for an
3555 * The operation state is not valid for this key agreement \p step,
3561 psa_key_derivation_operation_t *operation,
3567 /** Read some data from a key derivation operation.
3574 * The operation's capacity decreases by the number of bytes read.
3577 * #PSA_ERROR_INSUFFICIENT_DATA, the operation enters an error
3580 * \param[in,out] operation The key derivation operation object to read from.
3589 * The operation's capacity was less than
3592 * The operation's capacity is set to 0, thus
3601 * The operation state is not valid (it must be active and completed
3608 psa_key_derivation_operation_t *operation,
3612 /** Derive a key from an ongoing key derivation operation.
3622 * The operation's capacity decreases by the number of bytes read.
3625 * #PSA_ERROR_INSUFFICIENT_DATA, the operation enters an error
3628 * How much output is produced and consumed from the operation, and how
3640 * exactly (\c bits / 8) bytes from the operation.
3667 * The byte string drawn from the operation is interpreted as specified
3677 * and continue reading output from the operation to derive the other
3698 * the way in which the operation output is consumed is
3701 * In all cases, the data that is read is discarded from the operation.
3702 * The operation's capacity is decreased by the number of bytes read.
3718 * operation.
3719 * \param[in,out] operation The key derivation operation object to read from.
3735 * The operation's capacity is set to 0, thus subsequent calls to
3741 * The provided key attributes are not valid for the operation.
3756 * The operation state is not valid (it must be active and completed
3764 psa_key_derivation_operation_t *operation,
3767 /** Derive a key from an ongoing key derivation operation with custom
3770 * See the description of psa_key_derivation_out_key() for the operation of
3782 * operation.
3783 * \param[in,out] operation The key derivation operation object to read from.
3810 * The operation's capacity is set to 0, thus subsequent calls to
3816 * The provided key attributes are not valid for the operation.
3831 * The operation state is not valid (it must be active and completed
3839 psa_key_derivation_operation_t *operation,
3844 /** Compare output data from a key derivation operation to an expected value.
3851 * The operation's capacity decreases by the number of bytes read.
3855 * psa_key_derivation_output_bytes(operation, tmp, output_length);
3864 * the operation enters an error state and must be aborted by calling
3867 * \param[in,out] operation The key derivation operation object to read from.
3880 * The operation's capacity was less than
3882 * the operation's capacity is set to 0, thus
3891 * The operation state is not valid (it must be active and completed
3898 psa_key_derivation_operation_t *operation,
3902 /** Compare output data from a key derivation operation to an expected value
3911 * The operation's capacity decreases by the number of bytes read.
3919 * the operation enters an error state and must be aborted by calling
3922 * \param[in,out] operation The key derivation operation object to read from.
3927 * operation. The value of this key was likely
3945 * The operation's capacity was less than
3947 * the operation's capacity is set to 0, thus
3956 * The operation state is not valid (it must be active and completed
3963 psa_key_derivation_operation_t *operation,
3966 /** Abort a key derivation operation.
3968 * Aborting an operation frees all associated resources except for the \c
3969 * operation structure itself. Once aborted, the operation object can be reused
3970 * for another operation by calling psa_key_derivation_setup() again.
3972 * This function may be called at any time after the operation
3976 * call psa_key_derivation_abort() on an operation that has not been set up.
3978 * \param[in,out] operation The operation to abort.
3990 psa_key_derivation_operation_t *operation);
4137 * See the description of psa_generate_key() for the operation of this
4197 * Before calling any function on a sign hash operation object, the
4201 * psa_sign_hash_interruptible_operation_t operation;
4202 * memset(&operation, 0, sizeof(operation));
4206 * psa_sign_hash_interruptible_operation_t operation = {0};
4211 * psa_sign_hash_interruptible_operation_t operation =
4218 * psa_sign_hash_interruptible_operation_t operation;
4219 * operation = psa_sign_hash_interruptible_operation_init();
4230 * Before calling any function on a sign hash operation object, the
4234 * psa_verify_hash_interruptible_operation_t operation;
4235 * memset(&operation, 0, sizeof(operation));
4239 * psa_verify_hash_interruptible_operation_t operation = {0};
4244 * psa_verify_hash_interruptible_operation_t operation =
4251 * psa_verify_hash_interruptible_operation_t operation;
4252 * operation = psa_verify_hash_interruptible_operation_init();
4272 * curve chosen. Even within a single operation,
4283 * means the whole operation will be done in one
4291 * same operation context until it returns 0 or an
4355 * operation has taken so far. If the operation
4358 * operation. After initialization or calling
4360 * the operation, a value of 0 will be returned.
4373 * \param operation The \c psa_sign_hash_interruptible_operation_t
4376 * \return Number of ops that the operation has taken so
4380 const psa_sign_hash_interruptible_operation_t *operation);
4384 * operation has taken so far. If the operation
4387 * operation. After initialization or calling \c
4389 * operation, a value of 0 will be returned.
4399 * \param operation The \c
4403 * \return Number of ops that the operation has taken so
4407 const psa_verify_hash_interruptible_operation_t *operation);
4438 * operation enters an error state and must be
4441 * \param[in, out] operation The \c psa_sign_hash_interruptible_operation_t
4444 * \param key Identifier of the key to use for the operation.
4455 * The operation started successfully - call \c psa_sign_hash_complete()
4456 * with the same context to complete the operation
4463 * An operation has previously been started on this context, and is
4481 psa_sign_hash_interruptible_operation_t *operation,
4504 * operation object repeatedly until it either
4512 * operation becomes inactive. If this function
4513 * returns an error status, the operation enters an
4517 * \param[in, out] operation The \c psa_sign_hash_interruptible_operation_t
4543 * Call this function again with the same operation object.
4553 * An operation was not previously started on this context via
4569 * psa_sign_hash_start() with this operation object. It is
4574 psa_sign_hash_interruptible_operation_t *operation,
4579 * \brief Abort a sign hash operation.
4587 * operation. Please ensure you copy this value via
4591 * \note Aborting an operation frees all associated
4592 * resources except for the \p operation structure
4593 * itself. Once aborted, the operation object can
4594 * be reused for another operation by calling \c
4598 * operation object has been initialized. In
4600 * after the operation has already been terminated
4604 * \param[in,out] operation Initialized sign hash operation.
4607 * The operation was aborted successfully.
4616 psa_sign_hash_interruptible_operation_t *operation);
4637 * repeatedly on the same operation object after a
4647 * operation enters an error state and must be
4650 * \param[in, out] operation The \c psa_verify_hash_interruptible_operation_t
4653 * \param key Identifier of the key to use for the operation.
4666 * The operation started successfully - please call \c
4668 * operation.
4671 * Another operation has already been started on this context, and is
4693 psa_verify_hash_interruptible_operation_t *operation,
4719 * operation object repeatedly until it either
4727 * operation becomes inactive. If this function
4728 * returns an error status, the operation enters an
4732 * \param[in, out] operation The \c psa_verify_hash_interruptible_operation_t
4743 * Call this function again with the same operation object.
4750 * An operation was not previously started on this context via
4770 psa_verify_hash_interruptible_operation_t *operation);
4773 * \brief Abort a verify hash operation.
4780 * number of ops completed as part of the operation.
4785 * \note Aborting an operation frees all associated
4786 * resources except for the operation structure
4787 * itself. Once aborted, the operation object can be
4788 * reused for another operation by calling \c
4792 * operation object has been initialized.
4794 * after the operation has already been terminated by
4798 * \param[in,out] operation Initialized verify hash operation.
4801 * The operation was aborted successfully.
4810 psa_verify_hash_interruptible_operation_t *operation);