1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -05:00

Rename ssh_md5 and ssh_sha1 to ssh_hmac_md5 and ssh_hmac_sha1 respectively.

This is to make room for a hash abstraction that's likely to want to use
ssh_sha1, at least.

[originally from svn r6249]
This commit is contained in:
Ben Harris
2005-08-31 19:11:19 +00:00
parent aceea31760
commit 11d5c791ac
4 changed files with 9 additions and 8 deletions

View File

@ -282,7 +282,7 @@ void hmac_sha1_simple(void *key, int keylen, void *data, int datalen,
SHA_Final(&states[1], output);
}
const struct ssh_mac ssh_sha1 = {
const struct ssh_mac ssh_hmac_sha1 = {
sha1_make_context, sha1_free_context, sha1_key,
sha1_generate, sha1_verify,
"hmac-sha1",
@ -290,7 +290,7 @@ const struct ssh_mac ssh_sha1 = {
"HMAC-SHA1"
};
const struct ssh_mac ssh_sha1_buggy = {
const struct ssh_mac ssh_hmac_sha1_buggy = {
sha1_make_context, sha1_free_context, sha1_key_buggy,
sha1_generate, sha1_verify,
"hmac-sha1",