Copyright | (c) Leo D 2023 |
---|---|
License | BSD-3-Clause |
Maintainer | leo@apotheca.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- botan_constant_time_compare :: ConstPtr Word8 -> ConstPtr Word8 -> CSize -> IO CInt
- botan_scrub_mem :: Ptr a -> CSize -> IO CInt
- pattern BOTAN_FFI_HEX_UPPER_CASE :: (Eq a, Num a) => a
- pattern BOTAN_FFI_HEX_LOWER_CASE :: (Eq a, Num a) => a
- botan_hex_encode :: ConstPtr Word8 -> CSize -> Ptr CChar -> Word32 -> IO CInt
- botan_hex_decode :: ConstPtr CChar -> CSize -> Ptr Word8 -> Ptr CSize -> IO CInt
- botan_base64_encode :: ConstPtr Word8 -> CSize -> Ptr CChar -> Ptr CSize -> IO CInt
- botan_base64_decode :: ConstPtr CChar -> CSize -> Ptr Word8 -> Ptr CSize -> IO CInt
Documentation
botan_constant_time_compare Source #
Returns 0 if x[0..len] == y[0..len], -1 otherwise.
pattern BOTAN_FFI_HEX_UPPER_CASE :: (Eq a, Num a) => a Source #
pattern BOTAN_FFI_HEX_LOWER_CASE :: (Eq a, Num a) => a Source #