From 2121d4aedae36f0f1d45f32cf1d9e67fa74b878b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 3 Oct 2013 21:31:36 -0700 Subject: Bind OpenSSL's crypto. Refs #77 --- cryptography/bindings/openssl/api.py | 1 + cryptography/bindings/openssl/crypto.py | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 cryptography/bindings/openssl/crypto.py diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py index 6c7462cf..ab8aa3b6 100644 --- a/cryptography/bindings/openssl/api.py +++ b/cryptography/bindings/openssl/api.py @@ -26,6 +26,7 @@ class API(object): """ _modules = [ "bignum", + "crypto", "evp", "opensslv", ] diff --git a/cryptography/bindings/openssl/crypto.py b/cryptography/bindings/openssl/crypto.py new file mode 100644 index 00000000..0f40d5b6 --- /dev/null +++ b/cryptography/bindings/openssl/crypto.py @@ -0,0 +1,27 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +INCLUDES = """ +#include +""" + +TYPES = """ +""" + +FUNCTIONS = """ +void CRYPTO_free(void *); +""" + +MACROS = """ +void CRYPTO_add(int *, int, int); +""" -- cgit v1.2.3 From 85707941515cdf4dcc3d85da499f836ae23cc20b Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Fri, 4 Oct 2013 23:55:27 -0400 Subject: Switch all repositories over to the new location --- README.rst | 8 ++++---- cryptography/__about__.py | 2 +- docs/community.rst | 4 ++-- docs/contributing.rst | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 9188106e..9e5f67ed 100644 --- a/README.rst +++ b/README.rst @@ -1,11 +1,11 @@ Cryptography ============ -.. image:: https://travis-ci.org/alex/cryptography.png?branch=master - :target: https://travis-ci.org/alex/cryptography +.. image:: https://travis-ci.org/pyca/cryptography.png?branch=master + :target: https://travis-ci.org/pyca/cryptography -.. image:: https://coveralls.io/repos/alex/cryptography/badge.png?branch=master - :target: https://coveralls.io/r/alex/cryptography?branch=master +.. image:: https://coveralls.io/repos/pyca/cryptography/badge.png?branch=master + :target: https://coveralls.io/r/pyca/cryptography?branch=master ``cryptography`` is a package designed to expose cryptographic primitives and recipes to Python developers. diff --git a/cryptography/__about__.py b/cryptography/__about__.py index 6499ff2b..e5eca6c6 100644 --- a/cryptography/__about__.py +++ b/cryptography/__about__.py @@ -20,7 +20,7 @@ __all__ = [ __title__ = "cryptography" __summary__ = ("cryptography is a package designed to expose cryptographic " "primitives and recipes to Python developers.") -__uri__ = "https://github.com/alex/cryptography" +__uri__ = "https://github.com/pyca/cryptography" __version__ = "0.1.dev1" diff --git a/docs/community.rst b/docs/community.rst index 809ffd12..86ba5055 100644 --- a/docs/community.rst +++ b/docs/community.rst @@ -10,6 +10,6 @@ You can find ``cryptography`` all over the web: * IRC: ``#cryptography-dev`` on ``irc.freenode.net`` .. _`Mailing list`: https://mail.python.org/mailman/listinfo/cryptography-dev -.. _`Source code`: https://github.com/alex/cryptography -.. _`Issue tracker`: https://github.com/alex/cryptography/issues +.. _`Source code`: https://github.com/pyca/cryptography +.. _`Issue tracker`: https://github.com/pyca/cryptography/issues .. _`Documentation`: https://cryptography.readthedocs.org/ diff --git a/docs/contributing.rst b/docs/contributing.rst index 9dd14c23..8f6a178e 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -141,7 +141,7 @@ Use `tox`_ to build the documentation. For example: The HTML documentation index can now be found at ``docs/_build/html/index.html`` -.. _`GitHub`: https://github.com/alex/cryptography +.. _`GitHub`: https://github.com/pyca/cryptography .. _`our mailing list`: https://mail.python.org/mailman/listinfo/cryptography-dev .. _`PEP 8`: http://www.peps.io/8/ .. _`syntax`: http://sphinx-doc.org/domains.html#info-field-lists -- cgit v1.2.3