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.PubKey.DH

Description

 

Documentation

privKeyLoadDH Source #

Arguments

:: MP

p: prime order of a Z_p group

-> MP

g: group generator

-> MP

x: private key

-> IO PrivKey

key: variable populated with key material

pubKeyLoadDH Source #

Arguments

:: MP

p: prime order of a Z_p group

-> MP

g: group generator

-> MP

y: public key

-> IO PubKey

key: variable populated with key material