Fixup: Definition of TinyCrypt OID descriptor structure

This commit is contained in:
Hanno Becker 2019-08-23 15:22:56 +01:00
parent 7cb5c11067
commit 8d49ba3b78

View file

@ -488,11 +488,11 @@ typedef struct {
static const oid_ecp_grp_t oid_ecp_grp[] = static const oid_ecp_grp_t oid_ecp_grp[] =
{ {
{ {
{ ADD_LEN( MBEDTLS_OID_EC_GRP_SECP256R1 ), "secp256r1", "secp256r1" }, OID_DESCRIPTOR( MBEDTLS_OID_EC_GRP_SECP256R1 , "secp256r1", "secp256r1" ),
MBEDTLS_UECC_DP_SECP256R1, MBEDTLS_UECC_DP_SECP256R1,
}, },
{ {
{ NULL, 0, NULL, NULL }, NULL_OID_DESCRIPTOR,
MBEDTLS_UECC_DP_NONE, MBEDTLS_UECC_DP_NONE,
}, },
}; };