compare.h File Reference

#include <inttypes.h>
#include "cryptoFunctions.h"

Include dependency graph for compare.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef uint32_t usedIntType

Functions

bool isEqual (const char *first, const char *second, int length)
int detectBytes (const char *cryptoMethod, const char *referenceInputBytes, int inputLength, const char *presetIterationBytes, const char *referenceOutputBytes, char *detectedIterationBytes)

Variables

static const int DETECT_BYTES_DETECTED = 1
static const int DETECT_BYTES_NOT_DETECTED = 0
static const int DETECT_BYTES_METHOD_NOT_SUPPORTED = -1
static const int DETECT_BYTES_WRONG_PARAMETER_ERROR = -2
static const int LENGTH_DETECTED_BYTES = sizeof(usedIntType)
static const int LENGTH_GIVEN_BYTES = 3*sizeof(usedIntType)
static const int LENGTH_ITERATION_WORD = LENGTH_DETECTED_BYTES + LENGTH_GIVEN_BYTES


Generated on Wed Jun 25 14:46:45 2008 for keyvil by  doxygen 1.5.1