Main Page Modules Data Structures File List Data Fields Globals Related Pages

# beecrypt/types.h File Reference

Go to the source code of this file.

## Defines

#define | ROTL32(x, s) (((x) << (s)) | ((x) >> (32 - (s))))
#define | ROTR32(x, s) (((x) >> (s)) | ((x) << (32 - (s))))
#define | BEECRYPTAPI

## Typedefs

typedef unsigned char | byte
typedef char | int8
typedef short | int16
typedef int | int32
typedef long long | int64
typedef unsigned char | uint8
typedef unsigned short | uint16
typedef unsigned int | uint32
typedef unsigned long long | uint64
typedef char | javabyte
typedef short | javashort
typedef int | javaint
typedef long long | javalong
typedef unsigned short | javachar
typedef float | javafloat
typedef double | javadouble

## Define Documentation

#define BEECRYPTAPI

Definition at line 43 of file types.h.

Referenced by blockCipherContextInit, blockEncrypt, decodeByte, decodeChar, decodeDouble, decodeFloat, decodeInts, decodeLong, dldp_pCopy, dldp_pEqual, dldp_pFree, dldp_pPublic, dlkp_pFree, dlkp_pInit, dlpk_pCopy, dlpk_pEqual, dlpk_pFree, dlpk_pgoqValidate, dlsvdp_pDHSecret, encodeChar, encodeChars, encodeFloat, encodeInts, encodeIntsPartial, entropySourceCount, fips186Seed, hashFunctionContextFree, hashFunctionContextReset, keyedHashFunctionContextFree, keyedHashFunctionContextReset, keyedHashFunctionContextUpdate, keyedHashFunctionContextUpdateMC, keyedHashFunctionContextUpdateMP32, mp32bfree, mp32binit, mp32bsethex, mp32bzero, mp32nfree, mp32ninit, mp32nsize, mtprngSeed, pkcs5Pad, randomGeneratorContextInit, randomGeneratorContextNext, rsapkFree, rsapri, and rsapricrt.

#define ROTL32 | ( | x,
|  | s |  | ) | (((x) << (s)) | ((x) >> (32 - (s))))

| Definition at line 30 of file types.h. Referenced by sha1Process.

#define ROTR32 | ( | x,
|  | s |  | ) | (((x) >> (s)) | ((x) << (32 - (s))))

| Definition at line 33 of file types.h.

## Typedef Documentation

typedef unsigned char byte

| Definition at line 44 of file types.h.

typedef short int16

| Definition at line 50 of file types.h. Referenced by encodeInt, and swap16.

typedef int int32

| Definition at line 51 of file types.h. Referenced by encodeInt, and swap32.

typedef long long int64

| Definition at line 52 of file types.h. Referenced by encodeLong, and swap64.

typedef char int8

| Definition at line 48 of file types.h.

typedef char javabyte

| Definition at line 61 of file types.h. Referenced by decodeByte, decodeFloat, encodeByte, encodeFloat, encodeIntsPartial, readByte, and writeByte.

typedef unsigned short javachar

| Definition at line 66 of file types.h. Referenced by decodeByte, decodeChar, decodeChars, decodeFloat, decodeInts, decodeLong, encodeChar, encodeChars, encodeIntsPartial, readChar, readChars, writeChar, and writeChars.

typedef double javadouble

| Definition at line 69 of file types.h. Referenced by decodeDouble, encodeChars, encodeDouble, and encodeInts.

typedef float javafloat

| Definition at line 68 of file types.h. Referenced by decodeFloat, encodeChars, encodeFloat, and encodeInts.

typedef int javaint

| Definition at line 63 of file types.h. Referenced by decodeByte, decodeDouble, decodeFloat, decodeInt, decodeInts, decodeIntsPartial, encodeChars, encodeFloat, encodeInt, encodeInts, encodeIntsPartial, encodeIntsPartialPad, hashFunctionContextUpdateMP32, hmacDigest, keyedHashFunctionContextUpdateMP32, readInt, readInts, writeInt, and writeInts.

typedef long long javalong

| Definition at line 64 of file types.h. Referenced by decodeByte, decodeChar, decodeLong, encodeFloat, encodeIntsPartial, encodeLong, readLong, timestamp, and writeLong.

typedef short javashort

| Definition at line 62 of file types.h. Referenced by decodeByte, decodeDouble, decodeShort, encodeFloat, encodeIntsPartial, encodeShort, readShort, and writeShort.

typedef unsigned short uint16

| Definition at line 55 of file types.h. Referenced by encodeInt, and swapu16.

typedef unsigned int uint32

Definition at line 56 of file types.h.

Referenced by aesCBCDecrypt, aesCBCEncrypt, aesDecrypt, aesECBDecrypt, aesECBEncrypt, aesEncrypt, aesSetIV, aesSetup, b64crc, blockCipherContextSetIV, blockCipherContextSetup, blockDecrypt, blockEncrypt, blowfishCBCDecrypt, blowfishCBCEncrypt, blowfishDecrypt, blowfishECBDecrypt, blowfishECBEncrypt, blowfishEncrypt, blowfishSetIV, blowfishSetup, dhaes_pContextDecrypt, dhaes_pContextEncrypt, dhaes_pContextSetup, dldp_pEqual, dldp_pFree, dldp_pgonGenerator, dldp_pgonGenerator_w, dldp_pgonMake, dldp_pgonMakeSafe, dldp_pgoqGenerator, dldp_pgoqGenerator_w, dldp_pgoqMake, dldp_pgoqMakeSafe, dldp_pValidate, elgv1sign, elgv1vrfy, elgv3sign, elgv3vrfy, encodeLong, entropyGatherNext, entropySourceCount, fips186Next, fips186Seed, hmacDigest, hmacmd5Digest, hmacmd5Setup, hmacSetup, hmacsha1Digest, hmacsha1Setup, hmacsha256Digest, hmacsha256Setup, keyedHashFunctionContextSetup, keyedHashFunctionContextUpdate, md5Digest, md5Finish, md5Process, mp32add, mp32addmul, mp32addsqrtrc, mp32addw, mp32addx, mp32baddmod_w, mp32bcopy, mp32bfree, mp32binit, mp32binv_w, mp32bmod_w, mp32bmu_w, mp32bmulmod_w, mp32bneg, mp32bnmulmod, mp32bnpowmod, mp32bnpowmodsld, mp32bnrnd, mp32bnsqrmod, mp32bpowmod_w, mp32bpowmodsld_w, mp32bpprime_w, mp32brnd_w, mp32brndinv_w, mp32brndodd_w, mp32bset, mp32bsethex, mp32bslide_w, mp32bsqrmod_w, mp32bsubmod_w, mp32bsubone, mp32btwopowmod_w, mp32bzero, mp32clrlsb, mp32clrmsb, mp32divpowtwo, mp32divtwo, mp32eq, mp32eqmone, mp32eqx, mp32even, mp32fill, mp32gcd_w, mp32ge, mp32gex, mp32gt, mp32gtx, mp32isone, mp32istwo, mp32le, mp32leone, mp32lex, mp32lsbset, mp32lshift, mp32lszcnt, mp32lt, mp32ltx, mp32msbset, mp32mszcnt, mp32mul, mp32multwo, mp32ndivmod, mp32ne, mp32neg, mp32nex, mp32nfree, mp32ninit, mp32nmod, mp32nmodw, mp32norm, mp32not, mp32nset, mp32nsethex, mp32nsetw, mp32nsize, mp32nz, mp32nzero, mp32odd, mp32pmilrab_w, mp32pmilraba_w, mp32pmilrabtwo_w, mp32print, mp32println, mp32prnd_w, mp32prndbits, mp32prndconone_w, mp32prndsafe_w, mp32psppdiv_w, mp32ptrials, mp32rshift, mp32rshiftlsz, mp32sdivtwo, mp32setlsb, mp32setmsb, mp32setmul, mp32setw, mp32setx, mp32size, mp32sqr, mp32sub, mp32subw, mp32subx, mp32xor, mp32z, mp32zero, mtprngNext, mtprngReload, mtprngSeed, pgpPrtPubkeyParams, pgpReadPkts, randomGeneratorContextNext, rpmDigestFinal, rsakpMake, rsapri, rsapricrt, rsavrfy, sha1Digest, sha1Finish, sha1Process, sha256Digest, sha256Finish, sha256Process, and swapu32.

typedef unsigned long long uint64

| Definition at line 58 of file types.h. Referenced by mp32add, mp32addmul, mp32addsqrtrc, mp32addw, mp32ndivmod, mp32nmod, mp32nmodw, mp32setmul, mp32sub, and mp32subw.

typedef unsigned char uint8

| Definition at line 54 of file types.h. Referenced by mp32bpowmodsld_w, mp32bsethex, mp32lshift, mp32nsethex, mp32prndbits, and mp32rshift.