packages feed

bindings-nettle 0.2 → 0.3

raw patch · 2 files changed

+19/−9 lines, 2 files

Files

Bindings/Nettle/Cipher/Camellia.hsc view
@@ -7,15 +7,25 @@ #strict_import  #num CAMELLIA_BLOCK_SIZE-#num CAMELLIA_MIN_KEY_SIZE-#num CAMELLIA_MAX_KEY_SIZE-#num CAMELLIA_KEY_SIZE+#num CAMELLIA128_KEY_SIZE+#num CAMELLIA192_KEY_SIZE+#num CAMELLIA256_KEY_SIZE -#starttype struct camellia_ctx+#starttype struct camellia128_ctx #stoptype -#ccall camellia_set_encrypt_key , Ptr <struct camellia_ctx> -> CUInt -> Ptr CUChar -> IO ()-#ccall camellia_set_decrypt_key , Ptr <struct camellia_ctx> -> CUInt -> Ptr CUChar -> IO ()-#ccall camellia_invert_key , Ptr <struct camellia_ctx> -> Ptr <struct camellia_ctx> -> IO ()-#ccall camellia_crypt , Ptr <struct camellia_ctx> -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()+#starttype struct camellia256_ctx+#stoptype +#ccall camellia128_set_encrypt_key , Ptr <struct camellia128_ctx> -> CUInt -> Ptr CUChar -> IO ()+#ccall camellia128_set_decrypt_key , Ptr <struct camellia128_ctx> -> CUInt -> Ptr CUChar -> IO ()+#ccall camellia128_invert_key , Ptr <struct camellia128_ctx> -> Ptr <struct camellia128_ctx> -> IO ()+#ccall camellia128_crypt , Ptr <struct camellia128_ctx> -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()++#ccall camellia192_set_encrypt_key , Ptr <struct camellia256_ctx> -> CUInt -> Ptr CUChar -> IO ()+#ccall camellia192_set_decrypt_key , Ptr <struct camellia256_ctx> -> CUInt -> Ptr CUChar -> IO ()++#ccall camellia256_set_encrypt_key , Ptr <struct camellia256_ctx> -> CUInt -> Ptr CUChar -> IO ()+#ccall camellia256_set_decrypt_key , Ptr <struct camellia256_ctx> -> CUInt -> Ptr CUChar -> IO ()+#ccall camellia256_invert_key , Ptr <struct camellia256_ctx> -> Ptr <struct camellia256_ctx> -> IO ()+#ccall camellia256_crypt , Ptr <struct camellia256_ctx> -> CUInt -> Ptr CUChar -> Ptr CUChar -> IO ()
bindings-nettle.cabal view
@@ -1,5 +1,5 @@ name:                bindings-nettle-version:             0.2+version:             0.3 synopsis:            bindings to nettle crypto library description:         partial bindings to nettle crypto library homepage:            http://floss.scru.org/bindings-nettle