summaryrefslogtreecommitdiff
path: root/hmac.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-15 21:37:14 +0000
committerDamien Miller <djm@mindrot.org>2015-01-16 18:21:33 +1100
commite17ac01f8b763e4b83976b9e521e90a280acc097 (patch)
tree45c850becdfd3fcb1c160ebfde7eaf8ee6f1f94b /hmac.c
parentddef9995a1fa6c7a8ff3b38bfe6cf724bebf13d0 (diff)
upstream commit
switch to sshbuf
Diffstat (limited to 'hmac.c')
-rw-r--r--hmac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hmac.c b/hmac.c
index 99317b0f9..d1c12417e 100644
--- a/hmac.c
+++ b/hmac.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hmac.c,v 1.10 2014/01/31 16:39:19 tedu Exp $ */ 1/* $OpenBSD: hmac.c,v 1.11 2015/01/15 21:37:14 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Markus Friedl. All rights reserved. 3 * Copyright (c) 2014 Markus Friedl. All rights reserved.
4 * 4 *
@@ -20,7 +20,7 @@
20#include <sys/types.h> 20#include <sys/types.h>
21#include <string.h> 21#include <string.h>
22 22
23#include "buffer.h" 23#include "sshbuf.h"
24#include "digest.h" 24#include "digest.h"
25#include "hmac.h" 25#include "hmac.h"
26 26
@@ -96,7 +96,7 @@ ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen)
96} 96}
97 97
98int 98int
99ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const Buffer *b) 99ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b)
100{ 100{
101 return ssh_digest_update_buffer(ctx->digest, b); 101 return ssh_digest_update_buffer(ctx->digest, b);
102} 102}