| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.Messaging.Crypto.SNTRUP761.Bindings.RNG
Documentation
withDRG :: TVar ChaChaDRG -> (Ptr RNGContext -> IO a) -> IO a Source #
rngFuncPtr :: FunPtr RNGFunc Source #
type RNGContext = () Source #
type RNGFunc = Ptr RNGContext -> CSize -> Ptr Word8 -> IO () Source #