| Copyright | (c) 2023-2024 Apotheca Labs (c) 2024-2025 Haskell Foundation |
|---|---|
| License | BSD-3-Clause |
| Maintainer | joris@well-typed.com, leo@apotheca.io |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | GHC2021 |
Botan.Low.MPI
Description
Documentation
Constructors
| MkMP | |
Fields
| |
mpSetFromInt :: MP -> Int -> IO () Source #
mpSetFromMP :: MP -> MP -> IO () Source #
mpSetFromStr :: MP -> ByteString -> IO () Source #
mpSetFromRadixStr :: MP -> ByteString -> Int -> IO () Source #
mpNumBytes :: MP -> IO Int Source #
mpToWord32 :: MP -> IO Word32 Source #
mpIsPositive :: MP -> IO Bool Source #
mpIsNegative :: MP -> IO Bool Source #
mpFlipSign :: MP -> IO () Source #
mpAddWord32 :: MP -> MP -> Word32 -> IO () Source #
mpSubWord32 :: MP -> MP -> Word32 -> IO () Source #
mpLeftShift :: MP -> MP -> Int -> IO () Source #
mpRightShift :: MP -> MP -> Int -> IO () Source #
mpRandBits :: MP -> RNG -> Int -> IO () Source #
mpClearBit :: MP -> Int -> IO () Source #