t_cose: Use enum values instead of magic numbers in t_cose patch

Use respective enum values from respective enums instead of magic numbers.
This fixes "Enumerated type mixed with another type" warnings.

Change-Id: I49114af6a52eaf0cd0266f2211f18d13fdd55c97
Signed-off-by: Bohdan Hunko <Bohdan.Hunko@infineon.com>
diff --git a/lib/ext/t_cose/0002-Add-t_cose_key_decode-API.patch b/lib/ext/t_cose/0002-Add-t_cose_key_decode-API.patch
index bb01a06..c246fd0 100644
--- a/lib/ext/t_cose/0002-Add-t_cose_key_decode-API.patch
+++ b/lib/ext/t_cose/0002-Add-t_cose_key_decode-API.patch
@@ -61,7 +61,7 @@
 +    enum t_cose_err_t result;
 +
 +
-+    QCBORDecode_Init(&cbor_decoder, cbor_encoded, 0);
++    QCBORDecode_Init(&cbor_decoder, cbor_encoded, QCBOR_DECODE_MODE_NORMAL);
 +
 +
 +    QCBORDecode_EnterMap(&cbor_decoder, NULL);
@@ -99,7 +99,7 @@
 +            break;
 +
 +        default:
-+            return 77; // TODO: error code
++            return T_COSE_ERR_INVALID_LENGTH;
 +    }
 +
 +    /* Turn it into a t_cose_key that is imported into the library */