* \brief Errors related to signature generation errors */
| 267 | * \brief Errors related to signature generation errors |
| 268 | */ |
| 269 | enum class signature_generation_error { |
| 270 | ok = 0, |
| 271 | hmac_failed = 10, |
| 272 | create_context_failed, |
| 273 | signinit_failed, |
| 274 | signupdate_failed, |
| 275 | signfinal_failed, |
| 276 | ecdsa_do_sign_failed, |
| 277 | digestinit_failed, |
| 278 | digestupdate_failed, |
| 279 | digestfinal_failed, |
| 280 | rsa_padding_failed, |
| 281 | rsa_private_encrypt_failed, |
| 282 | get_key_failed, |
| 283 | set_rsa_pss_saltlen_failed, |
| 284 | signature_decoding_failed |
| 285 | }; |
| 286 | /** |
| 287 | * \brief Error category for signature generation errors |
| 288 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected