use the typeclass for the lowest IO impure C bindings definitions, and define the pure interface as generic on top of this. At the same time define an Hash.IO interface to allow mutable manipulations of hash contextes when necessary. Use HashAlgorithm instead of HashFunction in the [PubKey] sections Tweak the HMAC, PBKDF2 functions to be more efficient and use the new interface |
||
|---|---|---|
| .. | ||
| DH.hs | ||
| ECDSA.hs | ||
| Generate.hs | ||
| P256.hs | ||
| Prim.hs | ||
| Types.hs | ||