diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2013-07-26 12:44:03 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2013-07-26 12:44:03 +0000 |
commit | efa1f30c1bd3870d266f43064b9c6bf304bfa93c (patch) | |
tree | 6fde6b59b31233d6a53ada18eba3c850a18ffe79 /security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py | |
parent | A Python library which provides support for handling directories as described (diff) |
ed25519ll is a low-level wrapper for the Ed25519 public key signature
system. It uses Extension() to compile a shared library that is not a
Python extension module, and then uses ctypes to talk to the library. With
luck it will only be necessary to compile ed25519ll once for each
platform, reusing its shared library across Python versions.
This wrapper also contains a reasonably performat pure-Python
fallback. Unlike the reference implementation, the Python implementation
does not contain protection against timing attacks.
WWW: http://bitbucket.org/dholth/ed25519ll/
Build logs: http://goo.gl/zv5y7K
Notes
Notes:
svn path=/head/; revision=323717
Diffstat (limited to 'security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py')
-rw-r--r-- | security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py b/security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py new file mode 100644 index 000000000000..1cb59515b2e0 --- /dev/null +++ b/security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py @@ -0,0 +1,13 @@ +--- ./ed25519ll/ed25519ct.py.orig 2013-07-26 11:26:29.000000000 +0200 ++++ ./ed25519ll/ed25519ct.py 2013-07-26 11:26:43.000000000 +0200 +@@ -15,9 +15,8 @@ + __all__ = ['crypto_sign', 'crypto_sign_open', 'crypto_sign_keypair', 'Keypair', + 'PUBLICKEYBYTES', 'SECRETKEYBYTES', 'SIGNATUREBYTES'] + +-plat_name = get_platform().replace('-', '_') + so_suffix = sysconfig.get_config_var('SO') +-lib_filename = '_ed25519_%s%s' % (plat_name, so_suffix) ++lib_filename = '_ed25519%s' % (so_suffix) + + try: + _ed25519 = ctypes.cdll.LoadLibrary( |