diff options
author | Benjamin Barenblat <bbaren@google.com> | 2018-04-28 14:49:07 -0700 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2018-04-28 14:49:07 -0700 |
commit | 8fc0b121543b742f56f83c9eb74885e04d104778 (patch) | |
tree | b9bf54768acefb7153464574823edd5d59111a05 /src/Internal/Base.chs | |
parent | 5012ab360d06a5b3e0955c107329ac6b1d3d62e5 (diff) |
Split low-level HMAC bindings into their own module
Diffstat (limited to 'src/Internal/Base.chs')
-rw-r--r-- | src/Internal/Base.chs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Internal/Base.chs b/src/Internal/Base.chs index 552e76b..427cf6b 100644 --- a/src/Internal/Base.chs +++ b/src/Internal/Base.chs @@ -36,3 +36,8 @@ data EvpMdCtx -- | The BoringSSL @EVP_MD@ type, representing a hash algorithm. data EvpMd {#pointer *EVP_MD as 'Ptr EvpMd' -> EvpMd nocode#} + +-- | The BoringSSL @HMAC_CTX@ type, representing the state of a pending HMAC +-- operation. +data HmacCtx +{#pointer *HMAC_CTX as 'Ptr HmacCtx' -> HmacCtx nocode#} |