From 8fc0b121543b742f56f83c9eb74885e04d104778 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Sat, 28 Apr 2018 14:49:07 -0700 Subject: Split low-level HMAC bindings into their own module --- src/Internal/Base.chs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Internal/Base.chs') 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#} -- cgit v1.2.3