Copyright | (c) Leo D 2023 |
---|---|
License | BSD-3-Clause |
Maintainer | leo@apotheca.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- botan_privkey_load_dh :: Ptr BotanPrivKey -> BotanMP -> BotanMP -> BotanMP -> IO CInt
- botan_pubkey_load_dh :: Ptr BotanPubKey -> BotanMP -> BotanMP -> BotanMP -> IO CInt
Documentation
botan_privkey_load_dh Source #
:: Ptr BotanPrivKey | key: variable populated with key material |
-> BotanMP | p: prime order of a Z_p group |
-> BotanMP | g: group generator |
-> BotanMP | x: private key |
-> IO CInt | 0 on success, a negative value on failure |
Loads Diffie Hellman private key