lavu: Add an API for calculating HMAC (RFC 2104)