X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Fcrypto%2Fsha.h;h=c0ccc2b1a2d82eb21d2b34cfa2eb292297c2dd56;hb=5b6d2d7fdf806f2b5a9352416f9e670911fc4748;hp=0686e1f7a24b0375a421af0cf79da7288f56fdee;hpb=5265eeb2b036835021591173ac64e624baaff55c;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/crypto/sha.h b/include/crypto/sha.h index 0686e1f..c0ccc2b 100644 --- a/include/crypto/sha.h +++ b/include/crypto/sha.h @@ -8,6 +8,9 @@ #define SHA1_DIGEST_SIZE 20 #define SHA1_BLOCK_SIZE 64 +#define SHA224_DIGEST_SIZE 28 +#define SHA224_BLOCK_SIZE 64 + #define SHA256_DIGEST_SIZE 32 #define SHA256_BLOCK_SIZE 64 @@ -23,6 +26,15 @@ #define SHA1_H3 0x10325476UL #define SHA1_H4 0xc3d2e1f0UL +#define SHA224_H0 0xc1059ed8UL +#define SHA224_H1 0x367cd507UL +#define SHA224_H2 0x3070dd17UL +#define SHA224_H3 0xf70e5939UL +#define SHA224_H4 0xffc00b31UL +#define SHA224_H5 0x68581511UL +#define SHA224_H6 0x64f98fa7UL +#define SHA224_H7 0xbefa4fa4UL + #define SHA256_H0 0x6a09e667UL #define SHA256_H1 0xbb67ae85UL #define SHA256_H2 0x3c6ef372UL