X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fcipher.py;h=90fd20336aeb80ddb5896009eabdec988bb479d2;hb=72a7754bfee5206288d9211b740dae7b2ca9618b;hp=3320d2f95031116e1e1f0d172f9241f05ee4c93c;hpb=bda9492c89eb38a1aec85220294f6d637ad68724;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/cipher.py b/ctypescrypto/cipher.py index 3320d2f..90fd203 100644 --- a/ctypescrypto/cipher.py +++ b/ctypescrypto/cipher.py @@ -1,3 +1,7 @@ +""" +access to symmetric ciphers from libcrypto + +""" from ctypes import create_string_buffer,c_char_p,c_void_p,c_int,c_long,byref,POINTER from ctypescrypto import libcrypto from ctypescrypto.exception import LibCryptoError @@ -8,6 +12,8 @@ CIPHER_MODES = ("STREAM","ECB","CBC", "CFB", "OFB", "CTR","GCM") # +__all__ = ['CipherError','new','Cipher','CipherType'] + class CipherError(LibCryptoError): pass