libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sha2_internal.h File Reference
#include <sys/types.h>
Include dependency graph for sha2_internal.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  _SHA256_CTX
 
struct  _SHA512_CTX
 

Macros

#define SHA256_BLOCK_LENGTH   64
 
#define SHA256_DIGEST_LENGTH   32
 
#define SHA256_DIGEST_STRING_LENGTH   (SHA256_DIGEST_LENGTH * 2 + 1)
 
#define SHA384_BLOCK_LENGTH   128
 
#define SHA384_DIGEST_LENGTH   48
 
#define SHA384_DIGEST_STRING_LENGTH   (SHA384_DIGEST_LENGTH * 2 + 1)
 
#define SHA512_BLOCK_LENGTH   128
 
#define SHA512_DIGEST_LENGTH   64
 
#define SHA512_DIGEST_STRING_LENGTH   (SHA512_DIGEST_LENGTH * 2 + 1)
 

Typedefs

typedef struct _SHA256_CTX SHA256_CTX
 
typedef SHA512_CTX SHA384_CTX
 
typedef struct _SHA512_CTX SHA512_CTX
 

Functions

char * SHA256_Data (const u_int8_t *, size_t, char[(32 *2+1)])
 
char * SHA256_End (SHA256_CTX *, char[(32 *2+1)])
 
void SHA256_Final (u_int8_t[32], SHA256_CTX *)
 
void SHA256_Init (SHA256_CTX *)
 
void SHA256_Update (SHA256_CTX *, const u_int8_t *, size_t)
 
char * SHA384_Data (const u_int8_t *, size_t, char[(48 *2+1)])
 
char * SHA384_End (SHA384_CTX *, char[(48 *2+1)])
 
void SHA384_Final (u_int8_t[48], SHA384_CTX *)
 
void SHA384_Init (SHA384_CTX *)
 
void SHA384_Update (SHA384_CTX *, const u_int8_t *, size_t)
 
char * SHA512_Data (const u_int8_t *, size_t, char[(64 *2+1)])
 
char * SHA512_End (SHA512_CTX *, char[(64 *2+1)])
 
void SHA512_Final (u_int8_t[64], SHA512_CTX *)
 
void SHA512_Init (SHA512_CTX *)
 
void SHA512_Update (SHA512_CTX *, const u_int8_t *, size_t)
 

Macro Definition Documentation

#define SHA256_BLOCK_LENGTH   64
#define SHA256_DIGEST_LENGTH   32
#define SHA256_DIGEST_STRING_LENGTH   (SHA256_DIGEST_LENGTH * 2 + 1)
#define SHA384_BLOCK_LENGTH   128
#define SHA384_DIGEST_LENGTH   48
#define SHA384_DIGEST_STRING_LENGTH   (SHA384_DIGEST_LENGTH * 2 + 1)
#define SHA512_BLOCK_LENGTH   128
#define SHA512_DIGEST_LENGTH   64
#define SHA512_DIGEST_STRING_LENGTH   (SHA512_DIGEST_LENGTH * 2 + 1)

Typedef Documentation

typedef struct _SHA256_CTX SHA256_CTX
typedef struct _SHA512_CTX SHA512_CTX

Function Documentation

char* SHA256_Data ( const u_int8_t *  ,
size_t  ,
char  [(32 *2+1)] 
)
char* SHA256_End ( SHA256_CTX ,
char  [(32 *2+1)] 
)
void SHA256_Final ( u_int8_t  [32],
SHA256_CTX  
)

Referenced by SHA256Summation::Result().

Here is the caller graph for this function:

void SHA256_Init ( SHA256_CTX )

Referenced by SHA256Summation::SHA256Summation().

Here is the caller graph for this function:

void SHA256_Update ( SHA256_CTX ,
const u_int8_t *  ,
size_t   
)

Referenced by SHA256Summation::Add().

Here is the caller graph for this function:

char* SHA384_Data ( const u_int8_t *  ,
size_t  ,
char  [(48 *2+1)] 
)
char* SHA384_End ( SHA384_CTX ,
char  [(48 *2+1)] 
)
void SHA384_Final ( u_int8_t  [48],
SHA384_CTX  
)
void SHA384_Init ( SHA384_CTX )
void SHA384_Update ( SHA384_CTX ,
const u_int8_t *  ,
size_t   
)
char* SHA512_Data ( const u_int8_t *  ,
size_t  ,
char  [(64 *2+1)] 
)
char* SHA512_End ( SHA512_CTX ,
char  [(64 *2+1)] 
)
void SHA512_Final ( u_int8_t  [64],
SHA512_CTX  
)

Referenced by SHA512Summation::Result().

Here is the caller graph for this function:

void SHA512_Init ( SHA512_CTX )

Referenced by SHA512Summation::SHA512Summation().

Here is the caller graph for this function:

void SHA512_Update ( SHA512_CTX ,
const u_int8_t *  ,
size_t   
)

Referenced by SHA512Summation::Add().

Here is the caller graph for this function: