libcoap 4.3.5-develop-72190a8
|
Provides SHA1 support for WebSockets. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | SHA1Context |
Macros | |
#define | _SHA_enum_ |
#define | SHA1HashSize 20 |
Typedefs | |
typedef struct SHA1Context | SHA1Context |
Enumerations | |
enum | { shaSuccess = 0 , shaNull , shaInputTooLong , shaStateError } |
Functions | |
int | SHA1Reset (SHA1Context *) |
int | SHA1Input (SHA1Context *, const uint8_t *, unsigned int) |
int | SHA1Result (SHA1Context *, uint8_t Message_Digest[SHA1HashSize]) |
Provides SHA1 support for WebSockets.
Definition in file coap_sha1_internal.h.
#define _SHA_enum_ |
Definition at line 72 of file coap_sha1_internal.h.
#define SHA1HashSize 20 |
Definition at line 80 of file coap_sha1_internal.h.
typedef struct SHA1Context SHA1Context |
anonymous enum |
Enumerator | |
---|---|
shaSuccess | |
shaNull | |
shaInputTooLong | |
shaStateError |
Definition at line 73 of file coap_sha1_internal.h.
int SHA1Input | ( | SHA1Context * | , |
const uint8_t * | , | ||
unsigned int | |||
) |
int SHA1Reset | ( | SHA1Context * | ) |
int SHA1Result | ( | SHA1Context * | , |
uint8_t | Message_Digest[SHA1HashSize] | ||
) |