aboutsummaryrefslogtreecommitdiff
path: root/tests/Codec/Crypto/HKDFTests.hs
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2018-08-23 12:23:39 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2018-08-23 12:23:39 -0400
commit9bbbf151b5bdde3f0bead1886996f17764e85521 (patch)
tree9cb2f7e814d99626bc7f4d99dacce6b03fdb9b96 /tests/Codec/Crypto/HKDFTests.hs
parentf7277a0fa46d97de4fa871d3744af948d258a334 (diff)
Factor out common allocate-modify-read pattern
Many functions in BoringSSL accept a buffer and a pointer to size, write data into the buffer, and mutate the size. Create a function representing this pattern that also loads the result into a ByteString for convenience.
Diffstat (limited to 'tests/Codec/Crypto/HKDFTests.hs')
0 files changed, 0 insertions, 0 deletions