From bc6f74f046ac3a2b41edbfba1529b6b32d893761 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 8 Mar 2019 01:06:30 +0800 Subject: add poly1305 NID/EVP, and EVP_DigestSign{Update,Final} for incremental (#4799) --- src/_cffi_src/openssl/nid.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/_cffi_src/openssl/nid.py') diff --git a/src/_cffi_src/openssl/nid.py b/src/_cffi_src/openssl/nid.py index 8408d6b3..cdd4c0db 100644 --- a/src/_cffi_src/openssl/nid.py +++ b/src/_cffi_src/openssl/nid.py @@ -13,6 +13,7 @@ static const int Cryptography_HAS_X25519; static const int Cryptography_HAS_X448; static const int Cryptography_HAS_ED448; static const int Cryptography_HAS_ED25519; +static const int Cryptography_HAS_POLY1305; static const int NID_undef; static const int NID_pbe_WithSHA1And3_Key_TripleDES_CBC; @@ -20,6 +21,7 @@ static const int NID_X25519; static const int NID_X448; static const int NID_ED25519; static const int NID_ED448; +static const int NID_poly1305; static const int NID_subject_alt_name; static const int NID_crl_reason; @@ -53,4 +55,10 @@ static const int NID_ED448 = 0; #else static const long Cryptography_HAS_ED448 = 1; #endif +#ifndef NID_poly1305 +static const long Cryptography_HAS_POLY1305 = 0; +static const int NID_poly1305 = 0; +#else +static const long Cryptography_HAS_POLY1305 = 1; +#endif """ -- cgit v1.2.3