12 #ifndef __T_COSE_COMMON_H__ 13 #define __T_COSE_COMMON_H__ 35 #define T_COSE_SIGN1_MAX_PROT_HEADER (1+1+5+9)
The buffer to receive a hash result is too small.
The requested signing algorithm is not supported.
Verification of a short-circuit signature failed.
Operation completed successfully.
When verifying a COSE_Sign1, something is wrong with the format of the CBOR.
The hash algorithm needed is not supported.
Signature verification failed.
Equivalent to PSA_ERROR_TAMPERING_DETECTED.
The key was found, but it was the wrong type for the operation.
The key identified by a key slot of a key ID was not found.
General unspecific failure.
No key ID was found when one is needed.
When decoding some CBOR like a COSE_Sign1, the CBOR was not well-formed.
The buffer to receive to receive a key is too small.
Some system failure when running the hash algorithm.
Error constructing the protected headers.
Error codes return by t_cose.
Signature was short-circuit.
Error constructing the Sig_structure when signing or verify.
Some (unspecified) argument was not valid.
No algorithm ID was found when one is needed.
The buffer to receive result of a signing operation is too small.