|
Mbed OS Reference
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
11#ifndef __T_COSE_DEFINES_H__
12#define __T_COSE_DEFINES_H__
41#define COSE_HEADER_PARAM_ALG 1
48#define COSE_HEADER_PARAM_KID 4
73#define COSE_ALGORITHM_ES256 -7
82#define COSE_ALGORITHM_ES384 -35
91#define COSE_ALGORITHM_ES512 -36
106#define COSE_ALG_SHA256_PROPRIETARY -72000
123#define COSE_KEY_COMMON_KTY 1
133#define COSE_KEY_COMMON_KID 2
151#define COSE_KEY_PARAM_CRV -1
164#define COSE_KEY_PARAM_X_COORDINATE -2
176#define COSE_KEY_PARAM_Y_COORDINATE -3
189#define COSE_KEY_PARAM_PRIVATE_D -4
208#define COSE_KEY_TYPE_OKP 1
219#define COSE_KEY_TYPE_EC2 2
230#define COSE_KEY_TYPE_SYMMETRIC 4
250#define COSE_ELLIPTIC_CURVE_P_256 1
263#define COSE_ELLIPTIC_CURVE_P_384 2
274#define COSE_ELLIPTIC_CURVE_P_521 3
288#define COSE_SIG_CONTEXT_STRING_SIGNATURE1 "Signature1"