return s;
}
-static void sha256_bytes(void *handle, void *p, int len)
+static void sha256_bytes(void *handle, const void *p, int len)
{
SHA256_State *s = handle;
* HMAC wrapper on it.
*/
-static void *sha256_make_context(void)
+static void *sha256_make_context(void *cipher_ctx)
{
return snewn(3, SHA256_State);
}
sha256_generate, sha256_verify,
hmacsha256_start, hmacsha256_bytes,
hmacsha256_genresult, hmacsha256_verresult,
- "hmac-sha2-256",
+ "hmac-sha2-256", "hmac-sha2-256-etm@openssh.com",
32,
"HMAC-SHA-256"
};