X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgc.h;h=f08260c89b7151ddcee47829c2547cb5bf7a5744;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=039c9ddc4da9c8f2272d2bfaf31c9e74ec78ab15;hpb=341111f654709cd0295607a4abbe721495c77e90;p=gnulib.git diff --git a/lib/gc.h b/lib/gc.h index 039c9ddc4..f08260c89 100644 --- a/lib/gc.h +++ b/lib/gc.h @@ -1,5 +1,5 @@ /* gc.h --- Header file for implementation agnostic crypto wrapper API. - * Copyright (C) 2002-2005, 2007-2008, 2011-2012 Free Software Foundation, Inc. + * Copyright (C) 2002-2005, 2007-2008, 2011-2014 Free Software Foundation, Inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published @@ -159,6 +159,10 @@ extern Gc_rc gc_hmac_md5 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf); extern Gc_rc gc_hmac_sha1 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf); +extern Gc_rc gc_hmac_sha256 (const void *key, size_t keylen, + const void *in, size_t inlen, char *resbuf); +extern Gc_rc gc_hmac_sha512 (const void *key, size_t keylen, + const void *in, size_t inlen, char *resbuf); /* Derive cryptographic keys from a password P of length PLEN, with salt S of length SLEN, placing the result in pre-allocated buffer