Defines | Enumerations | Functions

SHA.h File Reference

#include <stdint.h>
Include dependency graph for SHA.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SHA1CircularShift(bits, word)   (((word) << (bits)) | ((word) >> (32-(bits))))

Enumerations

enum  { shSuccess = 0, shNull }

Functions

uint8_t SHA1Block (uint8_t object_type, uint8_t object_copy, uint8_t level, uint32_t seed, uint32_t object_id, uint8_t *Message_Block)
uint8_t SHA1 (uint8_t *Message_Block, uint64_t *Result)

Define Documentation

#define SHA1CircularShift (   bits,
  word 
)    (((word) << (bits)) | ((word) >> (32-(bits))))

Enumeration Type Documentation

anonymous enum
Enumerator:
shSuccess 
shNull 

Function Documentation

uint8_t SHA1 ( uint8_t *  Message_Block,
uint64_t *  Result 
)
uint8_t SHA1Block ( uint8_t  object_type,
uint8_t  object_copy,
uint8_t  level,
uint32_t  seed,
uint32_t  object_id,
uint8_t *  Message_Block 
)