|
typedef int(* | entropyNext) (byte *, size_t) |
| Prototype definition for an entropy-generating function. More...
|
|
typedef void | randomGeneratorParam |
|
typedef int(* | randomGeneratorSetup) (randomGeneratorParam *) |
|
typedef int(* | randomGeneratorSeed) (randomGeneratorParam *, const byte *, size_t) |
|
typedef int(* | randomGeneratorNext) (randomGeneratorParam *, byte *, size_t) |
|
typedef int(* | randomGeneratorCleanup) (randomGeneratorParam *) |
|
typedef void | hashFunctionParam |
|
typedef int(* | hashFunctionReset) (hashFunctionParam *) |
|
typedef int(* | hashFunctionUpdate) (hashFunctionParam *, const byte *, size_t) |
|
typedef int(* | hashFunctionDigest) (hashFunctionParam *, byte *) |
|
typedef void | keyedHashFunctionParam |
|
typedef int(* | keyedHashFunctionSetup) (keyedHashFunctionParam *, const byte *, size_t) |
|
typedef int(* | keyedHashFunctionReset) (keyedHashFunctionParam *) |
|
typedef int(* | keyedHashFunctionUpdate) (keyedHashFunctionParam *, const byte *, size_t) |
|
typedef int(* | keyedHashFunctionDigest) (keyedHashFunctionParam *, byte *) |
|
typedef void | blockCipherParam |
| Placeholder type definition for blockcipher parameters. More...
|
|
typedef int(* | blockCipherSetup) (blockCipherParam *, const byte *, size_t, cipherOperation) |
| Prototype definition for a setup function. More...
|
|
typedef int(* | blockCipherSetIV) (blockCipherParam *, const byte *) |
| Prototype definition for an initialization vector setup function. More...
|
|
typedef int(* | blockCipherSetCTR) (blockCipherParam *, const byte *, size_t) |
| Prototype definition for an initialization vector setup function. More...
|
|
typedef int(* | blockCipherRawcrypt) (blockCipherParam *, uint32_t *, const uint32_t *) |
| Prototype for a raw encryption or decryption function. More...
|
|
typedef int(* | blockCipherModcrypt) (blockCipherParam *, uint32_t *, const uint32_t *, unsigned int) |
| Prototype for a encryption or decryption function which operates on multiple blocks in a certain mode. More...
|
|
typedef uint32_t *(* | blockCipherFeedback) (blockCipherParam *) |
|
|
int | entropySourceCount (void) |
| This function returns the number of entropy sources implemented by the library. More...
|
|
const entropySource * | entropySourceGet (int n) |
| This function returns the n -th entropy source implemented by the library. More...
|
|
const entropySource * | entropySourceFind (const char *name) |
| This function returns the entropy source specified by the given name. More...
|
|
const entropySource * | entropySourceDefault (void) |
| This functions returns the default entropy source; the default value can be specified by setting environment variable BEECRYPT_ENTROPY. More...
|
|
int | entropyGatherNext (byte *, size_t) |
| This function gathers size bytes of entropy into data. More...
|
|
int | randomGeneratorCount (void) |
|
const randomGenerator * | randomGeneratorGet (int) |
|
const randomGenerator * | randomGeneratorFind (const char *) |
|
const randomGenerator * | randomGeneratorDefault (void) |
|
int | randomGeneratorContextInit (randomGeneratorContext *, const randomGenerator *) |
|
int | randomGeneratorContextFree (randomGeneratorContext *) |
|
int | randomGeneratorContextNext (randomGeneratorContext *, byte *, size_t) |
|
int | randomGeneratorContextSeed (randomGeneratorContext *, const byte *, size_t) |
|
int | hashFunctionCount (void) |
|
const hashFunction * | hashFunctionGet (int) |
|
const hashFunction * | hashFunctionFind (const char *) |
|
const hashFunction * | hashFunctionDefault (void) |
|
int | hashFunctionContextInit (hashFunctionContext *, const hashFunction *) |
|
int | hashFunctionContextFree (hashFunctionContext *) |
|
int | hashFunctionContextReset (hashFunctionContext *) |
|
int | hashFunctionContextUpdate (hashFunctionContext *, const byte *, size_t) |
|
int | hashFunctionContextUpdateMC (hashFunctionContext *, const memchunk *) |
|
int | hashFunctionContextUpdateMP (hashFunctionContext *, const mpnumber *) |
|
int | hashFunctionContextDigest (hashFunctionContext *, byte *) |
|
int | hashFunctionContextDigestMP (hashFunctionContext *, mpnumber *) |
|
int | hashFunctionContextDigestMatch (hashFunctionContext *, const mpnumber *) |
|
int | keyedHashFunctionCount (void) |
|
const keyedHashFunction * | keyedHashFunctionGet (int) |
|
const keyedHashFunction * | keyedHashFunctionFind (const char *) |
|
const keyedHashFunction * | keyedHashFunctionDefault (void) |
|
int | keyedHashFunctionContextInit (keyedHashFunctionContext *, const keyedHashFunction *) |
|
int | keyedHashFunctionContextFree (keyedHashFunctionContext *) |
|
int | keyedHashFunctionContextSetup (keyedHashFunctionContext *, const byte *, size_t) |
|
int | keyedHashFunctionContextReset (keyedHashFunctionContext *) |
|
int | keyedHashFunctionContextUpdate (keyedHashFunctionContext *, const byte *, size_t) |
|
int | keyedHashFunctionContextUpdateMC (keyedHashFunctionContext *, const memchunk *) |
|
int | keyedHashFunctionContextUpdateMP (keyedHashFunctionContext *, const mpnumber *) |
|
int | keyedHashFunctionContextDigest (keyedHashFunctionContext *, byte *) |
|
int | keyedHashFunctionContextDigestMP (keyedHashFunctionContext *, mpnumber *) |
|
int | keyedHashFunctionContextDigestMatch (keyedHashFunctionContext *, const mpnumber *) |
|
int | blockCipherCount (void) |
| This function returns the number of blockciphers implemented by the library. More...
|
|
const blockCipher * | blockCipherGet (int) |
| This function returns the n -th blockcipher implemented by the library. More...
|
|
const blockCipher * | blockCipherFind (const char *) |
| This function returns the blockcipher specified by the given name. More...
|
|
const blockCipher * | blockCipherDefault (void) |
| This functions returns the default blockcipher; the default value can be specified by setting environment variable BEECRYPT_CIPHER. More...
|
|
int | blockCipherContextInit (blockCipherContext *, const blockCipher *) |
|
int | blockCipherContextSetup (blockCipherContext *, const byte *, size_t, cipherOperation) |
|
int | blockCipherContextSetIV (blockCipherContext *, const byte *) |
|
int | blockCipherContextSetCTR (blockCipherContext *, const byte *, size_t) |
|
int | blockCipherContextFree (blockCipherContext *) |
|
int | blockCipherContextECB (blockCipherContext *, uint32_t *, const uint32_t *, int) |
|
int | blockCipherContextCBC (blockCipherContext *, uint32_t *, const uint32_t *, int) |
|
int | blockCipherContextCTR (blockCipherContext *, uint32_t *, const uint32_t *, int) |
|
int | blockCipherContextValidKeylen (blockCipherContext *, size_t) |
|
BeeCrypt API, headers.
These API functions provide an abstract way for using most of the various algorithms implemented by the library.
- Author
- Bob Deblier bob.d.nosp@m.ebli.nosp@m.er@te.nosp@m.lene.nosp@m.t.be