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

Version Path
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/bcrypt_pbkdf-1.1.0/ext/mri/sha2.h
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/bcrypt_pbkdf-1.1.0/ext/mri/sha2.h
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/bcrypt_pbkdf-1.1.0/ext/mri/sha2.h
bcrypt_pbkdf-1.1.0-x64-mingw32 ext/mri/sha2.h
bcrypt_pbkdf-1.1.0-x86-mingw32 ext/mri/sha2.h
bcrypt_pbkdf-1.1.0 ext/mri/sha2.h
bcrypt_pbkdf-1.1.0.rc2-x64-mingw32 ext/mri/sha2.h
bcrypt_pbkdf-1.1.0.rc2-x86-mingw32 ext/mri/sha2.h
bcrypt_pbkdf-1.1.0.rc2 ext/mri/sha2.h