cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Macros | Functions
ctx_sha.c File Reference
#include "crypt.h"
#include "context/context.h"
#include "crypt/sha.h"

Go to the source code of this file.

Macros

#define HASH_STATE_SIZE   sizeof( SHA_CTX )
 

Functions

CHECK_RETVAL STDC_NONNULL_ARG ((3))
 
void shaHashBuffer (HASHINFO hashInfo, BYTE *outBuffer, const int outBufMaxLength, const void *inBuffer, const int inLength, const HASH_STATE hashState)
 
void shaHashBufferAtomic (BYTE *outBuffer, const int outBufMaxLength, const void *inBuffer, const int inLength)
 
const CAPABILITY_INFOgetSHA1Capability (void)
 

Macro Definition Documentation

#define HASH_STATE_SIZE   sizeof( SHA_CTX )

Definition at line 18 of file ctx_sha.c.

Function Documentation

const CAPABILITY_INFO* getSHA1Capability ( void  )

Definition at line 205 of file ctx_sha.c.

void shaHashBuffer ( HASHINFO  hashInfo,
BYTE outBuffer,
const int  outBufMaxLength,
const void *  inBuffer,
const int  inLength,
const HASH_STATE  hashState 
)

Definition at line 136 of file ctx_sha.c.

void shaHashBufferAtomic ( BYTE outBuffer,
const int  outBufMaxLength,
const void *  inBuffer,
const int  inLength 
)

Definition at line 175 of file ctx_sha.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (3)  )

Definition at line 81 of file ctx_sha.c.

Variable Documentation

const char FAR_BSS* data

Definition at line 33 of file ctx_sha.c.

Definition at line 35 of file ctx_sha.c.

const int length

Definition at line 34 of file ctx_sha.c.