[Swan] lib/libcrypto/libsha2/hmac_sha2.c

Paul Wouters pwouters at redhat.com
Tue May 7 00:07:22 EEST 2013


On Fri, 3 May 2013, D. Hugh Redelmeier wrote:

> Subject: [Swan] lib/libcrypto/libsha2/hmac_sha2.c
> 
> This file declares and defines two functions: sha256_result and
> sha512_result.  And nothing else.
>
> These functions are not declared in a header.
> These functions are not used.
>
> Perhaps it is time to delete this file.

These were used by the non-NSS version of the crypto routines,
as part of the macros:

HMAC_SET_KEY_IMPL()
HMAC_HASH_IMPL()
HMAC_SET_KEY_IMPL()
HMAC_HASH_IMPL()

I have removed hmac_sha2.c as well as hmac_generic.h that only defined those
macros.

Paul


More information about the Swan mailing list