#ifndef _ma_hash_h_ #define _ma_hash_h_ /*! Hash algorithms */ #define MA_HASH_MD5 1 #define MA_HASH_SHA1 2 #define MA_HASH_SHA224 3 #define MA_HASH_SHA256 4 #define MA_HASH_SHA384 5 #define MA_HASH_SHA512 6 /*! Hash digest sizes */ #define MA_MD5_HASH_SIZE 16 #define MA_SHA1_HASH_SIZE 20 #define MA_SHA224_HASH_SIZE 28 #define MA_SHA256_HASH_SIZE 32 #define MA_SHA384_HASH_SIZE 48 #define MA_SHA512_HASH_SIZE 64 #define MA_MAX_HASH_SIZE 64 #endif