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

Botan.Bindings.PubKey.SM2

Description

 

Documentation

botan_pubkey_load_sm2 Source #

Arguments

:: Ptr BotanPubKey

key

-> BotanMP

public_x

-> BotanMP

public_y

-> ConstPtr CChar

curve_name

-> IO CInt 

botan_privkey_load_sm2 Source #

Arguments

:: Ptr BotanPrivKey

key

-> BotanMP

scalar

-> ConstPtr CChar

curve_name

-> IO CInt 

botan_pubkey_sm2_compute_za Source #

Arguments

:: Ptr Word8

out[]

-> Ptr CSize

out_len

-> ConstPtr CChar

ident

-> ConstPtr CChar

hash_algo

-> BotanPubKey

key

-> IO CInt