Sha256: 88741b552bba0f0a98628edc559090b583a9aaca0d7ddb950b7a04abd7e72d02

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

#define COMMON_DIGEST_FOR_OPENSSL 1
#include <CommonCrypto/CommonDigest.h>

#define SHA1_BLOCK_LENGTH	CC_SHA1_BLOCK_BYTES
#define SHA1_DIGEST_LENGTH	CC_SHA1_DIGEST_LENGTH
#define SHA1_CTX		CC_SHA1_CTX

static DEFINE_UPDATE_FUNC_FOR_UINT(SHA1);
static DEFINE_FINISH_FUNC_FROM_FINAL(SHA1);

#undef SHA1_Update
#undef SHA1_Finish
#define SHA1_Update rb_digest_SHA1_update
#define SHA1_Finish rb_digest_SHA1_finish

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubysl-digest-2.1 ext/rubysl/digest/sha1/sha1cc.h
rubysl-digest-2.0.8 ext/rubysl/digest/sha1/sha1cc.h
rubysl-digest-2.0.7 ext/rubysl/digest/sha1/sha1cc.h