mirleft / ocaml-nocrypto

OCaml cryptographic library
ISC License
111 stars 53 forks source link

Add hmacv #113

Closed 314eter closed 7 years ago

314eter commented 7 years ago

This is more efficient than first concatenating everything to one big cstruct.

hmac ~key (Cstruct.concat (messages))

vs

hmacv ~key messages
pqwy commented 7 years ago

It's a perfectly reasonable request, but copy-pasting is a no-no.

See e22e9486f6f53ff1bf772e4f60c5d5feb8f9c06b; thanks for the suggestion.

pqwy commented 7 years ago

It ended up being retired in favor of hmaci.