diff options
author | avg <avg@FreeBSD.org> | 2017-02-27 08:27:38 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2017-02-27 08:27:38 +0000 |
commit | c08ec0f7fd214080e3d49c30f69793dd060b2d13 (patch) | |
tree | 7dc7f03824fc55a11bb932a418d8ede77ccfc6f8 /lib/libcrypt | |
parent | be0c71b7c23b2e474cb28e2df13ea927c2c3b2f0 (diff) | |
download | FreeBSD-src-c08ec0f7fd214080e3d49c30f69793dd060b2d13.zip FreeBSD-src-c08ec0f7fd214080e3d49c30f69793dd060b2d13.tar.gz |
MFC r292782: Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c
cperciva's libmd implementation is 5-30% faster
The same was done for SHA256 previously in r263218
Approved by: secteam
Diffstat (limited to 'lib/libcrypt')
-rw-r--r-- | lib/libcrypt/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index aca24d8..f17c364 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -29,6 +29,7 @@ CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH .for sym in MD4Init MD4Final MD4Update MD4Pad \ MD5Init MD5Final MD5Update MD5Pad \ SHA256_Init SHA256_Final SHA256_Update \ + SHA384_Init SHA384_Final SHA384_Update \ SHA512_Init SHA512_Final SHA512_Update CFLAGS+= -D${sym}=__${sym} .endfor |