diff options
Diffstat (limited to 'include/crypto/ecdh.h')
-rw-r--r-- | include/crypto/ecdh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto/ecdh.h b/include/crypto/ecdh.h index a5b805b5526d..9784ecdd2fb4 100644 --- a/include/crypto/ecdh.h +++ b/include/crypto/ecdh.h @@ -25,16 +25,16 @@ /* Curves IDs */ #define ECC_CURVE_NIST_P192 0x0001 #define ECC_CURVE_NIST_P256 0x0002 +#define ECC_CURVE_NIST_P384 0x0003 +#define ECC_CURVE_NIST_P521 0x0004 /** * struct ecdh - define an ECDH private key * - * @curve_id: ECC curve the key is based on. * @key: Private ECDH key * @key_size: Size of the private ECDH key */ struct ecdh { - unsigned short curve_id; char *key; unsigned short key_size; }; |