summaryrefslogtreecommitdiff
path: root/crypto/xcbc.c
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2017-05-19 08:53:23 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-05-23 12:52:05 +0800
commit77b9b48d9a052b999a361cab936290fdf76bce3f (patch)
tree44dbe8e7d508f08c1c1b7776850b7f676d619a3d /crypto/xcbc.c
parent3ce047f888a62e40eb3ada5c125eb5a683f34696 (diff)
downloadlinux-crypto-77b9b48d9a052b999a361cab936290fdf76bce3f.tar.gz
linux-crypto-77b9b48d9a052b999a361cab936290fdf76bce3f.zip
crypto: hmac - add hmac IPAD/OPAD constant
Many HMAC users directly use directly 0x36/0x5c values. It's better with crypto to use a name instead of directly some crypto constant. This patch simply add HMAC_IPAD_VALUE/HMAC_OPAD_VALUE defines in a new include file "crypto/hmac.h" and use them in crypto/hmac.c Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions