Sha256: 7d166356ba4d3436454ac6aed0cd45d16d7c8c7cb49c23a2c19e2ba402428a34
Contents?: true
Size: 499 Bytes
Versions: 9
Compression:
Stored size: 499 Bytes
Contents
#include "crypto_hash_sha512.h" #define SHA2_CTX crypto_hash_sha512_state #ifdef SHA512_DIGEST_LENGTH # undef SHA512_DIGEST_LENGTH #endif #define SHA512_DIGEST_LENGTH crypto_hash_sha512_BYTES inline static void SHA512Init(SHA2_CTX* ctx) { crypto_hash_sha512_init(ctx); } inline static void SHA512Update(SHA2_CTX* ctx, const void *in, size_t inlen) { crypto_hash_sha512_update(ctx, in, inlen); } inline static void SHA512Final(uint8_t* out, SHA2_CTX* ctx) { crypto_hash_sha512_final(ctx, out); }
Version data entries
9 entries across 9 versions & 2 rubygems