$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-12-10 00:26:16
Zach Laine wrote:
> Why the discrepancy between unsigned char const * in the hash algorithm
> ctor, and void const * in update()?
The discrepancy is because the both used to take `unsigned char const*`,
and then I changed `update` to `void const*` to avoid all the reinterpret
casts, but didn't change the constructor.
However, the key often comes in char[] or string form, especially when
using HMAC to interact with existing APIs, so I think that the constructor
is also going to be changed soon to take `void const*` to match.