summaryrefslogtreecommitdiff
path: root/devel/bglibs/patches/patch-crypto_hmac.c
blob: f4ac4456873d34b3bd08c3ab7d4bf597c8087531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-crypto_hmac.c,v 1.2 2017/01/02 02:18:30 schmonz Exp $

Rename hmac to bghmac.

--- crypto/hmac.c.orig	2016-12-18 09:58:18.626636990 +0000
+++ crypto/hmac.c
@@ -101,7 +101,7 @@ void hmac_finish(const struct hmac_contr
  * Authentication) according to RFC 2104, using a secure hash given in
  * the control block.
  */
-void hmac(const struct hmac_control_block* hcb,
+void bghmac(const struct hmac_control_block* hcb,
 	  const str* secret,
 	  const str* nonce,
 	  void* output)