Added RS algorithms though are not supported.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-09-18 01:34:34 +02:00
parent 45c2cf65fe
commit da7b918dc4
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

@ -66,6 +66,9 @@ extern int ecdh(uint8_t protocol, const mbedtls_ecp_point *Q, uint8_t *sharedSec
#define FIDO2_ALG_ES512 -36 //ECDSA-SHA512 P521
#define FIDO2_ALG_ECDH_ES_HKDF_256 -25 //ECDH-ES + HKDF-256
#define FIDO2_ALG_ES256K -47
#define FIDO2_ALG_RS256 -257
#define FIDO2_ALG_RS384 -258
#define FIDO2_ALG_RS512 -259
#define FIDO2_CURVE_P256 1
#define FIDO2_CURVE_P384 2