libcoap 4.3.5-develop-dfd5545
Loading...
Searching...
No Matches
coap_sha1.c File Reference

SHA-1 handling functions. More...

Include dependency graph for coap_sha1.c:

Go to the source code of this file.

Macros

#define SHA1CircularShift(bits, word)

Functions

void SHA1PadMessage (SHA1Context *)
void SHA1ProcessMessageBlock (SHA1Context *)
int SHA1Reset (SHA1Context *context)
int SHA1Result (SHA1Context *context, uint8_t Message_Digest[SHA1HashSize])
int SHA1Input (SHA1Context *context, const uint8_t *message_array, unsigned length)

Detailed Description

SHA-1 handling functions.

Definition in file coap_sha1.c.

Macro Definition Documentation

◆ SHA1CircularShift

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

Definition at line 77 of file coap_sha1.c.

Function Documentation

◆ SHA1Input()

int SHA1Input ( SHA1Context * context,
const uint8_t * message_array,
unsigned length )

Definition at line 193 of file coap_sha1.c.

Here is the call graph for this function:

◆ SHA1PadMessage()

void SHA1PadMessage ( SHA1Context * context)

Definition at line 360 of file coap_sha1.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SHA1ProcessMessageBlock()

void SHA1ProcessMessageBlock ( SHA1Context * context)

Definition at line 256 of file coap_sha1.c.

Here is the caller graph for this function:

◆ SHA1Reset()

int SHA1Reset ( SHA1Context * context)

Definition at line 100 of file coap_sha1.c.

◆ SHA1Result()

int SHA1Result ( SHA1Context * context,
uint8_t Message_Digest[SHA1HashSize] )

Definition at line 141 of file coap_sha1.c.

Here is the call graph for this function: