diff options
-rw-r--r-- | cryptography/hazmat/bindings/openssl/err.py | 3 | ||||
-rw-r--r-- | docs/hazmat/backends/openssl.rst | 4 | ||||
-rw-r--r-- | docs/hazmat/bindings/commoncrypto.rst | 4 | ||||
-rw-r--r-- | docs/hazmat/bindings/openssl.rst | 4 |
4 files changed, 11 insertions, 4 deletions
diff --git a/cryptography/hazmat/bindings/openssl/err.py b/cryptography/hazmat/bindings/openssl/err.py index 806d0ea0..1c8bdd15 100644 --- a/cryptography/hazmat/bindings/openssl/err.py +++ b/cryptography/hazmat/bindings/openssl/err.py @@ -31,6 +31,7 @@ typedef struct ERR_string_data_st ERR_STRING_DATA; static const int ERR_LIB_EVP; static const int ERR_LIB_PEM; static const int ERR_LIB_ASN1; +static const int ERR_LIB_RSA; static const int ASN1_F_ASN1_ENUMERATED_TO_BN; static const int ASN1_F_ASN1_EX_C2I; @@ -213,6 +214,8 @@ static const int PEM_R_READ_KEY; static const int PEM_R_SHORT_HEADER; static const int PEM_R_UNSUPPORTED_CIPHER; static const int PEM_R_UNSUPPORTED_ENCRYPTION; + +static const int RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE; """ FUNCTIONS = """ diff --git a/docs/hazmat/backends/openssl.rst b/docs/hazmat/backends/openssl.rst index d6351c9c..547fe769 100644 --- a/docs/hazmat/backends/openssl.rst +++ b/docs/hazmat/backends/openssl.rst @@ -3,7 +3,9 @@ OpenSSL Backend =============== -The `OpenSSL`_ C library. +The `OpenSSL`_ C library. Cryptography supports version ``0.9.8e`` (present in +Red Hat Enterprise Linux 5) and greater. Earlier versions may work but are +**not tested or supported**. .. data:: cryptography.hazmat.backends.openssl.backend diff --git a/docs/hazmat/bindings/commoncrypto.rst b/docs/hazmat/bindings/commoncrypto.rst index 50dbe69a..e5a673b3 100644 --- a/docs/hazmat/bindings/commoncrypto.rst +++ b/docs/hazmat/bindings/commoncrypto.rst @@ -7,8 +7,8 @@ CommonCrypto Binding .. versionadded:: 0.2 -These are `CFFI`_ bindings to the `CommonCrypto`_ C library. It is available on -Mac OS X. +These are `CFFI`_ bindings to the `CommonCrypto`_ C library. It is only +available on Mac OS X versions 10.8 and above. .. class:: cryptography.hazmat.bindings.commoncrypto.binding.Binding() diff --git a/docs/hazmat/bindings/openssl.rst b/docs/hazmat/bindings/openssl.rst index 557f8c4d..9fce8f77 100644 --- a/docs/hazmat/bindings/openssl.rst +++ b/docs/hazmat/bindings/openssl.rst @@ -5,7 +5,9 @@ OpenSSL Binding .. currentmodule:: cryptography.hazmat.bindings.openssl.binding -These are `CFFI`_ bindings to the `OpenSSL`_ C library. +These are `CFFI`_ bindings to the `OpenSSL`_ C library. Cryptography supports +version ``0.9.8e`` (present in Red Hat Enterprise Linux 5) and greater. Earlier +versions may work but are **not tested or supported**. .. class:: cryptography.hazmat.bindings.openssl.binding.Binding() |