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.DSA

Description

 

Documentation

privKeyCreateDSA Source #

Arguments

:: RNG

rng: initialized PRNG

-> Int

pbits: length of the key in bits. Must be between in range (1024, 3072) and multiple of 64. Bit size of the prime p

-> Int

qbits: qbits order of the subgroup. Must be in range (160, 256) and multiple of 8

-> IO PrivKey

key: handler to the resulting key

privKeyLoadDSA Source #

Arguments

:: MP

p

-> MP

q

-> MP

g

-> MP

x

-> IO PrivKey

key

pubKeyLoadDSA Source #

Arguments

:: MP

p

-> MP

q

-> MP

g

-> MP

y

-> IO PubKey

key