4203dd9b79
- Reverted libbg-cli back to static linkage (for now) to fix problem with cli-generate generated code. - Fixed header include path in cli-generate. - Rewrote iobuf and str number formatting using fmt. - Added missing selftest.c file to the dist tarball (oops). - Fixed uint##.h headers. - Flattened out the installed headers and libraries. NOTE: This means this package is not backwards compatible. - Added dns library (modified from public domain djbdns-1.05) - Added wildcard handling and substitution to bg-installer. - Added reversed IPv4 formatting functions (from Jorge Valdes). - Added str_end* and str_case_end* functions, parallel to str_start* and str_case_start* but for suffixes. - Added the ability to use arbitrary format functions in fmt_multi. - Added support for enumerate and itemize in cli-generate. - Added surfrand_uniform function, protected against bias.
15 lines
495 B
C
15 lines
495 B
C
$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)
|