C or C++ : HMAC using weak hashing algorithm