Sha256: a37aa8aa6ce407f894810586878540feebede8c4fe6f1831b7f07441bd091c44

Contents?: true

Size: 656 Bytes

Versions: 30

Compression:

Stored size: 656 Bytes

Contents

#ifndef bcrypt_pbkdf_include_h
#define bcrypt_pbkdf_include_h

#include <stdint.h>
#include <sys/types.h>
#include <stdlib.h>
#include <strings.h>

#if defined(_WIN32) || (defined(__sun) && defined(__SVR4))

typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;

#endif

#include "blf.h"

void explicit_bzero(void *p, size_t n);
int bcrypt_pbkdf(const char *pass, size_t passlen, const uint8_t *salt, size_t saltlen,
    uint8_t *key, size_t keylen, unsigned int rounds);
void bcrypt_hash(const uint8_t *sha2pass, const uint8_t *sha2salt, uint8_t *out);

#define BCRYPT_WORDS 8
#define BCRYPT_HASHSIZE (BCRYPT_WORDS * 4)

#endif

Version data entries

30 entries across 28 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/includes.h
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/bcrypt_pbkdf-1.1.0/ext/mri/includes.h
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/bcrypt_pbkdf-1.0.1/ext/mri/includes.h
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/bcrypt_pbkdf-1.1.0/ext/mri/includes.h
bcrypt_pbkdf-1.1.0-x64-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0-x86-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.rc2-x64-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.rc2-x86-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.rc2 ext/mri/includes.h
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/bcrypt_pbkdf-1.0.1/ext/mri/includes.h
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/bcrypt_pbkdf-1.0.1/ext/mri/includes.h
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/bcrypt_pbkdf-1.0.1/ext/mri/includes.h
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/bcrypt_pbkdf-1.0.1/ext/mri/includes.h
bcrypt_pbkdf-1.1.0.rc1-x64-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.rc1-x86-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.rc1 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.pre.rc1-x64-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.pre.rc1-x86-mingw32 ext/mri/includes.h
bcrypt_pbkdf-1.1.0.pre.rc1 ext/mri/includes.h