botan-low-0.0.1.0: Low-level Botan bindings
Copyright(c) Leo D 2023
LicenseBSD-3-Clause
Maintainerleo@apotheca.io
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Botan.Low.MPI

Description

 

Documentation

newtype MP Source #

Constructors

MkMP 

Fields

withMP :: MP -> (BotanMP -> IO a) -> IO a Source #

mpClear :: MP -> IO () Source #

mpSetFromMP :: MP -> MP -> IO () Source #

mpAddWord32 :: MP -> MP -> Word32 -> IO () Source #

mpSubWord32 :: MP -> MP -> Word32 -> IO () Source #

mpAdd :: MP -> MP -> MP -> IO () Source #

mpSub :: MP -> MP -> MP -> IO () Source #

mpMul :: MP -> MP -> MP -> IO () Source #

mpDiv :: MP -> MP -> MP -> MP -> IO () Source #

mpModMul :: MP -> MP -> MP -> MP -> IO () Source #

mpCmp :: MP -> MP -> IO Int Source #

mpSwap :: MP -> MP -> IO () Source #

mpPowMod :: MP -> MP -> MP -> MP -> IO () Source #

mpLeftShift :: MP -> MP -> Int -> IO () Source #

mpRightShift :: MP -> MP -> Int -> IO () Source #

mpModInverse :: MP -> MP -> MP -> IO () Source #

mpRandBits :: MP -> RNG -> Int -> IO () Source #

mpRandRange :: MP -> RNG -> MP -> MP -> IO () Source #

mpGCD :: MP -> MP -> MP -> IO () Source #

mpSetBit :: MP -> Int -> IO () Source #

mpClearBit :: MP -> Int -> IO () Source #