RTEMS 6.3
Loading...
Searching...
No Matches
sha256.h File Reference

This header file contains interfaces of the SHA256 hash algorithm support. More...

#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  SHA256Context

Macros

#define SHA256_BLOCK_LENGTH   64
#define SHA256_DIGEST_LENGTH   32
#define SHA256_DIGEST_STRING_LENGTH   (SHA256_DIGEST_LENGTH * 2 + 1)

Typedefs

typedef struct SHA256Context SHA256_CTX

Functions

__BEGIN_DECLS void SHA256_Init (SHA256_CTX *)
void SHA256_Update (SHA256_CTX *, const void *, size_t)
void SHA256_Final (unsigned char[__min_size(SHA256_DIGEST_LENGTH)], SHA256_CTX *)
char * SHA256_End (SHA256_CTX *, char *)
char * SHA256_Data (const void *, unsigned int, char *)
char * SHA256_File (const char *, char *)
char * SHA256_FileChunk (const char *, char *, off_t, off_t)

Detailed Description

This header file contains interfaces of the SHA256 hash algorithm support.