Fix encoding get info with variable curves.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2025-03-11 19:19:28 +01:00
parent dd207bd031
commit 0f5a24c9b6

View File

@@ -98,7 +98,7 @@ int cbor_get_info() {
CBOR_CHECK(cbor_encode_uint(&mapEncoder, 0x0A));
uint8_t curves = 4;
uint8_t curves = 3;
#ifdef MBEDTLS_EDDSA_C
curves++;
#endif