Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

sha.h File Reference


Detailed Description

IPRT - SHA1 digest creation

Definition in file sha.h.

#include <iprt/types.h>

Go to the source code of this file.

Classes

union  RTSHA1CONTEXT
union  RTSHA256CONTEXT
union  RTSHA512CONTEXT

Defines

#define RTSHA1_DIGEST_LEN   (40+1)
#define RTSHA1_HASH_SIZE   20
#define RTSHA256_DIGEST_LEN   64
#define RTSHA256_HASH_SIZE   32
#define RTSHA512_HASH_SIZE   64
#define RTSHA512_STRING_LEN   128

Typedefs

typedef RTSHA1CONTEXTPRTSHA1CONTEXT
typedef RTSHA256CONTEXTPRTSHA256CONTEXT
typedef RTSHA512CONTEXTPRTSHA512CONTEXT

Functions

 RTDECL (int) RTSha1ToString(uint8_t const pabDigest[RTSHA1_HASH_SIZE]
 RTDECL (void) RTSha1(const void *pvBuf
 RTR3DECL (int) RTSha1Digest(const char *pszFile

Variables

size_t cbBuf
char size_t cchDigest
size_t uint8_t pabDigest [RTSHA1_HASH_SIZE]
char ** ppszDigest
char * pszDigest
const void * pvBuf


Generated by  Doxygen 1.6.0   Back to index