Skip to content
Snippets Groups Projects
Commit 3672c6d2 authored by Donald Stufft's avatar Donald Stufft
Browse files

Move the cffi defintions into nacl.c._lib

parent ca86742a
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,7 @@ setup(
package_dir={"": "src"},
packages=[
"nacl",
"nacl.c",
],
ext_package="nacl",
......
# Copyright 2013 Donald Stufft and individual contributors
#
# 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.
from __future__ import absolute_import, division, print_function
......@@ -11,9 +11,6 @@
# 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.
"""
CFFI interface to NaCl and libsodium library
"""
from __future__ import absolute_import
from __future__ import division
......
......@@ -14,7 +14,8 @@
from __future__ import absolute_import
from __future__ import division
from . import nacl, encoding
from . import encoding
from .c import _lib as nacl
from .exceptions import CryptoError
......
......@@ -14,7 +14,8 @@
from __future__ import absolute_import
from __future__ import division
from . import nacl, encoding
from . import encoding
from .c import _lib as nacl
from .exceptions import CryptoError
from .utils import EncryptedMessage, StringFixer, random
......
......@@ -14,7 +14,8 @@
from __future__ import absolute_import
from __future__ import division
from . import nacl, encoding
from . import encoding
from .c import _lib as nacl
from .exceptions import CryptoError
from .utils import EncryptedMessage, StringFixer
......
......@@ -16,7 +16,8 @@ from __future__ import division
import six
from . import nacl, encoding
from . import encoding
from .c import _lib as nacl
from .exceptions import CryptoError
from .utils import StringFixer, random
......
......@@ -16,7 +16,7 @@ from __future__ import division
import six
from . import nacl
from .c import _lib as nacl
class EncryptedMessage(six.binary_type):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment