module Botan.Low.PubKey.ECDSA (
privKeyLoadECDSA
, pubKeyLoadECDSA
) where
import Botan.Bindings.PubKey.ECDSA
import Botan.Low.MPI
import Botan.Low.PubKey
import Data.ByteString (ByteString)
privKeyLoadECDSA
:: MP
-> ByteString
-> IO PrivKey
privKeyLoadECDSA :: MP -> ByteString -> IO PrivKey
privKeyLoadECDSA = (Ptr BotanPrivKey -> BotanMP -> ConstPtr CChar -> IO CInt)
-> MP -> ByteString -> IO PrivKey
mkPrivKeyLoad1_name Ptr BotanPrivKey -> BotanMP -> ConstPtr CChar -> IO CInt
botan_privkey_load_ecdsa
pubKeyLoadECDSA
:: MP
-> MP
-> ByteString
-> IO PubKey
pubKeyLoadECDSA :: MP -> MP -> ByteString -> IO PubKey
pubKeyLoadECDSA = (Ptr BotanPubKey
-> BotanMP -> BotanMP -> ConstPtr CChar -> IO CInt)
-> MP -> MP -> ByteString -> IO PubKey
mkPubKeyLoad2_name Ptr BotanPubKey -> BotanMP -> BotanMP -> ConstPtr CChar -> IO CInt
botan_pubkey_load_ecdsa