aboutsummaryrefslogtreecommitdiff
path: root/crypto/md5
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-07-30 12:02:06 +0100
committerMatt Caswell <matt@openssl.org>2020-09-03 09:40:52 +0100
commit3fddbb264e87a8cef2903cbd7b02b8e1a39a2a99 (patch)
treec73b3bb141d21a739ae8faedcaf090e07a4fcba6 /crypto/md5
parentb48ca22a56553f285d91da0ac9399fd5efd54589 (diff)
downloadopenssl-3fddbb264e87a8cef2903cbd7b02b8e1a39a2a99.zip
openssl-3fddbb264e87a8cef2903cbd7b02b8e1a39a2a99.tar.gz
openssl-3fddbb264e87a8cef2903cbd7b02b8e1a39a2a99.tar.bz2
Add an HMAC implementation that is TLS aware
The TLS HMAC implementation should take care to calculate the MAC in constant time in the case of MAC-Then-Encrypt where we have a variable amount of padding. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12732)
Diffstat (limited to 'crypto/md5')
-rw-r--r--crypto/md5/build.info4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/md5/build.info b/crypto/md5/build.info
index d4494b2..afcf7c4 100644
--- a/crypto/md5/build.info
+++ b/crypto/md5/build.info
@@ -14,7 +14,9 @@ IF[{- !$disabled{asm} -}]
ENDIF
ENDIF
-SOURCE[../../libcrypto]=md5_dgst.c md5_one.c md5_sha1.c $MD5ASM
+$COMMON=md5_dgst.c md5_one.c md5_sha1.c $MD5ASM
+SOURCE[../../libcrypto]=$COMMON
+SOURCE[../../providers/libimplementations.a]=$COMMON
# Implementations are now spread across several libraries, so the defines
# need to be applied to all affected libraries and modules.