]> www.wagner.pp.ru Git - oss/ctypescrypto.git/blobdiff - ctypescrypto/ec.py
I've discovered Python's __all__ variable and make use of it in all modles
[oss/ctypescrypto.git] / ctypescrypto / ec.py
index f3ea77831a718a652a3902918acc977ec0b2586a..047aad97a1d6db7225d8f6b5c967647df364ba22 100644 (file)
@@ -5,6 +5,8 @@ from ctypescrypto.pkey import PKey, PKeyError
 from ctypes import c_void_p,c_char_p,c_int,byref
 from ctypescrypto import libcrypto
 
+__all__ = [ 'create']
+
 def create(curve,data):
        """
                Creates EC keypair from the just secret key and curve name