Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sha2.h File Reference
#include "apr.h"
Include dependency graph for sha2.h:

Go to the source code of this file.

Data Structures

struct  _SHA256_CTX
 

Macros

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

Typedefs

typedef struct _SHA256_CTX SHA256_CTX
 

Functions

void apr__SHA256_Init (SHA256_CTX *)
 
void apr__SHA256_Update (SHA256_CTX *, const apr_byte_t *, size_t)
 
void apr__SHA256_Final (apr_byte_t[SHA256_DIGEST_LENGTH], SHA256_CTX *)
 
char * apr__SHA256_End (SHA256_CTX *, char[SHA256_DIGEST_STRING_LENGTH])
 
char * apr__SHA256_Data (const apr_byte_t *, size_t, char[SHA256_DIGEST_STRING_LENGTH])
 

Macro Definition Documentation

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

Typedef Documentation

typedef struct _SHA256_CTX SHA256_CTX

Function Documentation

char* apr__SHA256_Data ( const apr_byte_t ,
size_t  ,
char  [SHA256_DIGEST_STRING_LENGTH] 
)
char* apr__SHA256_End ( SHA256_CTX ,
char  [SHA256_DIGEST_STRING_LENGTH] 
)
void apr__SHA256_Final ( apr_byte_t  [SHA256_DIGEST_LENGTH],
SHA256_CTX  
)
void apr__SHA256_Init ( SHA256_CTX )
void apr__SHA256_Update ( SHA256_CTX ,
const apr_byte_t ,
size_t   
)