update docs, add name attribute to backend
diff --git a/cryptography/hazmat/backends/commoncrypto/backend.py b/cryptography/hazmat/backends/commoncrypto/backend.py
index efbd6ba..6953b1f 100644
--- a/cryptography/hazmat/backends/commoncrypto/backend.py
+++ b/cryptography/hazmat/backends/commoncrypto/backend.py
@@ -29,6 +29,7 @@
"""
CommonCrypto API wrapper.
"""
+ name = "commoncrypto"
hashtuple = namedtuple("HashClass", ["struct", "init", "update", "final"])
def __init__(self):
diff --git a/docs/hazmat/backends/common-crypto.rst b/docs/hazmat/backends/common-crypto.rst
index edd45b6..ad4cc21 100644
--- a/docs/hazmat/backends/common-crypto.rst
+++ b/docs/hazmat/backends/common-crypto.rst
@@ -3,26 +3,16 @@
CommonCrypto Backend
====================
-These are `CFFI`_ bindings to the `CommonCrypto`_ C library provided by Apple
-on OS X and iOS.
+The `CommonCrypto`_ C library provided by Apple on OS X and iOS.
.. currentmodule:: cryptography.hazmat.backends.commoncrypto.backend
.. data:: cryptography.hazmat.backends.commoncrypto.backend
- This is the exposed API for the CommonCrypto bindings. It has two public
- attributes:
+ This is the exposed API for the OpenSSL backend. It has one public attribute.
- .. attribute:: ffi
+ .. attribute:: name
- This is a :class:`cffi.FFI` instance. It can be used to allocate and
- otherwise manipulate CommonCrypto structures.
+ The string name of the backend.
- .. attribute:: lib
-
- This is a ``cffi`` library. It can be used to call CommonCrypto
- functions, and access constants.
-
-
-.. _`CFFI`: https://cffi.readthedocs.org/
.. _`CommonCrypto`: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/Common%20Crypto.3cc.html