File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -761,6 +761,11 @@ An interruptible asymmetric signature operation is used as follows:
761
761
762
762
* ``alg `` is not an asymmetric signature algorithm.
763
763
* ``key `` is not an asymmetric key pair, that is compatible with ``alg ``.
764
+ .. retval :: PSA_ERROR_BAD_STATE
765
+ The following conditions can result in this error:
766
+
767
+ * The operation state is not valid: it must be inactive.
768
+ * The library requires initializing by a call to `psa_crypto_init() `.
764
769
.. retval :: PSA_ERROR_INSUFFICIENT_MEMORY
765
770
.. retval :: PSA_ERROR_COMMUNICATION_FAILURE
766
771
.. retval :: PSA_ERROR_CORRUPTION_DETECTED
@@ -1113,6 +1118,11 @@ An interruptible asymmetric verification operation is used as follows:
1113
1118
* ``alg `` is not an asymmetric signature algorithm.
1114
1119
* ``key `` is not an asymmetric key pair, or asymmetric public key, that is compatible with ``alg ``.
1115
1120
* ``signature `` is not a valid signature for the algorithm and key.
1121
+ .. retval :: PSA_ERROR_BAD_STATE
1122
+ The following conditions can result in this error:
1123
+
1124
+ * The operation state is not valid: it must be inactive.
1125
+ * The library requires initializing by a call to `psa_crypto_init() `.
1116
1126
.. retval :: PSA_ERROR_INVALID_SIGNATURE
1117
1127
``signature `` is not a valid signature for the algorithm and key.
1118
1128
.. retval :: PSA_ERROR_INSUFFICIENT_MEMORY
You can’t perform that action at this time.
0 commit comments