diff options
Diffstat (limited to 'crypto/pem/pem.h')
-rw-r--r-- | crypto/pem/pem.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/pem/pem.h b/crypto/pem/pem.h index 3785fca77d..a0feea36c5 100644 --- a/crypto/pem/pem.h +++ b/crypto/pem/pem.h @@ -91,6 +91,9 @@ extern "C" { #define PEM_OBJ_DHPARAMS 17 #define PEM_OBJ_DSAPARAMS 18 #define PEM_OBJ_PRIV_RSA_PUBLIC 19 +#define PEM_OBJ_PRIV_ECDSA 20 +#define PEM_OBJ_PUB_ECDSA 21 +#define PEM_OBJ_ECDSAPARAMS 22 #define PEM_ERROR 30 #define PEM_DEK_DES_CBC 40 @@ -126,6 +129,9 @@ extern "C" { #define PEM_STRING_DHPARAMS "DH PARAMETERS" #define PEM_STRING_SSL_SESSION "SSL SESSION PARAMETERS" #define PEM_STRING_DSAPARAMS "DSA PARAMETERS" +#define PEM_STRING_ECDSA "ECDSA PRIVATE KEY" +#define PEM_STRING_ECDSA_PUBLIC "ECDSA PUBLIC KEY" +#define PEM_STRING_ECDSAPARAMS "ECDSA PARAMETERS" /* Note that this structure is initialised by PEM_SealInit and cleaned up by PEM_SealFinal (at least for now) */ @@ -572,6 +578,12 @@ DECLARE_PEM_rw(DSAparams, DSA) #endif +#ifndef OPENSSL_NO_ECDSA +DECLARE_PEM_rw_cb(ECDSAPrivateKey, ECDSA) +DECLARE_PEM_rw(ECDSA_PUBKEY, ECDSA) +DECLARE_PEM_rw(ECDSAParameters, ECDSA) +#endif + #ifndef OPENSSL_NO_DH DECLARE_PEM_rw(DHparams, DH) |