tin  2.4.5
About: TIN is a threaded NNTP and spool based UseNet newsreader.
  Fossies Dox: tin-2.4.5.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

usha.c File Reference
#include "sha.h"
Include dependency graph for usha.c:

Go to the source code of this file.


int USHAReset (USHAContext *context, enum SHAversion whichSha)
int USHAInput (USHAContext *context, const uint8_t *bytes, unsigned int bytecount)
int USHAFinalBits (USHAContext *context, uint8_t bits, unsigned int bit_count)
int USHAResult (USHAContext *context, uint8_t Message_Digest[USHAMaxHashSize])
int USHABlockSize (enum SHAversion whichSha)
int USHAHashSize (enum SHAversion whichSha)
const char * USHAHashName (enum SHAversion whichSha)

Function Documentation

◆ USHABlockSize()

◆ USHAFinalBits()

int USHAFinalBits ( USHAContext context,
uint8_t  bits,
unsigned int  bit_count 

◆ USHAHashName()

const char* USHAHashName ( enum SHAversion  whichSha)

Definition at line 272 of file usha.c.

References SHA1, SHA224, SHA256, SHA384, and SHA512.

◆ USHAHashSize()

int USHAHashSize ( enum SHAversion  whichSha)

◆ USHAInput()

int USHAInput ( USHAContext context,
const uint8_t *  bytes,
unsigned int  bytecount 

◆ USHAReset()

int USHAReset ( USHAContext context,
enum SHAversion  whichSha 

◆ USHAResult()

int USHAResult ( USHAContext context,
uint8_t  Message_Digest[USHAMaxHashSize]