1 #define COMMON_DIGEST_FOR_OPENSSL 1 2 #include <CommonCrypto/CommonDigest.h> 4 #define SHA1_BLOCK_LENGTH CC_SHA1_BLOCK_BYTES 5 #define SHA1_DIGEST_LENGTH CC_SHA1_DIGEST_LENGTH 6 #define SHA1_CTX CC_SHA1_CTX 13 #define SHA1_Update rb_digest_SHA1_update 14 #define SHA1_Finish rb_digest_SHA1_finish #define DEFINE_FINISH_FUNC_FROM_FINAL(name)
#define DEFINE_UPDATE_FUNC_FOR_UINT(name)