diff options
Diffstat (limited to 'mac.c')
-rw-r--r-- | mac.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mac.c,v 1.15 2008/06/13 00:51:47 dtucker Exp $ */ | 1 | /* $OpenBSD: mac.c,v 1.16 2011/08/02 01:22:11 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -57,6 +57,10 @@ struct { | |||
57 | } macs[] = { | 57 | } macs[] = { |
58 | { "hmac-sha1", SSH_EVP, EVP_sha1, 0, -1, -1 }, | 58 | { "hmac-sha1", SSH_EVP, EVP_sha1, 0, -1, -1 }, |
59 | { "hmac-sha1-96", SSH_EVP, EVP_sha1, 96, -1, -1 }, | 59 | { "hmac-sha1-96", SSH_EVP, EVP_sha1, 96, -1, -1 }, |
60 | { "hmac-sha2-256", SSH_EVP, EVP_sha256, 0, -1, -1 }, | ||
61 | { "hmac-sha2-256-96", SSH_EVP, EVP_sha256, 96, -1, -1 }, | ||
62 | { "hmac-sha2-512", SSH_EVP, EVP_sha512, 0, -1, -1 }, | ||
63 | { "hmac-sha2-512-96", SSH_EVP, EVP_sha512, 96, -1, -1 }, | ||
60 | { "hmac-md5", SSH_EVP, EVP_md5, 0, -1, -1 }, | 64 | { "hmac-md5", SSH_EVP, EVP_md5, 0, -1, -1 }, |
61 | { "hmac-md5-96", SSH_EVP, EVP_md5, 96, -1, -1 }, | 65 | { "hmac-md5-96", SSH_EVP, EVP_md5, 96, -1, -1 }, |
62 | { "hmac-ripemd160", SSH_EVP, EVP_ripemd160, 0, -1, -1 }, | 66 | { "hmac-ripemd160", SSH_EVP, EVP_ripemd160, 0, -1, -1 }, |