@@ -750,7 +750,7 @@ typedef struct psa_hash_operation_s psa_hash_operation_t;
750
750
*/
751
751
static psa_hash_operation_t psa_hash_operation_init (void );
752
752
753
- /** Start a multipart hash operation.
753
+ /** Set up a multipart hash operation.
754
754
*
755
755
* The sequence of operations to calculate a hash (message digest)
756
756
* is as follows:
@@ -805,7 +805,7 @@ psa_status_t psa_hash_setup(psa_hash_operation_t *operation,
805
805
* \retval #PSA_SUCCESS
806
806
* Success.
807
807
* \retval #PSA_ERROR_BAD_STATE
808
- * The operation state is not valid (not started , or already completed).
808
+ * The operation state is not valid (not set up , or already completed).
809
809
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
810
810
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
811
811
* \retval #PSA_ERROR_HARDWARE_FAILURE
@@ -842,7 +842,7 @@ psa_status_t psa_hash_update(psa_hash_operation_t *operation,
842
842
* \retval #PSA_SUCCESS
843
843
* Success.
844
844
* \retval #PSA_ERROR_BAD_STATE
845
- * The operation state is not valid (not started , or already completed).
845
+ * The operation state is not valid (not set up , or already completed).
846
846
* \retval #PSA_ERROR_BUFFER_TOO_SMALL
847
847
* The size of the \p hash buffer is too small. You can determine a
848
848
* sufficient buffer size by calling #PSA_HASH_SIZE(\c alg)
@@ -882,7 +882,7 @@ psa_status_t psa_hash_finish(psa_hash_operation_t *operation,
882
882
* The hash of the message was calculated successfully, but it
883
883
* differs from the expected hash.
884
884
* \retval #PSA_ERROR_BAD_STATE
885
- * The operation state is not valid (not started , or already completed).
885
+ * The operation state is not valid (not set up , or already completed).
886
886
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
887
887
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
888
888
* \retval #PSA_ERROR_HARDWARE_FAILURE
@@ -973,7 +973,7 @@ typedef struct psa_mac_operation_s psa_mac_operation_t;
973
973
*/
974
974
static psa_mac_operation_t psa_mac_operation_init (void );
975
975
976
- /** Start a multipart MAC calculation operation.
976
+ /** Set up a multipart MAC calculation operation.
977
977
*
978
978
* This function sets up the calculation of the MAC
979
979
* (message authentication code) of a byte string.
@@ -1031,7 +1031,7 @@ psa_status_t psa_mac_sign_setup(psa_mac_operation_t *operation,
1031
1031
psa_key_handle_t handle ,
1032
1032
psa_algorithm_t alg );
1033
1033
1034
- /** Start a multipart MAC verification operation.
1034
+ /** Set up a multipart MAC verification operation.
1035
1035
*
1036
1036
* This function sets up the verification of the MAC
1037
1037
* (message authentication code) of a byte string against an expected value.
@@ -1103,7 +1103,7 @@ psa_status_t psa_mac_verify_setup(psa_mac_operation_t *operation,
1103
1103
* \retval #PSA_SUCCESS
1104
1104
* Success.
1105
1105
* \retval #PSA_ERROR_BAD_STATE
1106
- * The operation state is not valid (not started , or already completed).
1106
+ * The operation state is not valid (not set up , or already completed).
1107
1107
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
1108
1108
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
1109
1109
* \retval #PSA_ERROR_HARDWARE_FAILURE
@@ -1142,7 +1142,7 @@ psa_status_t psa_mac_update(psa_mac_operation_t *operation,
1142
1142
* \retval #PSA_SUCCESS
1143
1143
* Success.
1144
1144
* \retval #PSA_ERROR_BAD_STATE
1145
- * The operation state is not valid (not started , or already completed).
1145
+ * The operation state is not valid (not set up , or already completed).
1146
1146
* \retval #PSA_ERROR_BUFFER_TOO_SMALL
1147
1147
* The size of the \p mac buffer is too small. You can determine a
1148
1148
* sufficient buffer size by calling PSA_MAC_FINAL_SIZE().
@@ -1181,7 +1181,7 @@ psa_status_t psa_mac_sign_finish(psa_mac_operation_t *operation,
1181
1181
* The MAC of the message was calculated successfully, but it
1182
1182
* differs from the expected MAC.
1183
1183
* \retval #PSA_ERROR_BAD_STATE
1184
- * The operation state is not valid (not started , or already completed).
1184
+ * The operation state is not valid (not set up , or already completed).
1185
1185
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
1186
1186
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
1187
1187
* \retval #PSA_ERROR_HARDWARE_FAILURE
@@ -1412,7 +1412,7 @@ psa_status_t psa_cipher_decrypt_setup(psa_cipher_operation_t *operation,
1412
1412
* \retval #PSA_SUCCESS
1413
1413
* Success.
1414
1414
* \retval #PSA_ERROR_BAD_STATE
1415
- * The operation state is not valid (not started , or IV already set).
1415
+ * The operation state is not valid (not set up , or IV already set).
1416
1416
* \retval #PSA_ERROR_BUFFER_TOO_SMALL
1417
1417
* The size of the \p iv buffer is too small.
1418
1418
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
@@ -1446,7 +1446,7 @@ psa_status_t psa_cipher_generate_iv(psa_cipher_operation_t *operation,
1446
1446
* \retval #PSA_SUCCESS
1447
1447
* Success.
1448
1448
* \retval #PSA_ERROR_BAD_STATE
1449
- * The operation state is not valid (not started , or IV already set).
1449
+ * The operation state is not valid (not set up , or IV already set).
1450
1450
* \retval #PSA_ERROR_INVALID_ARGUMENT
1451
1451
* The size of \p iv is not acceptable for the chosen algorithm,
1452
1452
* or the chosen algorithm does not use an IV.
@@ -1482,7 +1482,7 @@ psa_status_t psa_cipher_set_iv(psa_cipher_operation_t *operation,
1482
1482
* \retval #PSA_SUCCESS
1483
1483
* Success.
1484
1484
* \retval #PSA_ERROR_BAD_STATE
1485
- * The operation state is not valid (not started , IV required but
1485
+ * The operation state is not valid (not set up , IV required but
1486
1486
* not set, or already completed).
1487
1487
* \retval #PSA_ERROR_BUFFER_TOO_SMALL
1488
1488
* The size of the \p output buffer is too small.
@@ -1520,7 +1520,7 @@ psa_status_t psa_cipher_update(psa_cipher_operation_t *operation,
1520
1520
* \retval #PSA_SUCCESS
1521
1521
* Success.
1522
1522
* \retval #PSA_ERROR_BAD_STATE
1523
- * The operation state is not valid (not started , IV required but
1523
+ * The operation state is not valid (not set up , IV required but
1524
1524
* not set, or already completed).
1525
1525
* \retval #PSA_ERROR_BUFFER_TOO_SMALL
1526
1526
* The size of the \p output buffer is too small.
0 commit comments