X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/2965425374ca4413339436c2f706f7b5508402e2..df0e469fdcf0e0b3ef74bac6500e5751c40b4ec1:/AppleCSP/PBKDF2/HMACSHA1.h diff --git a/AppleCSP/PBKDF2/HMACSHA1.h b/AppleCSP/PBKDF2/HMACSHA1.h index af143b92..bf2da808 100644 --- a/AppleCSP/PBKDF2/HMACSHA1.h +++ b/AppleCSP/PBKDF2/HMACSHA1.h @@ -27,17 +27,15 @@ #include #include +#include +#include #ifdef __cplusplus extern "C" { #endif -#define kHMACSHA1DigestSize 20 -#define kHMACMD5DigestSize 16 - -/* XXX These should really be in SHA1.h */ -#define kSHA1DigestSize 20 -#define kSHA1BlockSize 64 +#define kHMACSHA1DigestSize SHA1_DIGEST_SIZE +#define kHMACMD5DigestSize MD5_DIGEST_SIZE /* This function create an HMACSHA1 digest of kHMACSHA1DigestSizestSize bytes * and outputs it to resultPtr. See RFC 2104 for details. */