module Botan.Low.PubKey.SM2 where
import Botan.Bindings.PubKey
import Botan.Bindings.PubKey.SM2
import Botan.Low.MPI
import Botan.Low.Prelude
import Botan.Low.PubKey
privKeyLoadSM2
:: MP
-> ByteString
-> IO PrivKey
privKeyLoadSM2 :: MP -> ByteString -> IO PrivKey
privKeyLoadSM2 = (Ptr BotanPrivKey
-> BotanMP -> ConstPtr CChar -> IO BotanErrorCode)
-> MP -> ByteString -> IO PrivKey
mkPrivKeyLoad1_name Ptr BotanPrivKey -> BotanMP -> ConstPtr CChar -> IO BotanErrorCode
botan_privkey_load_sm2
pubKeyLoadSM2
:: MP
-> MP
-> ByteString
-> IO PubKey
pubKeyLoadSM2 :: MP -> MP -> ByteString -> IO PubKey
pubKeyLoadSM2 = (Ptr BotanPubKey
-> BotanMP -> BotanMP -> ConstPtr CChar -> IO BotanErrorCode)
-> MP -> MP -> ByteString -> IO PubKey
mkPubKeyLoad2_name Ptr BotanPubKey
-> BotanMP -> BotanMP -> ConstPtr CChar -> IO BotanErrorCode
botan_pubkey_load_sm2