botan-low
Copyright(c) 2023-2024 Apotheca Labs
(c) 2024-2025 Haskell Foundation
LicenseBSD-3-Clause
Maintainerjoris@well-typed.com, leo@apotheca.io
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

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