argon2-1.2.0: Haskell bindings to libargon2 - the reference implementation of the Argon2 password-hashing function

Safe Haskell | Safe
Language | Haskell2010

Crypto.Argon2.FFI

# Documentation

argon2i_hash_encoded :: Word32 -> Word32 -> Word32 -> Ptr a -> CSize -> Ptr b -> CSize -> CSize -> CString -> CSize -> IO Int32 Source #

argon2i_hash_raw :: Word32 -> Word32 -> Word32 -> Ptr a -> CSize -> Ptr b -> CSize -> Ptr c -> CSize -> IO Int32 Source #

argon2d_hash_encoded :: Word32 -> Word32 -> Word32 -> Ptr a -> CSize -> Ptr b -> CSize -> CSize -> CString -> CSize -> IO Int32 Source #

argon2d_hash_raw :: Word32 -> Word32 -> Word32 -> Ptr a -> CSize -> Ptr b -> CSize -> Ptr c -> CSize -> IO Int32 Source #

argon2i_verify :: CString -> Ptr a -> CSize -> IO Int32 Source #

argon2d_verify :: CString -> Ptr a -> CSize -> IO Int32 Source #

argon2_encodedlen :: Word32 -> Word32 -> Word32 -> Word32 -> Word32 -> IO CSize Source #

pattern ARGON2_OK :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_OUTPUT_PTR_NULL :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_OUTPUT_TOO_SHORT :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_OUTPUT_TOO_LONG :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_PWD_TOO_SHORT :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_PWD_TOO_LONG :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_SALT_TOO_SHORT :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_SALT_TOO_LONG :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_AD_TOO_SHORT :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_AD_TOO_LONG :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_SECRET_TOO_SHORT :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_SECRET_TOO_LONG :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_TIME_TOO_SMALL :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_TIME_TOO_LARGE :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MEMORY_TOO_LITTLE :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MEMORY_TOO_MUCH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_LANES_TOO_FEW :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_LANES_TOO_MANY :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_PWD_PTR_MISMATCH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_SALT_PTR_MISMATCH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_SECRET_PTR_MISMATCH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_AD_PTR_MISMATCH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MEMORY_ALLOCATION_ERROR :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_FREE_MEMORY_CBK_NULL :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_ALLOCATE_MEMORY_CBK_NULL :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_INCORRECT_PARAMETER :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_INCORRECT_TYPE :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_OUT_PTR_MISMATCH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_THREADS_TOO_FEW :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_THREADS_TOO_MANY :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MISSING_ARGS :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_ENCODING_FAIL :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_DECODING_FAIL :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_LANES :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_LANES :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_THREADS :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_THREADS :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_SYNC_POINTS :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_OUTLEN :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_OUTLEN :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_MEMORY :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_MEMORY_BITS :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_MEMORY :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_TIME :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_TIME :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_PWD_LENGTH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_PWD_LENGTH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_AD_LENGTH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_AD_LENGTH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_SALT_LENGTH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_SALT_LENGTH :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MIN_SECRET :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_MAX_SECRET :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_FLAG_CLEAR_PASSWORD :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_FLAG_CLEAR_SECRET :: forall a. (Num a, Eq a) => a Source #

pattern ARGON2_DEFAULT_FLAGS :: forall a. (Num a, Eq a) => a Source #